Commit graph

535 commits

Author SHA1 Message Date
NepDisk
630b75a504 P_DoPlayerExit changes
12ecb1f7a4
2025-09-30 00:01:05 -04:00
NepDisk
bc4fb8a9c6 Merge pull request '[FEAT] Vectors matrices quaternions' (#117) from vectors-matrices-quaternions into blankart-dev
Reviewed-on: https://codeberg.org/NepDisk/blankart/pulls/117
2025-09-24 18:28:38 +02:00
NepDisk
9df538fe32 Merge branch 'blankart-dev' into AirDrop 2025-09-22 15:35:20 -04:00
Anonimus
fb5b72a600 Add bumpspark as a TA modifier
Also a bunch of other things in relation to that
Kart mode has bumpspark off, Blan mode uses "keep drift, lose charge", and Tech has bumpspark enabled
2025-09-22 02:04:03 -04:00
NepDisk
78a9947662 Merge branch 'blankart-dev' into AirDrop 2025-09-20 14:01:38 -04:00
Lactozilla
3b489df3db Fix SRB2 1393 (Nep: also flats and brightmap support Thx lug) (Closes #115) 2025-09-20 13:43:35 -04:00
NepDisk
ffa7850bb6 AirDrop Starting Commit
This introduces a new optional feature called Airdropping. When holding brake in the air you will start to fall faster. If you have rings active and have rings on you, you Ring Drop to fall even faster and with less delay. The ringboost output from this move is weaker then using rings normally making it so always using ring drop isn't the best play
2025-09-20 00:41:08 -04:00
LJ Sonic
18d54fc07b Implement vectors, matrices and quaternions 2025-09-17 22:27:36 -04:00
NepDisk
eef0d966a3 Allow Lua to add new scoreboard mods
This is just how HostMod does it, so this doesn't need networking
2025-09-03 20:27:08 -04:00
GenericHeroGuy
bc4408b203 Expose botdata stuff to Lua 2025-08-31 20:40:24 +02:00
JugadorXEI
dc9bec000a Bot library for Lua (botvars getter/setter, bot functions) 2025-08-31 14:16:49 +02:00
GenericHeroGuy
aa1ccafaea Use G_GamestateUsesLevel everywhere (and actually use levelloaded) 2025-08-27 22:03:05 +02:00
NepDisk
9d0c396c2d Implement Drafting toggle
This is based on an older version of tether with number tweaks and a visual overhal designed to fit our needs. Takes some inspiration from the open assets slipstream mod from v1 for some number tweaks and the visual aspect. The speedboost has been rebalanced to be stronger for low speeds than before in a way where low speeds don't get shafted nor do they overshine high speed. High weight has had its leniency nerfed and general radius has been lowered to 2560 from 3072.
2025-08-25 17:03:00 -04:00
NepDisk
2ccaefd9b0 Try some things to reduce rng biases
This with no PRNG classes: 492c068cdd
2025-08-24 11:36:24 -04:00
NepDisk
a171d5a61a Show Music credits across more places. 2025-08-21 16:50:20 -04:00
Gustaf Alhäll
fcb20bbdd4 Fix broken scripts that rely on P_GetMobjGravity without gravity 2025-08-16 08:31:00 -04:00
NepDisk
478feacd3a Miscellaneous OpenGL Fixes
Cherry-pick of https://git.do.srb2.org/STJr/SRB2/-/merge_requests/2721 and also some base srb2 helper functions
2025-08-13 12:04:44 -04:00
NepDisk
0dc7f87b7e Rework loops to be better then they previously were here 2025-08-12 20:32:15 -04:00
NepDisk
2d57e09fae Waypoints library for Lua
https://git.do.srb2.org/KartKrew/RingRacers/-/merge_requests/81
2025-08-11 18:02:27 -04:00
JugadorXEI
bffc25f198 Expose loop variables to Lua (get only)
Nep Note: Had to adjust a bit of this to account for the fact player_t grabbing isn't ass anymore
2025-08-11 17:20:18 -04:00
NepDisk
d164d97fc0 Fix Alt invin conflict with rings and expose some of it to lua 2025-08-02 13:04:04 -04:00
NepDisk
6d6c0f54a5 Hardcode slopeboost
Ported and based on the slopeboost from booststack by indev
2025-07-21 21:12:02 -04:00
GenericHeroGuy
792bb65e9e Add compat for old P_SetScale behavior, fixes Malicious Metropolis 2025-07-21 18:13:37 +02:00
NepDisk
af6e43dcd8 Improve accuracy of movement code even more 2025-07-03 22:56:59 -04:00
NepDisk
2f84779d41 Update rest of the existing files to use blankart branding 2025-07-01 00:23:30 -04:00
NepDisk
c1ca05c6c5 Adjust some stuff to accout for how the map header toggle works 2025-06-02 15:11:39 -04:00
NepDisk
b087b5e372 Port JugadorXEI's Terrain library for Lua
Credits go to JugadorXEI for the code in this. https://git.do.srb2.org/KartKrew/RingRacers/-/merge_requests/103\#d1c6f6fa1ba8207cb6aaef9f4a47d9a0b6b8b5c1

Modifications have been made to account for extra terrainflags, new terraintypes and removal of Ring Racers specfic types
2025-06-02 14:38:33 -04:00
NepDisk
1ef87baf3f refactor kartspeed code and add respawn point safety 2025-05-12 22:25:11 -04:00
NepDisk
9584982685 Revert Rewrite mines
As much as this pains me, this might be needed for lua compat.

This reverts commit 1381a56077.
2025-04-29 18:10:57 -04:00
NepDisk
105eb85bd3 Get rings from any itembox, expose more functions to lua and battle related things 2025-04-21 19:56:04 -04:00
NepDisk
1d1f697f2f Compat changes for TOLs 2025-04-15 16:39:19 -04:00
NepDisk
f2bb124ab7 Fix TSR in compatmode 2025-04-13 10:50:36 -04:00
NepDisk
9cd4294c21 TA support for extra game toggles 2025-04-10 19:53:44 -04:00
NepDisk
2e2b90f843 Finalize Cvar and push check to lua 2025-03-31 14:04:06 -04:00
NepDisk
945704849f stacking part 6: Implement customization cvars 2025-03-26 13:35:26 -04:00
NepDisk
0ae44e0fa0 stacking pt.4: Finish Chaining
Again thanks to Indev for helping me figure out why the last tick wouldn't deincrement
2025-03-25 19:14:40 -04:00
NepDisk
f0b6ef89eb stacking pt.3: start work on chaining 2025-03-25 18:03:39 -04:00
NepDisk
7091195a95 stacking pt.2: finish stacking 2025-03-25 15:07:20 -04:00
NepDisk
077b34b37f Make legacy waypoint helper and expose K_RingsActive and K_UsingLegacyCheckpoints to lua 2025-03-10 19:14:35 -04:00
GenericHeroGuy
8a51847fb1 Y'know what? Just make these functions one-based, sheesh 2025-03-03 21:18:07 +01:00
GenericHeroGuy
1025ac59bd Translate MapLoad/MapChange and implicit gamemap argument 2025-03-03 19:03:36 +01:00
GenericHeroGuy
ebea1395d4 Map number compatmode 2025-03-03 01:28:51 +01:00
NepDisk
b0bbf07bdb Custom gametype and gametyperules additions
Many new options have been added.

You can now specify "menucolor" when creating a gametype. This accepts a V_ colorchar flag (IE V_PURPLEMAP) and will be used to color hud elements in menus and on the HUD.

Encore is now controlled by GTR_ENCORE. This allows for custom modes that don't accept encore.

Itemodds are now controlled by GTR_RACEODDS and GTR_BATTLEODDS respectively. If neither is specified on gametype creation, completely random items will be rolled.

General GTR_FREEROAM adjustments
2025-03-02 11:41:30 -05:00
NepDisk
064be1b201 Merge branch 'bortsport' into blankart-dev 2025-02-26 19:43:22 -05:00
NepDisk
c6daa4da80 Revert 'New solid object bouncing, and updated player bouncing'
This reverts commit 5ac5ca89d0.
2025-02-23 18:04:20 -05:00
NepDisk
51154e346c rename tm to g_tm to fix C conflict 2025-02-22 01:24:53 -05:00
GenericHeroGuy
48204a5ba7 Sprite frame/char compatibility 2025-02-20 00:32:31 +01:00
NepDisk
24c0d8086a Make respawn function shut up and expose it to lua 2025-02-18 17:51:08 -05:00
toaster
b92c125928 I_Error in all situations where mapheaders were previously allocated outside of SOC.
Also:
- improved error prints for SOC condition definitions
- improved bounds checking to use `nummapheaders` for iterating over mapheaderinfo
There are still situations that use NUMMAPS like mapvisited, randmapbuffer, etc, which need to be addressed before merger.
2025-02-11 01:52:05 +01:00
NepDisk
3350b02cc8 Long Map Names Port pt 1. 2025-02-05 17:46:21 -05:00