Commit graph

20692 commits

Author SHA1 Message Date
NepDisk
894af06eea Fix HUD for itembreaker with rings enabled 2025-02-22 21:59:18 -05:00
NepDisk
13503bf80b Use Kart calc for bumping 2025-02-22 21:53:09 -05:00
NepDisk
1a42afafa3 Adjust player bumping 2025-02-22 21:53:09 -05:00
NepDisk
e562d838b5 bumpspark, bumpspring and small code refactoring and cleanup 2025-02-22 21:53:09 -05:00
GenericHeroGuy
8160267880 Oops, forgot to resize spritecachedinfo in R_AddKartFaces 2025-02-23 01:45:29 +01:00
NepDisk
e9ac58e140 Merge pull request 'Action Code Script, C++, multithread software and various other things' (#1) from ACS2 into v2dev3
Reviewed-on: https://codeberg.org/NepDisk/blankart/pulls/1
2025-02-22 18:44:04 +00:00
NepDisk
121fe48ae3 Merge pull request 'Port cliprects over and add Lua Support' (#24) from cliprect into ACS2
Reviewed-on: https://codeberg.org/NepDisk/blankart/pulls/24
2025-02-22 18:43:05 +00:00
GenericHeroGuy
3928a98d72 Properly fix runaway cliprects so they don't interfere with other hooks 2025-02-22 19:38:35 +01:00
GenericHeroGuy
2e1ba3fa44 Fix patches being turned inside-out by cliprect in GL 2025-02-22 15:51:02 +01:00
NepDisk
87720d8be6 Bot friction shit 2025-02-21 21:17:00 -05:00
NepDisk
d52f2344c6 Clean up friciton code 2025-02-21 20:33:24 -05:00
GenericHeroGuy
51aeaa7529 Interop late, fix runaway cliprects, cleanup 2025-02-22 02:25:25 +01:00
hayaunderscore
abc004ddc8 Move V_ClearClipRect after call_mapped
based on toaster's suggestion
2025-02-22 01:51:34 +01:00
hayaunderscore
3e1e1245ce Expose V_SetClipRect and V_ClearClipRect to lua
Via the `v.setClipRect` and `v.clearClipRect` functions respectively.
2025-02-22 01:49:28 +01:00
James R
d4f54fa28e Legacy GL: fix cliprect in top/left
- UV were not adjusted correctly when clipped in the
  top/left.
- Code is more plainly written.
2025-02-22 01:38:09 +01:00
James R
c797b3bff5 opengl: fix bottom and right edge of clip rect 2025-02-22 01:35:56 +01:00
James R
81978cd7f1 OpenGL: clipping support for HWR_DrawStretchyFixedPatch 2025-02-22 01:30:40 +01:00
James R
bdb7d5c6a0 Fix off-by-one when clipping rectangle bottom 2025-02-22 01:30:17 +01:00
Sally Coolatta
34fc4066d7 Prevent modifying cliprect, wordier vars 2025-02-22 01:29:24 +01:00
Sally Coolatta
628b86da4c Clear clipping rectangle before each hook call
Prevents Lua from being able to make a mess.
2025-02-22 01:28:59 +01:00
Sally Coolatta
0c8e8be2a7 Comment out test case 2025-02-22 01:27:26 +01:00
NepDisk
c25e287d40 More lua fixes 2025-02-21 19:24:44 -05:00
Sally Coolatta
11608cd1b7 Clipping rectangle
Instead of the absolute insanity that is V_DrawCroppedPatch, which makes you specify the number of pixels to crop off the top/left and then the number of pixels to show after the crop ... you just use V_SetClipRect to create a rectangle for any future draws to be cropped down to, and V_ClearClipRect afterwards to clear it.

Currently only supported by V_DrawStretchyFixedPatch. Ideally other drawing functions should also receive clipping rectangle support too.
2025-02-22 01:22:54 +01:00
Sally Coolatta
ea3f3a718c Add V_VFLIP
Ironman can now be shitty
2025-02-22 01:22:54 +01:00
GenericHeroGuy
10d1de9f95 Expose itemflags to Lua 2025-02-22 01:19:52 +01:00
NepDisk
437bd25157 Implement PF_SLIDING support 2025-02-21 18:41:18 -05:00
NepDisk
842b7e85b3 Use Kart number here for light_contrast default 2025-02-21 17:03:11 -05:00
NepDisk
0d6aad827b Begin work on making custom lighting optional 2025-02-21 16:51:56 -05:00
NepDisk
bb31da5053 Update tracy and add libbacktrace library
libbacktrace is not in use
2025-02-21 14:52:05 -05:00
NepDisk
ccaf4f8e63 Add More Tracy Zones 2025-02-21 13:58:41 -05:00
NepDisk
64f2ae0f55 Push Kartspeed constants to lua 2025-02-21 12:58:59 -05:00
NepDisk
58151ed644 Expose more globals as writeable 2025-02-21 12:55:44 -05:00
NepDisk
94d192b1da Implement item breaker 3 item limit 2025-02-21 12:45:59 -05:00
NepDisk
c9f02b8e76 Rewrite comments to be accurate 2025-02-21 11:25:46 -05:00
NepDisk
6a03779b05 aggresive ring duration reduction from final RR 2025-02-21 00:02:18 -05:00
NepDisk
dac6374b0a Don't apply tighter minimap angle reticle if minimap names are on 2025-02-20 20:41:59 -05:00
NepDisk
fee2700b87 Whoops copypaste mistake 2025-02-20 20:35:59 -05:00
NepDisk
0fcf7c7dbd Port small minimap icons and minimap nametags from saturn/snowy, add minimap angle reticle toggle 2025-02-20 20:32:18 -05:00
NepDisk
71225707bf Port freeplay, grow music and invin music toggles from saturn 2025-02-20 18:12:03 -05:00
NepDisk
7a186c057d Remove unnecessary Z_Calloc from HWR_AddPolyObjectSegs
https://github.com/Indev450/SRB2Kart-Saturn/pull/78
2025-02-20 17:53:39 -05:00
NepDisk
e6913db517 Force wall transfering on RR maps 2025-02-20 15:03:31 -05:00
GenericHeroGuy
160897f5ca mapcompat + udmf_namespace = mapnamespace 2025-02-20 19:49:13 +01:00
NepDisk
40b508e3ce Add bot lshield/bshield prediction error
ac119e42ff
2025-02-20 09:37:42 -05:00
NepDisk
a0d2983b5b Handle How RingRacers uses args/scriptargs 2025-02-19 20:47:24 -05:00
GenericHeroGuy
48204a5ba7 Sprite frame/char compatibility 2025-02-20 00:32:31 +01:00
GenericHeroGuy
37969a3415 Add mapcompat global (AKA fix remapping on palette texture skyboxes)
Rather than setting udmf earlier in P_SetupLevel and continuing to awkwardly
check udmf everywhere, I'm adding a new global solely for compat purposes.

For now, have it mirror udmf to avoid supporting two binary formats.
(still keeping the 2.2 conversion code tho?)
2025-02-19 22:45:34 +01:00
NepDisk
72a1ba7080 Merge pull request 'Merge in some of Ring Racers' minimap improvements.' (#23) from rrminimap into ACS2
Reviewed-on: https://codeberg.org/NepDisk/blankart/pulls/23
2025-02-19 20:01:56 +00:00
NepDisk
fba4f40968 renanble minimapdot drawing code 2025-02-18 19:26:16 -05:00
GenericHeroGuy
0838417ebd Fix v.drawOnMinimap 2025-02-19 01:11:13 +01:00
NepDisk
24c0d8086a Make respawn function shut up and expose it to lua 2025-02-18 17:51:08 -05:00