Commit graph

2455 commits

Author SHA1 Message Date
Freaky Mutant Man
932deb0b3f Add ability for shitty signs to display when 1st place finishes while markedfordeath 2025-09-30 17:16:26 -05:00
SteelT
9c6031c986 Camera height affects hud transparency of HUD elements like new lap, position bulb...
Not the most pretty code written as ideally there would be a common codepath, but it's functional.
2025-09-14 22:58:18 -04:00
Lach
cf2ab09845 Hardcode Mushroom Hill Pole (MT_MHPOLE) 2025-08-24 22:58:29 +10:00
Eidolon
7febf53ec0 Merge public master 2025-08-23 11:34:18 -05:00
Chearii
19fdf19eb4 Add baked offset parameters 2025-08-23 11:20:14 -05:00
toaster
d2342a4b9f Kickstart Accel - tick up twice as fast during emergency/TA-start spindash 2025-08-22 15:58:32 +01:00
Eidolon
55388c17c2 Merge public master 2025-08-21 20:43:28 -05:00
JugadorXEI
1e2e833d80 Bot library for Lua (botvars getter/setter, bot functions) 2025-08-22 01:24:13 +00:00
Eidolon
892a6b8620 Merge public master 2025-08-12 16:49:14 -05:00
Eidolon
255570cfca Dynamically allocate skins
This avoids an issue where the skins array takes up a fixed, but large
amount of memory at runtime. On x86_64 linux, that array is roughly 80
megabytes in memory, most of which is unused when the game is unmodded.
Instead, we treat `skins` as a dynamically resizing array, and it is an
array-of-pointers into separate allocated `skin_t`.

This is based on Lactozilla's skin limit MR for SRB2, but I've rewritten
it because RR has diverged quite a bit.

This was verified to check every access of `skins` by using clangd's
find-all-references function. However, I have only tested plain skins,
not Lua addons, so that could afford some extra checking.
2025-08-12 15:33:00 -05:00
Antonio Martinez
e82217c23e More lenient stairjank when moving quickly 2025-08-10 19:32:53 -04:00
Oni VelocitOni
39cb84f06c Merge branch 'ta-decompat' into 'master'
Replay de-compatibility

See merge request kart-krew-dev/ring-racers-internal!2715
2025-08-09 04:12:29 +00:00
Antonio Martinez
015e2f0930 TA: Prevent reset during tally if time is a new best 2025-08-07 21:59:42 -04:00
toaster
841fc2472c Remove all replay backwards compat
- Cleans up codebase in some high density regions
- Prevents crashing on the title screen due to old demos being played before we replace staffghosts
- Guarantees nothing we don't want slips in
2025-08-01 16:39:13 +01:00
Antonio Martinez
26cc66b7d5 Don't respawn from true death if exiting (fixes death position flicker?) 2025-07-23 16:53:58 -04:00
Antonio Martinez
c95add2f55 Fix intermission music when not skipping tally under Relaxed 2025-07-18 16:02:28 -04:00
James R
dd05900bcb Add Toxomister item 2025-07-08 13:30:48 -07:00
Antonio Martinez
1d4e497954 In GP, award 20 rings for finishing while outrunning the SPB 2025-06-26 23:10:10 -04:00
Oni VelocitOni
82ea18865c Merge branch 'battle-fixups' into 'master'
Battle fixups

Closes #1382

See merge request kart-krew-dev/ring-racers-internal!2647
2025-06-27 00:47:41 +00:00
Oni VelocitOni
858973586b Merge branch 'splitscreen-camera-height-patch' into 'master'
Splitscreen flatmap camera height 3/4 (75%) -> 17/20 (85%)

See merge request kart-krew-dev/ring-racers-internal!2633
2025-06-26 19:48:09 +00:00
Antonio Martinez
dd0b9a97fc Longer bufo invinc, decreases always 2025-06-25 14:59:22 -04:00
Ashnal
f5aa2a701b Bail button
Transforms BT_RESPAWN into BT_BAIL
User bindings should migrate along with this
Respawn is now EBRAKE+BAIL
Respawn blocks LOOKBACK
Time Attack quick respawn is now VOTE
2025-06-23 18:07:59 -04:00
Antonio Martinez
ce77568087 Bubble refinements 2025-06-20 20:29:03 -04:00
eebrozgi
6b0dd78d61 13/16 -> 17/20
FUMBLED MY MATH, NEVERMIND
2025-06-18 15:40:37 +03:00
eebrozgi
21929bb111 Splitscreen flatmap camera height 3/4 -> 13/16 2025-06-18 15:17:34 +03:00
eebrozgi
98bacdeafe Splitscreen flatmap camera height 3/4 -> 5/6
The camera tilting upwards in motion was a bigger deal than I originally noticed; splitscreen camera height adjusted accordingly.
2025-06-18 14:43:31 +03:00
SteelT
a96fe4e2d0 Merge branch 'splitscreen-camera-height' into 'master'
2-player splitscreen flat map camera height fix

