Commit graph

1376 commits

Author SHA1 Message Date
Eidolon
ffc1300146 Fix indeterminate behavior from RNG use in function argument lists 2025-08-30 18:39:34 -05:00
toaster
8ccf5f3b89 Shuffle some of player death handling in p_inter.c around
Permits a dying player to have its wavedash indicator actually removed (was made very obvious by the new sliptide segment in Drifting)
2025-08-28 20:10:07 +01:00
Oni VelocitOni
15390c97d0 Merge branch 'extended-whip-whiff' into 'master'
Extended Insta-Whip punish window

See merge request kart-krew-dev/ring-racers-internal!2758
2025-08-25 05:31:27 +00:00
Oni VelocitOni
487b7c0bb3 Merge branch 'stone-shoe-crash' into 'master'
Fix Stone Shoe damage downgrade crash

Closes #1640

See merge request kart-krew-dev/ring-racers-internal!2761
2025-08-25 02:19:31 +00:00
Ashnal
128b2e548c Fix Stone Shoe damage downgrade crash 2025-08-24 09:28:16 -04:00
Lach
cf2ab09845 Hardcode Mushroom Hill Pole (MT_MHPOLE) 2025-08-24 22:58:29 +10:00
Antonio Martinez
bfda339538 Extended Insta-Whip punish window 2025-08-24 03:35:15 -04:00
toaster
435b3b8f09 Ring Item Capsule adjustments for Items Tutorial
- A first argument of `0` (default id) does existing automatic Ring-feeding behaviour with a new graphic
- A first argument of `19` (super ring hardcoded id) gives a Super Ring item
- Applies to all courses, so before merger all maps need to be checked if doomednum 2010 has a first argument of 19 in any existing maps
2025-08-19 20:55:09 +01: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
Lach
bbe231e994 Add Ancient Gear object type & unlock type 2025-08-10 01:51:34 +10:00
toaster
d63d0279e6 Falling into infinite shrinkage in death pit should not do drift/tumble sounds/bounces
Discovered while testing Atlantis with improved spike behaviour
2025-08-01 15:08:46 +01:00
James R
8b60da0075 Stone Shoe: tumble damage is always downgraded (less bounces, no item loss) 2025-07-22 22:07:06 -07:00
Antonio Martinez
a0cd78eb7a Disable instant last place explode in Relaxed 2025-07-18 15:40:24 -04:00
James R
dd05900bcb Add Toxomister item 2025-07-08 13:30:48 -07:00
Antonio Martinez
4241612ba2 Fix PF2_ALWAYSDAMAGED check always being true, disabling invinc/clash 2025-07-01 20:14:08 -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
bb3c99cff9 Merge branch 'inert-wumbo' into 'master'
Sakura protection (NEO damage rules)

Closes #1553

See merge request kart-krew-dev/ring-racers-internal!2637
2025-06-26 23:06:04 +00:00
Oni VelocitOni
39b5f81922 Merge branch 'bail' into 'master'
Bail and Burst

