Commit graph

949 commits

Author SHA1 Message Date
Gunla
20ecc22ccf Merge branch 'blend-end' into 'master'
Blend End

See merge request KartKrew/Kart!2039
2024-03-10 20:30:38 +00:00
James R.
d1c537723e Merge branch 'restart-after-gametype-change' into 'master'
Restart Map returns to the correct gametype, even if you changed the gametype through the menu

Closes #916

See merge request KartKrew/Kart!2063
2024-03-10 08:51:09 +00:00
James R.
f4ab9b0be7 Merge branch 'gasp' into 'master'
Tweak underwater VFX

Closes #1125

See merge request KartKrew/Kart!2058
2024-03-10 08:24:57 +00:00
toaster
161b46f3aa Store gametype string in gpringsav.bkp for overridden Rounds, too 2024-03-09 20:33:24 +00:00
James R
717dcf0209 restartlevel: preserve last map's gametype
- gametype can be changed without changing gamemap,
  through the pause menu option
2024-03-09 05:20:49 -08:00
AJ Martinez
8c46258ba9 Promote driftboost vars to UINT16 2024-03-09 04:30:05 -08:00
James R
44ff1d26cc Underwater: player must be submerged for 15 seconds to play a "gasp" when they resurface 2024-03-09 01:10:13 -08:00
James R
0707c9e5ec Add g_musicfade, generic system to fade out the level music for a brief period 2024-03-08 17:53:07 -08:00
James R
ecbcc5addb Make automatic respawn (from lap cheat prevention) more lenient
- When potential lap cheating is detected, start a 10
  second timer (previously 1 second)
- After 3 seconds, tell the player they can respawn with
  the Y button
  - You don't need to hold the Y button, just tap it
- After 10 seconds, automatically respawns the player
2024-03-06 18:19:34 -08:00
James R.
359b63fd6d Merge branch 'continues-gp-backup' into 'master'
Store scores in Grand Prix backup

See merge request KartKrew/Kart!2019
2024-03-07 02:16:16 +00:00
Oni
4990d49f75 Merge branch 'frey' into 'master'
Ring and Ring Debt conveyance

See merge request KartKrew/Kart!2022
2024-03-06 02:28:21 +00:00
AJ Martinez
a280ccb7de Use old Ring Sting noise 2024-03-05 16:00:00 -07:00
toaster
7f0df71558 R_SkinAvailableEX
- Most R_SkinAvailable calls should be returning index into demo.skinlist (same numerical value as when demo was recorded), for demo sync
- A handful of general things permit exception for this
- Expose `replaynumskins` (calculated as `(demo.playback ? demo.numskins : numskins)`) to Lua
    - There's *always* more that can be done for this, but this is the minimum spec that can at least be somewhat stable