Closes #1567

See merge request kart-krew-dev/ring-racers-internal!2630
2025-06-15 21:08:16 -04:00
eebrozgi
9db2da65a6 2p splitscreen camera height fix
When 2p splitscreen is active, only use 75% of map-specific camera heights.
2025-06-12 02:19:16 +03:00
James R
4e6c501888 Add Stone Shoe states
- Cvars
  - stoneshoe
- Items enum
  - KITEM_STONESHOE
  - KDROP_STONESHOETRAP
- Player vars
  - stonedrag (fixed_t)
  - stoneShoe (mobj pointer)
- States
  - S_STON
- Mobjs
  - MT_STONESHOE
  - MT_STONESHOE_CHAIN
- Sprites
  - STON
2025-06-10 16:40:06 -07:00
Oni VelocitOni
eaffcb2492 Merge branch 'bot-grip' into 'master'
Bot grip

See merge request kart-krew-dev/ring-racers-internal!2568
2025-06-06 04:08:20 +00:00
Antonio Martinez
77ecab8464 Review fixups 2025-06-04 01:43:10 -04:00
Oni VelocitOni
f622b72984 Merge branch 'sliptide-fuck' into 'master'
Fix edge cases in turn solver sliptide preservation

See merge request kart-krew-dev/ring-racers-internal!2613
2025-06-04 02:26:33 +00:00
James R
f5a4f079ec Fix ice cubes taking away ring boost, do not consider ice cube a pain state
I found no reason these should be a pain state
2025-06-03 16:40:25 -07:00
James R
cac7903bdf Fix Turbines taking away ring boost, rotate player sprite without setting spinouttimer 2025-06-03 16:40:25 -07:00
AJ Martinez
8c463d47b9 Merge remote-tracking branch 'origin/master' into bot-grip 2025-06-03 13:02:10 -04:00
Antonio Martinez
2e57dd6212 Fix edge cases in turn solver sliptide preservation 2025-06-02 23:01:41 -04:00
eebrozgi
6c790348b3 Rocket sneaker boost type separated from normal sneaker
monkey copypaste
2025-06-02 20:17:46 +03:00
Antonio Martinez
9c07bd3ca8 Margin Boost UI psychosis 2025-05-29 19:11:32 -04:00
Antonio Martinez
28f12acab1 Merge remote-tracking branch 'origin/master' into duel 2025-05-24 16:34:36 -04:00
Oni VelocitOni
c3a0439f7e Merge branch 'offline-drift-exit' into 'master'
Disallow drift exit help on D0

Closes #1512

See merge request kart-krew-dev/ring-racers-internal!2543
2025-05-24 19:11:59 +00:00
Antonio Martinez
219f8d74a0 Bot grip experiment 2025-05-22 16:35:53 -04:00
Antonio Martinez
14c115fa36 Do something useful lmao 2025-05-22 13:57:08 -04:00
Antonio Martinez
9a23bde435 Don't increase karted time when faulted 2025-05-20 18:48:21 -04:00
Oni VelocitOni
ae962c4d14 Merge branch 'ta24' into 'master'
2.4 TA refinements mkII

Closes #1507 and #1508

See merge request kart-krew-dev/ring-racers-internal!2532
2025-05-18 22:12:47 +00:00
Antonio Martinez
0bb8684142 Merge remote-tracking branch 'origin/master' into ta24 2025-05-18 14:30:14 -04:00
SteelT
b98b4dda5f Add CameraHeight level header option for forcing the player's camera to be at a certain height.
CamHeight can also be used as a shorter alternative to it.
2025-05-17 22:30:33 -04:00
Antonio Martinez
a0fce69e11 Disallow drift exit help on D0 2025-05-16 20:33:51 -04:00
Antonio Martinez
7ac26760b7 Reenable solver angle cheats 2025-05-13 15:30:18 -04:00
Antonio Martinez
cacf470f6f 2.4 TA refinements mkII 2025-05-12 17:18:14 -04:00
AJ Martinez
06f019f894 Reenable drift easing disable 2025-05-03 21:51:58 -04:00