Commit graph

27392 commits

Author SHA1 Message Date
James R
55fddd2132 objects/mega-barrier.cpp: fix undefined behavior
Calling a class method from a nullptr this is undefined
behavior.
2023-11-17 18:51:21 -08:00
Oni
db36fc516f Merge branch 'basic-replay-cheats' into 'master'
Basic replay/spectator "cheats"

See merge request KartKrew/Kart!1613
2023-11-18 00:57:46 +00:00
Gunla
706c639c70 Merge branch 'fix-splitscreen-director-toggle' into 'master'
Fix director not switching on when a party member enters

See merge request KartKrew/Kart!1639
2023-11-18 00:15:32 +00:00
toaster
dc4e14d9d9 G_DoCompleted: Use gamedata->deferredsave to reduce the number of intermediate gamedata saves 2023-11-17 16:58:38 +00:00
toaster
ce085c3f66 failedtutorialchallenge -> enteredtutorialchallenge
Track ENTERING the challenge, instead of when you fail it
Allows for system-level ironclad prevention against multiple tutorial challenge runs on the same gamedata
2023-11-17 16:54:33 +00:00
toaster
224d584203 Cleanup of P_Ticker gamedata material
- Don't do updates in titlemap
- totalplaytime is leveltime-based
2023-11-17 16:45:03 +00:00
Oni
b8a5f49b1d Merge branch 'fix-powerup-music-after-race-finish' into 'master'
P_DoPlayerExit, P_DoTimeOver: replace Music_StopAll with silent track

Closes #759

See merge request KartKrew/Kart!1642
2023-11-17 09:32:33 +00:00
Oni
9a5515fb31 Merge branch 'empty-kart-fixes' into 'master'
Fix dead karts creating terrain splashes indefinitely; remove fuse but let them be killed

Closes #748

See merge request KartKrew/Kart!1631
2023-11-17 09:32:09 +00:00
James R
46c8b47236 P_DoPlayerExit, P_DoTimeOver: replace Music_StopAll with silent track
- Silent track has priority over level music and
  invinc/grow themes
2023-11-17 01:12:09 -08:00
Oni
c24f10a7e7 Merge branch 'fix-bungee-softlock' into 'master'
Add Obj_EndBungee, end bungee state when P_ResetPlayer and when player is damaged in any way

Closes #760

See merge request KartKrew/Kart!1641
2023-11-17 09:06:06 +00:00
Oni
162aba5a95 Merge branch 'char-sel-tooltips' into 'master'
Character Select: add button prompts for R and C buttons

See merge request KartKrew/Kart!1640
2023-11-17 09:01:54 +00:00
Oni
f54ad00662 Merge branch 'mega-barrier' into 'master'
Mega Barrier

