Commit graph

27978 commits

Author SHA1 Message Date
JugadorXEI
ceb21535c3 Expose K_MomentumAngleEx to Lua 2025-08-21 09:57:52 +02:00
JugadorXEI
c5b3f6ac22 Expose K_PressingEBrake to Lua 2025-08-21 09:57:52 +02:00
JugadorXEI
8a934479a6 Expose K_GenericExtraFlagsNoZAdjust to Lua 2025-08-21 09:57:48 +02:00
JugadorXEI
69c8dee423 Expose K_FlipFromObject to Lua 2025-08-21 09:56:40 +02:00
JugadorXEI
0ec35334b5 Expose P_LevelIsFrozen to Lua 2025-08-21 09:55:28 +02:00
JugadorXEI
34e4f88636 Expose P_SetFreezeLevel to Lua 2025-08-21 09:55:28 +02:00
JugadorXEI
b962331441 Expose P_MobjIsFrozen to Lua 2025-08-21 09:55:28 +02:00
JugadorXEI
cffb480b9f Expose P_ForceLocalAngle to Lua 2025-08-21 09:55:28 +02:00
JugadorXEI
92d4bfc6c6 Expose P_SetPlayerAngle to Lua 2025-08-21 09:55:28 +02:00
JugadorXEI
7e278b7c00 Expose K_ReflectAngle to Lua 2025-08-21 09:55:22 +02:00
JugadorXEI
acb197ddb2 Expose K_GetKartGameSpeedScalar to Lua 2025-08-21 09:53:52 +02:00
JugadorXEI
50f2244db3 Lua: add INLEVEL check and return value to K_KartBouncing 2025-08-21 09:41:41 +02:00
JugadorXEI
31f168de72 Expose K_GetMobjWeight to Lua 2025-08-21 09:41:41 +02:00
Eidolon
dbcd125ba8 Merge branch 'visualFunctionsLua' into 'master'
Expose VFX and visual functions from k_kart.c to Lua

See merge request KartKrew/RingRacers!129
2025-08-21 01:48:58 +00:00
JugadorXEI
0d7ffd78b3 Expose VFX and visual functions from k_kart.c to Lua 2025-08-21 01:48:58 +00:00
Eidolon
962fbb7aea Merge branch 'toggleableRingsHUD' into 'master'
Allow Rings/Blue Sphere HUD to be toggleable through Lua

See merge request KartKrew/RingRacers!126
2025-08-21 00:58:31 +00:00
Eidolon
c28559cb4b Merge branch 'exposeLoopVars' into 'master'
Expose loop variables to Lua (get only)

See merge request KartKrew/RingRacers!128
2025-08-21 00:27:12 +00:00
Eidolon
b4e364bdf7 Prevent bananadrag from wrapping around 2025-08-21 00:07:47 +00:00
Eidolon
6d04f2b83f Merge branch 'fix-dynslope-sectorspecial' into 'master'
Fix inconsistent sector special detection on dynslopes

See merge request KartKrew/RingRacers!133
2025-08-20 23:35:46 +00:00
Nep2Disk
97a72350af Fix inconsistent sector special detection on dynslopes 2025-08-20 23:35:46 +00:00
Eidolon
c89b643af8 Merge branch 'displayPlayersIterateFix' into 'master'
Fix displayplayers.iterate hang when multiple viewports view the same player

See merge request KartKrew/RingRacers!127
2025-08-19 00:20:16 +00:00
Eidolon
88ee8e1f7f Merge branch 'profile-fix' into 'master'
Profile fix #358

Closes #358

See merge request KartKrew/RingRacers!119
2025-08-19 00:14:11 +00: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
Eidolon
4dc3bc4cdc Merge branch 'fixthwompunarchival' into 'master'
Fix Thwomp initDelay never being read by unarchival

See merge request KartKrew/RingRacers!116
2025-08-18 21:13:26 +00:00
Eidolon
dcef3fd4e9 Merge branch 'fixmodelinitoverflow' into 'master'
Fix buffer overflow in HWR_InitModels

See merge request KartKrew/RingRacers!114
2025-08-18 21:08:48 +00:00
Eidolon
a0cf2a7b68 Merge branch 'slur-b-gone' into 'master'
Removing a slur from an old comment in lua_baselib.c

