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
JugadorXEI
47a43d0544
Fix loops so that they work in all directions
2025-08-12 21:57:12 +02:00
toaster
2b3697e8c8
WERROR fixes
2025-08-12 12:55:04 +01:00
Antonio Martinez
9dc7453159
Toaster recs for demo hygiene
2025-08-12 04:40:04 -04:00
Antonio Martinez
1c66631e18
Also unset waitingfortally when adding ghosts
2025-08-12 04:30:34 -04:00
James R
d8732affdf
Fix replay playback not processing ticcmds after a titledemo ends
2025-08-12 01:13:54 -07:00
Oni VelocitOni
18307871bf
Merge branch 'ta-spindash-leniency' into 'master'
...
E-brake leniency in TA starts only
See merge request kart-krew-dev/ring-racers-internal!2729
2025-08-12 01:24:22 +00:00
Oni VelocitOni
148e72542e
Merge branch 'speedy-stairjank' into 'master'
...
More lenient stairjank when moving quickly
See merge request kart-krew-dev/ring-racers-internal!2728
2025-08-11 23:46:43 +00:00
Oni VelocitOni
5bb1cf3036
Merge branch 'ancient-gear-ii' into 'master'
...
Ancient Gear Tweaks
See merge request kart-krew-dev/ring-racers-internal!2727
2025-08-11 23:46:38 +00:00
Antonio Martinez
da6b6abb03
E-brake leniency in TA starts only
2025-08-10 19:47:09 -04:00
Antonio Martinez
e82217c23e
More lenient stairjank when moving quickly
2025-08-10 19:32:53 -04:00
VelocitOni
1c14edfe5b
Gear & Gear Parts w/ MF_DRAWFROMFARAWAY
...
They draw from further away now, should be more visible in Playground
2025-08-10 07:45:30 -04: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
Oni VelocitOni
c7b3a49c85
Merge branch 'ancient-gear' into 'master'
...
Ancient Gear (resolves #1599 )
Closes #1599
See merge request kart-krew-dev/ring-racers-internal!2726
2025-08-10 00:43:23 +00:00
Lach
bbe231e994
Add Ancient Gear object type & unlock type
2025-08-10 01:51:34 +10:00
Lach
0e45149045
Fix objectplace thing scales
2025-08-10 01:21:50 +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
Oni VelocitOni
0bab971e70
Merge branch 'match-race-splits' into 'master'
...
Splits in Race gametypes
See merge request kart-krew-dev/ring-racers-internal!2724
2025-08-09 04:12:08 +00:00
Oni VelocitOni
217316787a
Merge branch 'lost-time-protection' into 'master'
...
TA: Prevent reset during tally if time is a new best
See merge request kart-krew-dev/ring-racers-internal!2723
2025-08-09 03:06:46 +00:00
Antonio Martinez
5e9a80bb32
Fix race split carryover between rounds
2025-08-08 22:42:42 -04:00
Antonio Martinez
385257af73
Splits in Race gametypes
2025-08-08 20:09:14 -04:00
JugadorXEI
67419a95de
Expose loop variables to Lua (get only)
2025-08-08 13:51:00 +02:00
Antonio Martinez
015e2f0930
TA: Prevent reset during tally if time is a new best
2025-08-07 21:59:42 -04:00
AJ Martinez
0918e83873
Merge branch 'ta-rebalance-gaiden' into 'master'
...
TA rebalance gaiden
See merge request kart-krew-dev/ring-racers-internal!2710
2025-08-08 01:34:11 +00:00
Antonio Martinez
fad24db244
Merge remote-tracking branch 'origin/master' into ta-rebalance-gaiden
2025-08-07 21:20:00 -04:00
Oni VelocitOni
205e7f0dbb
Merge branch 'ta-rebalance-splits' into 'ta-rebalance-gaiden'
...
Splits in Time Attack
See merge request kart-krew-dev/ring-racers-internal!2722
2025-08-07 21:25:07 +00:00
Antonio Martinez
565207ec08
MAXSPLITS 200 to 32
2025-08-07 14:54:24 -04:00
Antonio Martinez
848c3d4f7a
Read splits in G_DoPlayDemoEx (crash fix)
2025-08-07 04:53:24 -04:00
Antonio Martinez
5703fb2a0b
Adjust for start time when writing TA splits
2025-08-07 01:13:15 -04:00
Antonio Martinez
024ae0f8ab
More splits
2025-08-06 22:09:06 -04:00
Oni VelocitOni
ad9501203f
Merge branch 'retune-weak-bots' into 'master'
...
Foes
Closes #1582
See merge request kart-krew-dev/ring-racers-internal!2713
2025-08-06 23:59:01 +00:00
Antonio Martinez
a11acfaf0e
WIP: splits
2025-08-06 19:51:36 -04:00
Antonio Martinez
bf8511c495
Review fixup
2025-08-06 16:48:20 -04:00
Antonio Martinez
77ee717952
WIP: End distance EXP scaling
2025-08-06 16:38:54 -04:00
JugadorXEI
979db521bd
Fix displayplayers.iterate hang when multiple viewports view the same player
2025-08-06 19:24:49 +02:00
Antonio Martinez
49c5318261
Don't set demo attack timing in playback
2025-08-05 21:16:12 -04:00
Antonio Martinez
c2bab86d70
Stable sort suicide store
2025-08-05 19:06:46 -04:00
JugadorXEI
8a2d452d78
Allow Rings/Blue Sphere HUD to be toggleable through Lua
2025-08-05 13:30:35 +02:00
Antonio Martinez
257384b42a
ONCE MORE TA rebalance
2025-08-04 23:02:31 -04:00
Oni VelocitOni
d6eef24f83
Merge branch 'lua-roulette' into 'master'
...
Lua itemroulette stuff from public (JugadorXEI)
See merge request kart-krew-dev/ring-racers-internal!2671
2025-08-05 01:13:16 +00:00
Antonio Martinez
fec835a544
Remove DXD_START, add demo header info for attack starts
2025-08-04 04:38:17 -04:00
Antonio Martinez
e6091cc8b4
Start condition rework
2025-08-04 04:38:16 -04:00
Antonio Martinez
59ae7240f5
Don't consider speed in TA Ring Box bonus
2025-08-04 04:37:50 -04:00
Antonio Martinez
0468f1f988
Nudge some constants, startline startboost in TA
2025-08-04 04:37:50 -04:00
Antonio Martinez
6d020fca06
TA rebalance pass one fucktillion and two
2025-08-04 04:37:50 -04:00
Antonio Martinez
1457a16bd5
Merge up to master
2025-08-04 04:37:50 -04:00
Antonio Martinez
11f63ce79e
Rebase fixup
2025-08-04 04:36:21 -04:00
Antonio Martinez
d78afd9de3
Red FOE nametags, try not to sort empty lists of bots
2025-08-04 04:24:44 -04:00