Commit graph

25953 commits

Author SHA1 Message Date
Eidolon
47487b7610 Don't free stringargs during deep copy
spawnsectors is memcpy'd over just before the calls to copy_stringarg,
resulting in copy_stringarg Z_Free'ing the exact string it is about to
copy. This is a silent memory error, as the malloc block appears to
still be in a virtual-allocated page after the call to Z_Free.

deepcopy is not able to properly free the target array's tree of objects
if the target already exists, so that will need future work.
2025-03-10 12:54:27 -05:00
Eidolon
e85c91c3d8 Fix write Y range for splat drawing
Fixes a silent memory error during splat drawing when splats cross the
bottom of the screen.
2025-03-10 12:54:27 -05:00
Eidolon
d33a995db3 Merge public master 2025-03-10 03:05:17 -05:00
Eidolon
b9c372312e Merge branch 'fixmovingpolyobjectplatforms' into 'master'
Remove erroneous define breaking PolyObject player carrying

Closes #197

See merge request KartKrew/RingRacers!97
2025-03-10 08:01:15 +00:00
Eidolon
9c3b776511 Merge branch 'fixghostflag' into 'master'
Fix MF2_OBJECTFLIP being applied to flags instead of flags2 in P_SpawnGhostMobj

Closes #327

See merge request KartKrew/RingRacers!98
2025-03-10 07:59:31 +00:00
Eidolon
eb4116f042 Merge branch 'legacyglcliprectchatfix' into 'master'
Fix legacyGL chat rendering bug

See merge request KartKrew/RingRacers!96
2025-03-10 07:57:42 +00:00
Eidolon
6fc6e8336c Merge public master 2025-03-09 21:00:08 -05:00
Logan Aerl Arias
d0e1dfe526 merge changes to make vcpkg caches smaller 2025-03-10 01:39:35 +00:00
Lighto97
f907292383 wait for respawn timer to reach 0 2025-03-08 23:10:36 -03:00
Lighto97
c622ee9c90 fix missing ) 2025-03-07 16:41:59 -03:00
Lighto97
d198bc73e9 fix fault respawn bug 2025-03-07 15:11:58 -03:00
Lighto97
6c1629868f fix bubble shield trap respawn softlock 2025-03-07 01:11:17 -03:00
Nep2Disk
751418845d This should be flags2 2025-03-01 15:22:54 +00:00
Nep2Disk
514dc44f75 Remove erroneous define breaking PolyObject player movement
there are no other #ifdef POLYOBJECTS defines in source so this was left by accident I assume?
2025-02-26 21:03:56 +00:00
toaster
b5fd26777c Don't award Prison Eggs bopped after exiting
- Short-circuits P_AddBrokenPrison if EVERYONE is exiting
    - Still calls P_DoAllPlayersExit to catch spectators with respect to server softlock
- Don't run K_SpawnBattlePoints if the recipient is exiting
    - Also re-arranges K_GivePointsToPlayer just in case the score addition ends the round
2025-02-23 14:39:37 +00:00
toaster
a831fc3592 Adjust shade of no-Can dot to avoid matching any 2x2 region on the existing sprite 2025-02-22 23:28:08 +00:00
toaster
5fad786b8f Second pass at representing stacked information
Lots of internal discussion on my last approach, so here's a cleaner alternative
- No more offset with two complex flickering graphics on top of each other
- Instead, "less common" secondary info is represented by a coloured dot overlaid on the primary icon
    - Red for SPB Attack, Turquoise for Mystic Melody
- Only show Spray Can/Mystic Melody for Race-compatible courses
- Show courses where you haven't picked up a Spray Can with a dot
2025-02-22 22:32:15 +00:00
Nep2Disk
05de187667 Fix patches being turned inside-out by cliprect in GL
Turns out the reason the chat looks strange in LegacyGL is because of cliprect.
This is a fix that was done by GenericHeroGuy for one of my other projects.
2025-02-22 18:08:13 +00:00
toaster
89afe780df Cup Select preview: Draw Spray Can (+ Ancient Shrine) list in Match Race
Expansion of previously implemented UI for Time Attack, but for showing gotten cans/shrines only.