See merge request KartKrew/Kart!1636
2023-11-17 08:53:41 +00:00
James R
686f2e2e9d Add Obj_EndBungee, end bungee state when P_ResetPlayer and when player is damaged in any way 2023-11-17 00:49:26 -08:00
Oni
87bcebb547 Merge branch 'no-midair-wavedash' into 'master'
Stop sliptides midair (resolves #768)

Closes #768

See merge request KartKrew/Kart!1635
2023-11-17 08:33:17 +00:00
Oni
94327e8056 Merge branch 'lua-hook-timing' into 'master'
Add basic profiling for Lua hooks (except HUD hooks)

See merge request KartKrew/Kart!1616
2023-11-17 08:32:20 +00:00
Oni
1a43b5873f Merge branch 'sliptide-jumpscare' into 'master'
Don't draw 1 tic of indicators on dying players

See merge request KartKrew/Kart!1634
2023-11-17 08:26:57 +00:00
Oni
f400a4a236 Merge branch 'fix-permanent-tournament-mode' into 'master'
Fix tournament mode cheat saving (resolves #749)

Closes #749

See merge request KartKrew/Kart!1637
2023-11-17 08:26:24 +00:00
Oni
3a36263296 Merge branch 'fix-gravflip-shields' into 'master'
Fix Thunder/Flame shield in gravity flip (resolves #754)

Closes #754

See merge request KartKrew/Kart!1609
2023-11-17 08:25:59 +00:00
Oni
6f37e4340f Merge branch 'death-visibility' into 'master'
Try to keep death frames on-screen

See merge request KartKrew/Kart!1638
2023-11-17 08:25:11 +00:00
James R
28f1fc7175 Character Select: add button prompts for info and default buttons 2023-11-16 22:30:11 -08:00
James R
5788ea574c Power-up Aura: hide if Mega Barrier is the only power-up 2023-11-16 21:08:30 -08:00
James R
6aa6b8c939 K_AnyPowerUpRemaining: return bit mask 2023-11-16 21:08:30 -08:00
James R
8e23d66540 CL_ClearPlayer, G_PlayerReborn: clear powerup.barrier 2023-11-16 21:08:30 -08:00
James R
1df4094c65 Mega Barrier for Barrier power-up -- just a visual object 2023-11-16 21:08:30 -08:00
James R
9f088f40bb Add Mega Barrier states 2023-11-16 21:08:29 -08:00
James R
254df6bf7e powerupvars_t: add barrier member 2023-11-16 21:08:29 -08:00
James R
0bdbeb9f92 P_SpawnPlayer: always turn director on for spectators
Fixes director sometimes not switching when a party member
enters the game.
2023-11-16 18:53:32 -08:00
James R
7d7110ead7 Let devmode work in replays, let teleport commands work in replay freecam 2023-11-16 18:45:04 -08:00
James R
dd214db693 Let teleport commands work locally, without cheats enabled, for spectators 2023-11-16 18:45:04 -08:00
toaster
e2a3acc99d Track failing the Tutorial Challenge
I do NOT want to touch ACS today, but all the important pieces are now there for this feature
2023-11-16 23:09:41 +00:00
toaster
8e7e1938a8 The ROYGBIV Rangers
Special set of Eggrobo for the Tutorial Challenge
Basically just surface-level stuff but I'm sure we'll get fanart of them beating you up or something
2023-11-16 23:01:59 +00:00
toaster
0762b93ef2 Tutorial skipping challenge - first pass
- Go to a MainCfg-specified map on its guessed gametype
    - `TutorialChallengeMap = RR_ZonedCity`
- Some unique settings
    - K_CanChangeRules() == false
    - If GTR_CIRCUIT, make it Hard Speed
    - If GTR_BUMPERS, die in one hit
    - If GTR_BOTS, make them all difficulty 13 of the default bot skin
    - No Medals or Spray Cans during the Tutorial Challenge
- Complete the stage in 1st place or don't bother at all
- Has the "Give up" menu option available, but no "Try Again"
- Condition for successfully completing the Tutorial Skip
    - `Condition1 = TutorialSkip`

Related bugfixes:
- Correctly wipe skipstats when returning to the Title/menus
- Typing of `ultimatemode` (hey this isn't accessible by anything right now I wonder)
2023-11-16 21:44:52 +00:00
AJ Martinez
5e92177262 Try to keep death frames on-screen 2023-11-16 14:42:15 -07:00
toaster
9f05c199c2 "Give up" pause menu option
Shows up in GP for any eventmode
Skips to the next stage in the queue
2023-11-16 21:12:25 +00:00
AJ Martinez
c4e1a98e6b Fix tournament mode cheat saving 2023-11-16 13:58:06 -07:00
AJ Martinez
46f6f29e32 Nix experimental debug print 2023-11-16 12:55:21 -07:00
toaster
97996d1a22 Merge branch 'master' of https://git.do.srb2.org/KartKrew/Kart into other-progression 2023-11-16 13:46:59 +00:00
toaster
b772a66541 Merge branch 'seesaw-grease' into 'master'
3 secs springgrease on DLZ seeesaw (resolves #720)

Closes #720

See merge request KartKrew/Kart!1632
2023-11-16 12:23:56 +00:00
toaster
13b83e3f09 Merge branch 'fix-director-prank' into 'master'
Fix viewpoint switching to bot in Tutorials (could have been a rare bug in netgames too!)

Closes #758

See merge request KartKrew/Kart!1630
2023-11-16 10:05:23 +00:00
toaster
323975f329 Merge branch 'tutorial-capsules' into 'master'
Allow all capsule spawns in Tutorial (resolves #725)

Closes #725

See merge request KartKrew/Kart!1633
2023-11-16 10:04:13 +00:00
AJ Martinez
fc821b7e8f Stop sliptides midair 2023-11-16 00:35:24 -07:00
AJ Martinez
06ce085e75 Lightning shield too 2023-11-16 00:06:39 -07:00
AJ Martinez
fa4aaaa7cc Zero shield height (they're player-centered now) 2023-11-16 00:06:27 -07:00
AJ Martinez
d6dc6e3541 Merge remote-tracking branch 'origin/master' into fix-gravflip-shields 2023-11-15 23:58:21 -07:00
AJ Martinez
d08170ecea Don't draw 1 tic of indicators on dying players 2023-11-15 23:55:45 -07:00
AJ Martinez
f2b364fd48 Allow all capsule spawns in Tutorial 2023-11-15 23:19:13 -07:00
AJ Martinez
903ed414b8 3 secs springgrease on DLZ seeesaw 2023-11-15 22:55:33 -07:00
James R
72f1414432 MT_KART_LEFTOVER: remove fuse, let it be killed
Gets punted into the air when it's killed.
2023-11-15 20:03:47 -08:00
James R
6d883feadf P_ZMovement: stop empty kart from falling forever, and creating infinite terrain splashes 2023-11-15 19:19:11 -08:00
Oni
9ed05b5c21 Merge branch 'spike-fixes' into 'master'
Bigger wall spikes hitbox, improved collision; entire spike hitbox hurts player, tumbles airborne; renderhitbox papercollision

See merge request KartKrew/Kart!1629
2023-11-16 03:12:44 +00:00