See merge request KartKrew/RingRacers!120
2025-08-18 21:07:21 +00:00
Eidolon
fb57f125e5 Merge branch 'fix-253' into 'master'
Fix #353 -- PNG metadata now contains map IDs in screenshots

Closes #353

See merge request KartKrew/RingRacers!118
2025-08-18 21:05:26 +00:00
Eidolon
21978c16a4 Merge branch 'hookPlayerMsgToCode' into 'master'
Lua: Hook PlayerMsg to code

See merge request KartKrew/RingRacers!134
2025-08-18 16:44:37 +00:00
Eidolon
6858493329 Merge branch 'fixOmnidirectionalLoops' into 'master'
Fix loops so that they are omnidirectional

See merge request KartKrew/RingRacers!132
2025-08-18 16:38:28 +00:00
JugadorXEI
c4464fa87c Lua: Hook PlayerMsg to code, remove vestigial mute variable from it¨ 2025-08-15 19:54:46 +02:00
toaster
ac7249fc54 Fix direct skin assignment in netsave + Heavy Magician
Was not caught by compiler because these are void pointers 🥹
2025-08-13 09:12:29 -05:00
Eidolon
60e95ab0d8 Merge branch 'dynamic-skin-allocation' into 'master'
Dynamically allocate skins

See merge request KartKrew/RingRacers!125
2025-08-12 21:16:44 +00: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
JugadorXEI
47a43d0544 Fix loops so that they work in all directions 2025-08-12 21:57:12 +02:00
JugadorXEI
67419a95de Expose loop variables to Lua (get only) 2025-08-08 13:51:00 +02:00
JugadorXEI
979db521bd Fix displayplayers.iterate hang when multiple viewports view the same player 2025-08-06 19:24:49 +02:00
JugadorXEI
8a2d452d78 Allow Rings/Blue Sphere HUD to be toggleable through Lua 2025-08-05 13:30:35 +02:00
Nep2Disk
b8223197cc Prevent battle monitors getting stuck in pits 2025-07-24 12:43:39 +00:00
luigi budd
5d9dcd0243 Properly fix the spb-profile stat grid bug 2025-07-14 22:55:22 +00:00
FreakyMutantMan
1f1e0bdb6e Removing a slur from an old comment in favor of a potentially dated reference. 2025-07-02 21:11:48 +00:00
luigi budd
3b36812f10 Merge branch RingRacers:master into profile-fix 2025-06-27 21:16:58 +00:00
luigi budd
9c91dd03da port from github ringracers-edit lul 2025-06-27 21:16:11 +00:00
Kimberly Wilber
7f55ee6fe4 Fix #353 2025-06-14 02:13:21 -04:00
Nep2Disk
cf600046e2 Fix thwomp initdelay never being read by unarchival 2025-05-26 15:49:28 +00:00
Alug
c07e0452c7 fix overflow due to too small name array size in fscan in model init 2025-05-17 18:25:41 +02:00
James R
294e60bf8d TwodeeRenderer::rewrite_patch_quad_vertices: ensure high side of clipping clamp is >= low side
- Fixes assert raised on GCC 15
- Testing
  - Use Debug build
  - Use GCC 15
  - Be on linux
  - Give yourself the Bubble Shield
2025-05-14 13:21:46 -07:00
Eidolon
ffc0ce0a72 Update libdivide 2025-05-01 11:43:56 -05:00
Sal
aadddc291c Merge branch 'trapbubble-softlock' into 'master'
Fix trap Bubble respawn softlock

See merge request KartKrew/RingRacers!101
2025-04-22 19:44:03 +00:00
Sal
0738a567f2 Merge branch 'fault-respawn' into 'master'
Fix Fault'ed ghost player bug if player explodes during POSITION

See merge request KartKrew/RingRacers!100
2025-04-22 19:41:28 +00:00
Sal
b6db232c43 Merge branch 'fixLoopDesync' into 'master'
Fix loop desyncs (by making loop end point sorting consistent)

See merge request KartKrew/RingRacers!111
2025-04-22 19:23:51 +00:00