Commit graph

2811 commits

Author SHA1 Message Date
toaster
4bc99d3806 De-jank all existing calls to K_FlipFromObject/K_MatchGenericExtraFlags
- New funcs K_MatchFlipFlags, K_FlipFromObjectNoInterp, K_MatchGenericExtraFlagsNoInterp
- Renamed K_GenericExtraFlagsNoZAdjust to K_MatchGenericExtraFlagsNoZAdjust
- Went over each individual spot that called any of this suite to figure out what they actually wanted, and give it to them without having to work around a bad function
- I'm 95% confident there's no regressions, but I don't think I'll get that 5% by testing internally. Might just have to hand this out with RC2 with an asterisk in the changelog
2025-09-16 23:18:02 +01:00
toaster
f3b37e9715 Fix Ballhog reticule/explode when landing in reverse gravity
Resolves ring-racers#22
2025-09-15 20:34:52 +01:00
toaster
ccd27bb345 MT_GOTIT: Flip horizontally in reverse gravity, so the text isn't nonsense
Also fixes typo in mobjinfo for "MT_GOIIT"??
2025-09-15 20:34:52 +01:00
Gunla
65f68d9e9c
Merge branch 'checkpoint-gravflip' into 'master'
Position checkpoint parts correctly in reverse gravity

See merge request kart-krew-dev/ring-racers-internal!2799
2025-09-08 01:16:43 +00:00
Lach
e52de2de88 Display up to one Ancient Gear on the minimap 2025-09-06 18:18:54 +10:00
Lach
12b9775290 Position checkpoint parts correctly in reverse gravity 2025-09-06 15:43:00 +10:00
Eidolon
387bf1e5c1 Merge branch 'fix-indeterminate-rand-arg-eval' into 'master'
Fix indeterminate behavior from RNG use in function argument lists

See merge request kart-krew-dev/ring-racers-internal!2787
2025-08-30 21:35:48 -05:00
Eidolon
ffc1300146 Fix indeterminate behavior from RNG use in function argument lists 2025-08-30 18:39:34 -05:00
toaster
beb8dfba20 If given the "double size" flag (on thing_args[8]), maces with MT_RANDOMITEM will have them all be perma-Ring Boxes 2025-08-30 21:50:19 +01:00
toaster
f7012ac846 Do not spawn MT_RING or MT_RANDOMITEM on custom maces in SPB Attack 2025-08-30 21:46:08 +01:00
Ashnal
75668529dc Merge remote-tracking branch 'public/master' 2025-08-25 20:43:51 -04:00
JugadorXEI
afc2e96bb7 Fix loops sometimes flinging you to kingdom come 2025-08-25 21:22:01 +02:00
Oni VelocitOni
df972ada45 Merge branch 'reduce-ballhog-active-frames' into 'master'
Ballhog active frames 26 -> 15

Closes #1638

See merge request kart-krew-dev/ring-racers-internal!2756
2025-08-25 04:42:09 +00:00
Lach
4543f10666 Scale up Mushroom Hill Pole and remove speed requirement 2025-08-25 02:41:34 +10:00
Lach
cf2ab09845 Hardcode Mushroom Hill Pole (MT_MHPOLE) 2025-08-24 22:58:29 +10:00
Antonio Martinez
945c8d5a9c Ballhog active frames 26 -> 15 2025-08-23 16:22:38 -04: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
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
Oni VelocitOni
46094fa813 Merge branch 'snapshot-late' into 'master'
Take `snapshotmap` on leveltime 5

Closes #1619

See merge request kart-krew-dev/ring-racers-internal!2730
2025-08-19 19:39:10 +00:00
Eidolon
6d6acbae28 Merge public master 2025-08-18 19:43:36 -05:00
Eidolon
928a1ed4ad Merge branch 'preventmonitorpits' into 'master'
Prevent battle monitors getting stuck in pits

See merge request KartKrew/RingRacers!124
2025-08-19 00:11:19 +00:00
toaster
874b0683ef Set up fake Blend Eye state for snapshotmaps
- Extracted functions so some state can be set up at spawn
- Fake Puyo chamber load for snapshotmaps
- Mobj starts off at shadowscale 0, but gets full-size when leaving the ground for the first time
2025-08-18 20:00:24 +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
e6bef7a7d1 Disallow Ancient Gears from respawning after a retry 2025-08-10 18:27:00 +10:00
Lach
ae2a3cffaf Increase default Ancient Gear scale to 1.5 2025-08-10 16:09:30 +10:00
Lach
bbe231e994 Add Ancient Gear object type & unlock type 2025-08-10 01:51:34 +10: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
Oni VelocitOni
3d1a7c1684 Merge branch 'ballhog-buffs' into 'master'
Ballhog Buffs & Feature

See merge request kart-krew-dev/ring-racers-internal!2725
2025-08-09 04:12:18 +00:00
toaster
9da5c3afb5 MT_WALLSPIKE, MT_ITEMCAPSULE: Remove time attack compat-intended hacks
- You now can't phase through a stationary Prison Egg in any gametype, not just Tutorial
- You can now scale Item Capsules in any gametype, not just Special
2025-08-01 16:27:47 +01:00
Ashnal
cc79808aba New MFE_DONTSLOPELAUNCH flag
Makes mobj immune to slope launching
Also 32 bit eflags woo
2025-07-31 18:37:38 -04:00
Antonio Martinez
8c0f07ad6d Refactor bubble speed limit, trap duration 3.5sec, 6 inputs per second 2025-07-29 19:08:29 -04:00
Antonio Martinez
3e78ba17ac Bubble shield mash limit 2025-07-29 17:55:18 -04:00
Antonio Martinez
6aed8f5f1c Galactic ballhog fuckup WIP 2025-07-29 05:28:34 -04:00
Nep2Disk
b8223197cc Prevent battle monitors getting stuck in pits 2025-07-24 12:43:39 +00:00
Antonio Martinez
082c592999 Tripwire blaster knows about proration (resolves #1610) 2025-07-24 01:27:39 -04:00
Antonio Martinez
184e2e3c5d Slidey wall transfers 2025-07-20 19:35:22 -04:00
Antonio Martinez
3b9dd416d9 Lightning Attack polish 2025-07-18 18:17:31 -04:00
Antonio Martinez
58cc1312cb Lightning Attack visuals 2025-07-18 17:56:23 -04:00
Eidolon
f7300d3106 Spawn duel items in tutorial 2025-07-15 16:05:01 -05:00
Oni VelocitOni
23b4b83c7c Merge branch 'jartha/fix-stone-shoe-reverse-grav' into 'master'
Fix Stone Shoe in reverse gravity

See merge request kart-krew-dev/ring-racers-internal!2679
2025-07-15 03:08:12 +00:00
VelocitOni
f7705e6475 Merge branch 'master' into jartha/fix-stone-relink
# Conflicts:
#	src/p_mobj.c
2025-07-14 22:05:30 -04:00
James R
5fec05d8ac Make sure sector reverse DOES NOT influence Stone Shoe directly
Stone Shoe copies flip flag from player. Sector gravity
was applied separately.
2025-07-09 11:47:40 -07:00
James R
e2c4341896 Toxomister death effects 2025-07-08 15:11:01 -07:00
James R
dd05900bcb Add Toxomister item 2025-07-08 13:30:48 -07:00
James R
5736f62495 Relink Stone Shoe trap object on player death 2025-07-07 22:01:29 -07:00
Antonio Martinez
0450fe8b9e Do fast transfer fall with C, add FX 2025-07-02 19:29:54 -04: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
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