2024-03-05 13:21:38 -08:00
toaster
ad6118f7a7 Store scores in Grand Prix backup 2024-03-05 20:09:23 +00:00
AJ Martinez
a11602869f Merge remote-tracking branch 'origin/master' into frey 2024-03-03 20:55:40 -07:00
AJ Martinez
647ab66c2f WIP: low-ring conveyance fixups 2024-03-03 00:46:21 -07:00
James R.
b136df4d41 Merge branch 'seal-a-carte' into 'master'
Sealed Star re-ordering (resolves #606)

Closes #606

See merge request KartKrew/Kart!1980
2024-03-03 05:18:26 +00:00
Oni
d0a66f9a4e Merge branch 'no-wavedash-breakpoint' into 'master'
Award a (weaker) boost for short-charge wavedashes

Closes #612

See merge request KartKrew/Kart!1982
2024-03-03 02:06:37 +00:00
James R.
5bc7d105cc Merge branch 'battle-powerup-feedme' into 'master'
Battle: Visual and audio feedback for power-ups

See merge request KartKrew/Kart!1986
2024-03-03 01:30:54 +00:00
toaster
e8523b69f0 Sealed Star re-ordering (resolves #606)
- If emerald not yet collected on that cup, pick the first uncollected emerald, then get the cup's CUPCACHE_SPECIAL with that ID to pick the stage
- Already collected emeralds retain their swappage across gamedata saves
- Returns to normal order if you get all 7 OR Special Mode is unlocked (chao key? debug? password in modded games? sky's the limit)
- Pops up a Message from the Stars telling you the gems have been returned to their natural place
- Add-ons will always use their dedicated sealed star, since it's unordered material

If it weren't so last minute I could have a better solution for GP Backups, but right now what I've gone for is it always trusts whatever G_GPCupIntoRoundQueue does AS LONG AS THE COURSE ISN'T THE ONE YOU'RE RELOADING INTO. If it IS, then it checks to see if it's exactly what's been saved, and complains (with the generic error message, unfortunately) if it isn't.
2024-03-03 00:24:31 +00:00
AJ Martinez
a1fd0f5353 Merge remote-tracking branch 'origin/master' into move-your-car 2024-03-02 01:25:47 -07:00
SteelT
cb21a9c8cd Flicker player and add hitlag when collecting a powerup 2024-03-01 18:03:52 -08:00
AJ Martinez
af06d575fd Set wavedash power everywhere wavedashboost is directly awarded, increase threshold 2024-03-01 17:18:42 -07:00
AJ Martinez
19c62d37b9 Scale wavedash boost power to initial charge, not to remaining boost 2024-03-01 16:41:35 -07:00
AJ Martinez
4f5063f71f Fix sliptide extensions activating out of fast drifts 2024-02-29 18:34:36 -07:00
Oni
786e4a098d Merge branch 'throwdir-restoration' into 'master'
Improve analog handling / input display

See merge request KartKrew/Kart!1967
2024-02-29 10:25:07 +00:00
AJ Martinez
0052d15fc8 Improve analog handling and input display 2024-02-28 20:08:25 -07:00
James R
9d4f57ddfb Auto respawn after 35 tics if distancetofinish jumped too much 2024-02-28 18:13:01 -08:00
James R.
7b6d02509a Merge branch 'fix-lua-command-exploit' into 'master'
Fix Lua command crash exploit

See merge request KartKrew/Kart!1917
2024-02-20 04:20:33 +00:00
Oni
796e2b9517 Merge branch 'bumper-boats' into 'master'
Improved combo escape mechanics in Battle

See merge request KartKrew/Kart!1914
2024-02-12 18:50:20 +00:00
AJ Martinez
c0598610e9 Credit players for deathpits that result from their hits 2024-02-11 21:40:53 -07:00
James R
4ee00d4333 Pass const pointer to all netxcmd handlers
Ensure buffer data is read-only and not modified by
handler
2024-02-11 05:42:07 -08:00
AJ Martinez
e0494d5576 Merge remote-tracking branch 'origin/master' into bumper-boats 2024-02-09 22:32:25 -07:00
Oni
3d3d8bc06c Merge branch 'safecheatcheck-unfuck' into 'master'
Reset cheatchecks when respawns would decrease lap

Closes #972

See merge request KartKrew/Kart!1905
2024-02-06 13:21:29 +00:00
AJ Martinez
92bbd82c73 Add "Move Your Car" for antigrief 2024-02-05 20:09:04 -07:00
AJ Martinez
97dcc33f0d Reset cheatchecks when respawns would decrease lap 2024-02-01 23:34:29 -07:00
AJ Martinez
9231e95101 WIP: Battle combo mitigation rework 2024-01-29 17:02:25 -07:00
toaster
6fdec66dc3 Merge branch 'master' of https://git.do.srb2.org/KartKrew/Kart into srb2-tidy 2024-01-26 00:29:06 +00:00
AJ Martinez
26677c612e WIP: Improved bumper defenses 2024-01-23 22:06:17 -07:00
James R
7d6239e06c Add round end camera system
- Spins and zooms around a center point
- Freezes the level while spinning
- Pans over to follow and object after spinning ends
- Timing and speed completely customizable
2024-01-22 16:42:29 -08:00
James R
e06e0dcb3a Battle: emerald win HUD polish
- Bigger
- Aligned to the Tally boxes
- Each emerald slides in one-by-one over the duration of
  the Tally
- Flash after the final emerald slides into place
2024-01-22 16:42:29 -08:00
AJ Martinez
e867a9ee41 Ring dump transparency 2024-01-20 19:15:09 -07:00
AJ Martinez
98c390cbc5 Expose topAccel to netsave/lua 2024-01-13 20:33:00 -07:00
toaster
1d13cb64c0 Merge branch 'master' of https://git.do.srb2.org/KartKrew/Kart into srb2-tidy
# Conflicts:
#	src/p_mobj.c
2024-01-13 22:08:44 +00:00
Oni
ee03dae01e Merge branch 'unstuck-tripwire' into 'master'
Reduce hitlag, then respawn when trapped in tripwire

See merge request KartKrew/Kart!1805
2024-01-12 02:08:32 +00:00
Oni
7b08c78f1b Merge branch 'reset-cooldowns-when-hurt' into 'master'
Refactor guard/whip cooldown checks

Closes #880

See merge request KartKrew/Kart!1803
2024-01-12 02:07:57 +00:00
wolfy852
53c7999a14 Hardcoding: Cloud player struct variables 2024-01-10 20:37:29 -08:00
toaster
325079a39a Delete everything major flagged up by listunusedsprites
Notable deletions:
- Metal Sonic Race
    - Includes all the specialised recording/playback apparatus which made g_demo.c harder to read
- A bunch of hyperspecialised code inside several A_ actions
- EXCEPTION: intentfully left in the spriteless SMK stuff for Sal's add-on down the line.
2024-01-11 01:21:43 +00:00
AJ Martinez
b2c5502e09 Reduce hitlag, then respawn when trapped in tripwire 2024-01-09 23:08:52 -07:00
AJ Martinez
1a2a2df383 Refactor guard/whip cooldown checks 2024-01-09 20:26:35 -07:00