Commit graph

18981 commits

Author SHA1 Message Date
NepDisk
b06b6ade9e Give omega an extra tic in a better way 2025-02-28 22:00:48 -05:00
NepDisk
af69d91eec Fix Netgames
Whoops forgot to readd doomcom slots when porting stuff
2025-02-28 21:39:28 -05:00
NepDisk
e2f29fd41b Add lagless camera toggle and default to off 2025-02-28 21:20:13 -05:00
NepDisk
18de286a2f Make Item Breaker even more accurate to its Lua version
You can pick up boxes when you have yout item slot full
2025-02-28 19:27:57 -05:00
NepDisk
0e9b47601c Omega needs help!
Give one extra tick of ringboost so omega can atleast maintain duration
2025-02-28 12:38:44 -05:00
NepDisk
dd77d86d6f Fix flame shield not being remove on damage 2025-02-28 03:08:25 -05:00
NepDisk
ef11c55b41 Merge and Update Flameshield overhaul concept 2025-02-28 00:54:24 -05:00
NepDisk
d0327c4079 Auto Shrink Bubbleshield on successful attack/defend and add delay 2025-02-27 13:51:02 -05:00
NepDisk
0fb89d2568 Underwater: player must be submerged for 15 seconds to play a gasp when they resurface 2025-02-27 13:04:00 -05:00
NepDisk
5caee8cc09 Fix type check for Land Mines vs Drop Target/Bubble Shield expand
b2268157fd
2025-02-27 12:58:13 -05:00
James R
91445a5856 MT_FLOATINGITEM: use K_UpdateMobjItemOverlay 2025-02-27 12:54:49 -05:00
James R
152bb32609 Add K_UpdateMobjItemOverlay 2025-02-27 12:51:27 -05:00
James R
05e926f540 Merge branch 'overlay-offsets' into 'master'
MT_OVERLAY exception flags

