Commit graph

20913 commits

Author SHA1 Message Date
NepDisk
bf77bd7f3a Adjust wad load order for new assets 2025-02-23 17:01:59 -05:00
GenericHeroGuy
244cfa9538 Imagine relying on C23 features 2025-02-23 16:47:59 +01:00
NepDisk
3161bf2a5d Fix SPB capsule overwriting current item 2025-02-22 22:43:34 -05:00
NepDisk
4b8df73495 Merge branch 'blankart-dev' into bortsport 2025-02-22 22:28:11 -05:00
NepDisk
69b064050a Remove rest of ringsting leftovers 2025-02-22 22:27:56 -05:00
NepDisk
0d4c4a74f6 Merge branch 'blankart-dev' into bortsport 2025-02-22 22:21:09 -05:00
NepDisk
3c09716a78 Fix selfhit playing hitem 2025-02-22 22:07:02 -05:00
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
NepDisk
d52b1a10b5 Use Kart calc for bumping 2025-02-22 21:52:12 -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
b59dd9441f Adjust player bumping 2025-02-22 08:11:23 -05:00
NepDisk
2e7e36ac59 Fix mistake 2025-02-22 07:52:48 -05:00
NepDisk
eeeb29d2df Add p_sight.c as well 2025-02-22 07:49:35 -05:00
NepDisk
d022a20c36 update error to be more understandable 2025-02-22 02:15:47 -05:00
NepDisk
553001a6bf Port Waypoints.cpp from final RR as well 2025-02-22 02:10:50 -05:00
NepDisk
51154e346c rename tm to g_tm to fix C conflict 2025-02-22 01:24:53 -05:00
NepDisk
464f9464e9 New botcode works now 2025-02-22 00:41:56 -05:00
NepDisk
553676e588 Basic port of durrs bot code
It doesn't work as of yet.
2025-02-21 22:44:07 -05: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