Also:
- Halved flicker rate for SPB attack medals
- Made invalid cups not display Lost & Found's associated medals OR cans/shrines
2025-02-20 22:32:22 +00:00
toaster
beacbca72a M_EmblemMapNum: Free medal string once no longer relevant 2025-02-19 15:46:06 +00:00
toaster
405c6cb3e2 M_GetConditionString, UC_EMBLEM: Prevent Medal ID out-of-bounds 2025-02-19 15:46:06 +00:00
toaster
7e484150bd Cup Select preview: Draw strongly abbreviated Medal list in Time Attack 2025-02-19 15:46:06 +00:00
toaster
43f2dbe786 Level Select block: Draw relevant Medals on map thumbnail
- Medals in Time Attack
- Spray Can & Ancient Shrine in Match Race
2025-02-19 15:46:06 +00:00
Eidolon
b5483faecf Merge public master 2025-02-15 12:44:40 -06:00
Craftyawesome
1cbb266180 explicit -mno-ms-bitfields for clang 2025-02-14 21:04:04 -05:00
Eidolon
3e0b8203f4 Merge public master 2025-02-14 13:07:53 -06:00
Craftyawesome
06696e78b5 windows clang fixes 2025-02-14 12:53:41 -05:00
Eidolon
1ae570443d Merge public master 2025-02-13 22:52:03 -06:00
Eidolon
c192f13d5d Merge branch 'first-person-improvements' into 'master'
First person fixes and tweaks

Closes #180 and #179

See merge request KartKrew/RingRacers!71
2025-02-14 04:13:44 +00:00
PencilVoid
b88c001d03 First person fixes and tweaks 2025-02-14 04:13:44 +00:00
Eidolon
a2d11a61f1 Merge public master 2025-02-13 20:05:29 -06:00
Eidolon
5f10a35691 Merge branch 'fixfofalphaogl' into 'master'
Clamp rover->alpha levels in LegacyGL

See merge request KartKrew/RingRacers!57
2025-02-14 01:58:39 +00:00
Spring E. Thing
b8ec197b2a player->whip is now readable & writable through Lua 2025-02-13 22:52:40 +00:00
Eidolon
a2572f64df Update copyright years to 2025 2025-02-13 15:56:37 -06:00
Eidolon
cb7f437e60 Merge public master 2025-02-13 15:48:11 -06:00
Eidolon
a4d304a1f5 Update copyright years to 2025 2025-02-13 15:32:26 -06:00
Eidolon
ef5eb2238e Merge branch 'fix-endsign-rng' into 'master'
Fix ending sign RNG off by one error + comment for __internal_prng_bound__

See merge request KartKrew/RingRacers!78
2025-02-13 21:15:07 +00:00
Eidolon
3c69cf8dc1 Merge branch 'moreconstants' into 'master'
Expose more constants to Lua

See merge request KartKrew/RingRacers!66
2025-02-13 21:03:07 +00:00
Eidolon
3edc612ff4 Merge branch 'fixbatching' into 'master'
Small fix for LegacyGL batching

See merge request KartKrew/RingRacers!74
2025-02-13 20:57:07 +00:00
Eidolon
e2a4ed4c4a Merge branch 'fixcharmenulockup' into 'master'
Fix character select menu freeze due to smaller then required loop variables

Closes #304

See merge request KartKrew/RingRacers!68
2025-02-13 20:50:52 +00:00
Eidolon
09b225b579 Merge branch 'skincolor-fix' into 'master'
Fix for skincolors past the 256th displaying incorrectly on character select.

See merge request KartKrew/RingRacers!67
2025-02-13 20:49:00 +00:00
Eidolon
1e3a9d68f8 Merge branch 'aizdriftstraft' into 'master'
Fix "aizdriftstraft" typo

See merge request KartKrew/RingRacers!65
2025-02-13 20:46:08 +00:00
Eidolon
80a4180b2b Merge branch 'fix-huddisable' into 'master'
Fix Lua Hud Enable/Disable being offset by one

See merge request KartKrew/RingRacers!62
2025-02-13 20:41:12 +00:00
Eidolon
eeb1ac347c Merge branch 'slope-stepup-fix' into 'master'
Slope stepup fix

See merge request kart-krew-dev/ring-racers-internal!2496
2025-02-13 17:14:33 +00:00
Ashnal
1978b91677 Slope stepup fix 2025-02-13 17:14:33 +00:00
Eidolon
271c531223 Merge branch 'bheapPushWrongRealloc' into 'master'
Fix wrong size in K_BHeapPush Z_Realloc

See merge request KartKrew/RingRacers!83
2025-02-13 04:18:43 +00:00
Eidolon
5a3f1c7653 Merge public master 2025-02-12 22:01:13 -06:00
Eidolon
1a8467fdaf Merge public master 2025-02-12 19:02:38 -06:00
SteelT
c9c4796260 Set SDL_HINT_APP_NAME SDL hint
As with SDL3 and SDL2-compat, the app name logic is different and the default name is instead a generic "SDL Application"
2025-02-03 21:13:36 -05:00
JugadorXEI
f0bf674dc0 Fix wrong size in K_BHeapPush Z_Realloc 2025-02-01 18:16:06 +01:00