See merge request KartKrew/Kart!878
2025-02-27 12:49:23 -05:00
AJ Martinez
32bc196381 Snap BUBBLESHIELDTRAP to toucher when touched (fixes visual disjoint) 2025-02-27 12:44:00 -05:00
James R
0882846d29 Underwater: do not spawn bubbles around player using Bubble Shield 2025-02-27 12:38:27 -05:00
NepDisk
b048467aa2 Fix Bubble Shield duplicate collisions
8c1771112c
2025-02-27 12:34:28 -05:00
NepDisk
5e26516453 S3K Shields: remove splitscreen-dependent mobj position behaviour
a134465e65
2025-02-27 12:27:54 -05:00
NepDisk
55405600ea Fix rare Bubble Shield crash
30d7e94ece
2025-02-27 12:24:14 -05:00
NepDisk
94dc69ab93 Flash Bubbleshield if throw is happening soon 2025-02-26 21:38:35 -05:00
NepDisk
31fbfdc512 check equal to and greater than for skin check 2025-02-26 21:23:37 -05:00
NepDisk
80453af9b5 Fix pvp damage code to be more accurate to v1 2025-02-26 21:17:47 -05:00
NepDisk
fe97d7263b Fix bubblepop not being reset in some cases 2025-02-26 20:59:57 -05:00
NepDisk
5d5701790d Re-Enable ingamecap cvar 2025-02-26 20:55:54 -05:00
NepDisk
b875623be5 Fix bot skin randomization code
Best of both worlds. If theres more then ingamecap worth of skins (or 8 in GP), duplicate skins will be disabled
2025-02-26 20:34:30 -05:00
NepDisk
064be1b201 Merge branch 'bortsport' into blankart-dev 2025-02-26 19:43:22 -05:00
NepDisk
acfb69f818 Remove unsued polyobject define 2025-02-26 16:09:30 -05:00
GenericHeroGuy
e901130742 Fix sprite flipping on rotated drift frames 2025-02-26 20:54:21 +01:00
NepDisk
0bf6619481 MF_SOLID and MF_PUSHABLE exception 2025-02-26 08:35:56 -05:00
NepDisk
d58d3877a7 Ring improvements 2025-02-26 00:15:59 -05:00
NepDisk
a082850e56 Merge branch 'saturnstats' into blankart-dev 2025-02-25 15:27:10 -05:00
NepDisk
6b4c331f5d add pwrlvl to stats menu 2025-02-25 14:47:41 -05:00
Indev
9ee3a2c088 Fix 'total podium' stat display using totalwins 2025-02-25 14:32:10 -05:00
Alug
287f9ce991 fix level statistics page controls 2025-02-25 14:32:04 -05:00
Indev
cbfc071512 Put playtime statistics at first page instead of RA medals 2025-02-25 14:31:57 -05:00
Indev
a8f29fbdf2 New statistics menu (WIP) 2025-02-25 14:31:46 -05:00
GenericHeroGuy
3f569913e3 Fix P_ResetPlayer resetting too much 2025-02-25 20:19:07 +01:00
GenericHeroGuy
344d07775d Apparently the pushers themselves also check for sector specials!?
...also removed a fan special dupe
2025-02-25 20:19:07 +01:00
Indev
87693db34e Check for spectator in K_StatRound 2025-02-25 14:18:29 -05:00
Indev
151b0ba9d9 Wipe kart stats on game data reload 2025-02-25 14:15:42 -05:00
Indev
437b8425c7 That was from testing a 2025-02-25 14:15:36 -05:00
Indev
1922870773 Make custom stats fully compatible between different versions, so new fields can be added in future without save corruptions 2025-02-25 14:15:29 -05:00
NepDisk
c8e78711a6 dont throw a warning about addons with custom gamedata
just ignore it
2025-02-25 14:15:19 -05:00
Indev
778e30ade2 G_PlayerReborn didn't work for 'respawns' stats, maybe G_DoReborn will? 2025-02-25 14:13:04 -05:00
Indev
ec59f0a233 Player kartstuff's get reset in G_PlayerFinishLevel, so need to call K_StatRound earlier 2025-02-25 14:11:59 -05:00
Alug
ddd9a5a71e no need to strcmp just check for "savemoddata"
that bool only ever gets set to true if the savegame has been switched to the modded one and unlike in srb2 this WILL never be reset to false again
2025-02-25 14:10:45 -05:00
Alug
3560e60348 save vanilla save when switching to modified savegame
also add check so we dont rerun this everytime setgamemodified is called
2025-02-25 14:10:39 -05:00
Alug
19b7019e40 remove "majormods" checks from stuff that saves to savegame
so its only there to throw a notice when you load an addon
2025-02-25 14:09:56 -05:00
Indev
939ffd61db Forgor respawns 2025-02-25 14:05:13 -05:00
Indev
e29aca5ff0 Oops 2025-02-25 14:04:13 -05:00
Alug
f9a2623773 make game use seperate save when addons are loaded
so you can record attack and it will also keep saving to statistics
also added a few things it now keeps track of
TODO: unfuck the statistics page and add a 2nd one perhaps? due to space reasons
menucode is hell
2025-02-25 14:04:02 -05:00
NepDisk
8b142ceb62 Add kartstats
4942db2806
2025-02-25 14:00:10 -05:00
NepDisk
475524e7ad Add shield sounds and rework bubbleshield
BS now only has two defend / attack uses, trap gives less height and you can dropdash from the trap
2025-02-25 11:40:25 -05:00
GenericHeroGuy
458aef786b Restore wind/conveyor specials for Kart maps 2025-02-25 02:59:07 +01:00
GenericHeroGuy
0b081230c4 Fix oopsie in binary mace setup 2025-02-25 01:58:29 +01:00
NepDisk
8d704be49c Merge remote-tracking branch 'origin/cherries' into blankart-dev 2025-02-24 19:32:26 -05:00
toaster
ab243e6ffa Fix G_UpdateVisited, this time in a forward-thinking way
- Check for if a single local player isn't spectator or no-contested.
- Clean up code to return early if exclusionary conditions are met, rather than one long if conditional bundling them together
2025-02-25 01:05:21 +01:00
James R
b31e79b742 Kill last of DJGPP, WATTCP, _WINDOWS (ol' DirectDraw) 2025-02-25 00:42:42 +01:00
James R
febde8d181 Remove NONET 2025-02-25 00:31:59 +01:00
James R
45c388b1f1 Fix HUD drawing crash if 1 or more KITEM_NONE
blame 375fb72de
2025-02-24 23:47:02 +01:00
NepDisk
b70282811e Drawfill nametag stem 2025-02-24 17:11:39 -05:00
toaster
1b53d6b4bf Fix special map usage
- Free header on `CLEAR LEVELS` even if it's `tutorialmap`
- `titlemap` infinite recursion prevention Z_Free's instead of leaking
2025-02-24 22:45:26 +01:00
toaster
bde16b96a0 Skip over locked maps/cups when getting nextmap
(carve out an exception for marathon mode, although we will probably want to lock that behind all cups available)
2025-02-24 22:45:26 +01:00
James R
44defb4a86 K_GetRollingRouletteItem: support Battle 2025-02-24 22:45:26 +01:00
James R
ef6addf5d8 Add K_GetRollingRouletteItem, refactor item drawers
Roulette now cycles through all single items (that have
odds). Added missing shields and drop target.
2025-02-24 22:45:23 +01:00
Sally Coolatta
6b6b180738 Remove itnext at top of MobjThinker also 2025-02-24 21:51:44 +01:00
Sally Coolatta
2864b2abd6 NULL itnext in general on removal 2025-02-24 21:51:26 +01:00
James R
fca0231cc7 Add a mode to the toggle command, cycle a set of values
toggle timescale 0.2 0.75 1

If timescale is 0.2, go to 0.75
If timescale is 0.75, go to 1
If timescale is 1 or any other value, go to 0.2
2025-02-24 21:25:34 +01:00
James R
0f8d61fff2 command.c: refactor Setvalue, create CV_CompleteValue 2025-02-24 21:09:06 +01:00
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
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
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
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