Commit graph

20715 commits

Author SHA1 Message Date
James R
8992878b84 Move choose and chooseweighted commands to command.c
Fixes disabled under dedicated and it's the appropriate
place for these. Effectively cherry pick of 35b82b6dd9
2025-02-24 21:08:18 +01:00
toaster
7b6857bbe9 Replay hut: Show nolvl if the user hasn't added the map, or blanklvl if they have. 2025-02-24 21:02:41 +01:00
toaster
73fbca5629 Refactor handling of escape input a little
- Includes port of KartKrew/Kart-Public!250
2025-02-24 20:22:44 +01:00
toaster
f733d816e8 Modify render delta tics in the server connection ticker
Necessary so Egga Channel visual behaves properly
2025-02-24 20:16:43 +01:00
toaster
1e7eb4a24c Move gamekeydown/deviceResponding memset to D_StartTitle
Fixes an issue where, if the last button used on the menu was ESC going back to the title screen, the connection would be aborted immediately.
2025-02-24 20:15:25 +01:00
toaster
1e1bcd8fc8 Clear menus in one location.
Fixes a number of weird extra fade and gamestate set events.
2025-02-24 20:11:41 +01:00
SteelT
9e2be91e31 Fix function prototype 2025-02-24 20:07:48 +01:00
NepDisk
3779da57a5 Add more stuff to mapnamespace 2025-02-24 00:53:59 -05:00
NepDisk
5a8deb7784 Use mapnamespace for doceiling/dofloor compat 2025-02-24 00:42:09 -05:00
NepDisk
bfb4042d20 Fix Splitscreen lapcount 2025-02-23 23:40:41 -05:00
NepDisk
1a3295f670 More warning fixes, restore old pause, No void in 3p splitscreen 2025-02-23 21:45:33 -05:00
NepDisk
c25974b4b7 Be quiet please. 2025-02-23 21:04:06 -05:00
NepDisk
fce49599d3 Warn about Ring Racers maps 2025-02-23 20:40:20 -05:00
NepDisk
76e40adaf8 Item graphic tweaks 2025-02-23 19:12:44 -05:00
NepDisk
d5d1da5786 Check .kart extension for compatmode 2025-02-23 18:52:40 -05:00
GenericHeroGuy
d5cc422ec3 Make Sonic... slightly less hardcoded
Moved all the skin info to a P_SKIN lump in main.pk3
Also disabled P_SKIN for compatmode files (it's broken anyway)
2025-02-24 00:43:50 +01:00
NepDisk
c6daa4da80 Revert 'New solid object bouncing, and updated player bouncing'
This reverts commit 5ac5ca89d0.
2025-02-23 18:04:20 -05:00
NepDisk
d527740767 Modify and update code for new assets 2025-02-23 17:01:59 -05:00
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
69b064050a Remove rest of ringsting leftovers 2025-02-22 22:27:56 -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
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