See merge request kart-krew-dev/ring-racers-internal!2635
2025-06-26 00:37:36 +00:00
Antonio Martinez
dfaece7d3d Do guardbreak in touchdamage, guarantee punish (PF2_ALWAYSDAMAGED) 2025-06-25 16:26:56 -04:00
Lach
d58414b440 Don't apply any stunned tics on ring sting (but for real this time) 2025-06-25 14:12:11 -04:00
Lach
f24a5db5d2 Don't apply any stunned tics on ring sting 2025-06-25 14:12:10 -04:00
Lach
2c11aa36c3 Move stunned timer calculations from P_DamageMobj into K_ApplyStun 2025-06-25 14:12:10 -04:00
Lach
9ee69ec1db Track player Flybot767 spawns using a mobj pointer instead of a flag in the stunned timer 2025-06-25 14:12:10 -04:00
Antonio Martinez
63c654c68c Check for inflictor in stationary object combo 2025-06-23 18:47:36 -04:00
Antonio Martinez
2ec203822f Sakura protection (NEO damage rules) 2025-06-23 18:47:36 -04:00
Ashnal
3146110d08 bailcharge player var 2025-06-23 18:07:17 -04:00
AJ Martinez
92e4bb5909 Bail refinement 2025-06-23 18:07:16 -04:00
AJ Martinez
aa44b140e2 WIP: Bail 2025-06-23 18:07:16 -04:00
Ashnal
a6a4170f9b Forward thrown landmines will tumble the player less forcefully and not drop items while still in motion 2025-06-14 19:18:53 -04:00
James R
6d80b741ae Add Stone Shoe 2025-06-10 16:41:54 -07:00
eebrozgi
6c790348b3 Rocket sneaker boost type separated from normal sneaker
monkey copypaste
2025-06-02 20:17:46 +03:00
Ashnal
cdc49d755b Update K_TryPickMeUp with allowHostile boolean 2025-05-29 20:14:16 -04:00
James R
465387c69e MT_SEALEDSTAR_BUMPER: use A_GenericBumper 2025-05-26 19:31:02 -07:00
Antonio Martinez
bd250e34c8 Teamplay gameplay refinements 2025-05-22 00:32:14 -04:00
Antonio Martinez
f0bcc82f90 go go gadget teamplay 2025-05-21 16:49:51 -04:00
Oni VelocitOni
a35bbaacf7 Merge branch 'the-hunt-continues' into 'master'
Add bonus pickups in conditions you couldn't grab Spray Cans before

See merge request kart-krew-dev/ring-racers-internal!2502
2025-05-20 22:45:12 +00:00
toaster
ecb4ffeeca Add bonus pickups in conditions you couldn't grab Spray Cans before
- If you've gotten every Spray Can, or you're on a custom course...
- Only one of these spawns per map
- Correctly save and load these
- Statistics menu counts base-game bonuses
- If there are gaps in the list, or new Spray Cans are added later, these base-game bonuses are converted into the new Spray Cans
- New graphics required so far:
    - SBONA0 to SBONP0 - 16-frame prerendered circling sprite animation
    - GOTBON - 8x8 representation of the SBON object
2025-05-20 20:27:06 +01:00
toaster
3f9c0685eb Move cache_spraycan on the mapheader_t struct to recorddata_t
Still in that struct, just in a more appropriate container
2025-05-20 20:18:11 +01:00
Antonio Martinez
2adfb467f1 Also soften wipeout 2025-05-20 14:14:11 -04:00
Antonio Martinez
91b15905d2 Downgrade damage when tripwire lenient 2025-05-20 14:12:05 -04:00
VelocitOni
f2c92efa67 Adjust stun time
reduced stun time, 4 to 10
2025-05-20 00:04:41 -04:00
Oni VelocitOni
c1b10750a3 Merge branch 'no-pain-respawn' into 'master'
Pitblame in Race, stop spinout when lightsnaking

Closes #1360

See merge request kart-krew-dev/ring-racers-internal!2534
2025-05-18 18:39:30 +00:00
Antonio Martinez
457927a36a Merge remote-tracking branch 'origin/master' into nerf-bumper-car-bots 2025-05-18 14:19:19 -04:00
Antonio Martinez
1009996ba4 Fix pickmeup bubble shield 2025-05-17 16:54:57 -04:00
Lach
4548438308 Adjust stun durations & fix some item capsule pickup issues 2025-05-14 23:48:58 +10:00
Lach
03f6b1cc17 Merge remote-tracking branch 'origin/master' into stun 2025-05-14 19:10:53 +10:00
Antonio Martinez
5129250e48 WIP: no early items 2025-05-13 12:39:16 -04:00
Lach
22817ac60b Add stun mechanic & Flybot767 2025-05-14 01:39:42 +10:00
Antonio Martinez
e19473e322 Bot bump slowdown refinements 2025-05-13 01:22:21 -04:00