Commit graph

26155 commits

Author SHA1 Message Date
toaster
5c6ecc7367 Since we're polishing advancemap, let's also make it so the Pause menu Gametype switch doesn't set up the Voting screen if it's anything other than advancemap vote 2024-01-07 22:21:11 +00:00
toaster
527492610a Fix inttime 0
Important testing apparatus while working on the previous commit
2024-01-07 22:02:09 +00:00
toaster
cb133da7e2 g_game.c: Outside of dedicated, don't visit Courses that aren't menu-selectable
Applies to the following
- G_RandMap
    - Voting
    - Title Demos
    - Challenge Board
    - `advancemap random`
- G_GetNextMap
    - `advancemap next`
        - This was previously completely broken for gametypes other than Race!?
2024-01-07 21:46:59 +00:00
Oni
b064d133f1 Merge branch 'lat-fix' into 'master'
Address DLZ and turbine issues

See merge request KartKrew/Kart!1791
2024-01-07 19:22:41 +00:00
Oni
74298b3abf Merge branch 'final-failsafe' into 'master'
Final failsafe, for when Ring Shooter fails

See merge request KartKrew/Kart!1794
2024-01-07 19:22:28 +00:00
toaster
8f2c8b4a5d OVERSIGHT: Challenges board should be checking locked courses for M_DrawChallengePreview, too 2024-01-07 14:47:12 +00:00
toaster
e1d0db1175 Do not interpolate GP Backup indicator with cursor (resolves #839) 2024-01-07 14:34:53 +00:00
toaster
7916a6e1cb UC_UNLOCKPERCENT: Only evaluate when not in-game
- M_MapLocked uses netgame state, so too easy to get Test Run early (resolves #859)
- Major iteration of unlockable structs and related, so may also confer a performance benefit
2024-01-07 14:03:06 +00:00
toaster
4994ceef2c Gamedata: A Course only needs to be beaten to be stored as an unloaded mapheader record, not need FinishNeeded/a Time Attack record 2024-01-07 13:59:42 +00:00
toaster
21e2be41db M_DrawCupPreview: Show static in place of courses which would not be accessible via Match Race (visitation/head of cupcache/NoVisitNeeded) 2024-01-07 13:58:24 +00:00
toaster
83366b6507 More universal Course restriction based on progression
All courses are restricted in Match Race/Time Attack/Online if not visited in GP UNLESS:
- It is the first Race Course of a Cup
- Course has "NoVisitNeeded = True`
    - The Controls Tutorial and Test Run are the only two stages that will need this

The above replaces:
- A lot of restricted courses having to be marked with `FinishNeeded = True`
    - Hidden Palace
    - Sealed Stars 1-14
        - Once Special Mode is unlocked, it will now be possible to practice Sealed Stars before rematching them in GP
- Almost all Tutorial-specific behaviour, since it was heinously hacky

HOWEVER, `FinishNeeded = True` was left in specifically for future releases, and I reserve the right to use it on Adventure Example again before launch.
2024-01-07 13:57:05 +00:00
AJ Martinez
97d58b7d29 Final failsafe, for when Ring Shooter fails 2024-01-07 02:49:26 -07:00
Oni
bc60668f27 Merge branch 'turbine-dash-ring-unfuck' into 'master'
What the fuck are turbines (resolves #724 probably)

Closes #724

See merge request KartKrew/Kart!1789
2024-01-07 08:52:51 +00:00
Oni
db421b68e8 Merge branch 'battle-unfuck-xiv-special' into 'master'
BATTLE UNFUCK XIV SPECIAL

Closes #866, #849, #847, #853, #856, #861, #850, #863, and #864

See merge request KartKrew/Kart!1790
2024-01-07 08:49:46 +00:00
AJ Martinez
85b0c41308 Fix typo breaking multiplayer whip sphere decay 2024-01-06 16:30:37 -07:00
toaster
601b39378d Precache static level graphics 2024-01-06 23:17:45 +00:00
AJ Martinez
d807921489 Allow fastfall whip 2024-01-06 15:05:25 -07:00
AJ Martinez
064757c450 Don't black flash after ebrake in Race 2024-01-06 15:03:01 -07:00
AJ Martinez
71b9c5358e Disable Rhythm Badge in painstates 2024-01-06 14:59:09 -07:00
toaster
9e3ca7a59b M_PickMenuBGMap: Change to work off map ID
Guarantees successful update when invalidated by level replacement
2024-01-06 16:56:44 +00:00
AJ Martinez
79eb400f49 0 flashtics in Battle 2024-01-06 06:38:04 -07:00
AJ Martinez
f092e9283c Fix Invincibility extensions, uh, 2024-01-06 06:06:59 -07:00
AJ Martinez
0a9787054f Increase sphere pity when hit (5->10) 2024-01-06 05:25:55 -07:00
AJ Martinez
e8617c8893 Don't decay below 5 spheres (1/2 bar) 2024-01-06 05:18:49 -07:00
AJ Martinez
0529b740d9 Use guard input, not state, to cancel whip charge (barrier fix) 2024-01-06 05:15:51 -07:00
Lat
94e7a8e897 Change respawn check on turbines, unset tracer if respawnstate is set mid-turbine somehow 2024-01-06 13:09:01 +01:00
Lat
8c525621c8 Fix wrong variable assignment and literally decrementing the wrong variable on dlz rockets 2024-01-06 13:04:11 +01:00
AJ Martinez
bc4859cf75 Also tumble on guarding whip 2024-01-06 05:00:09 -07:00
James R
670b3995f1 Monitor: extend death state so sound doesn't cut off
see a982b3bf6
2024-01-06 02:08:07 -08:00
James R
1666047f30 HUD tracking: only display Super Flicky tracker if Flicky can be whipped 2024-01-06 01:41:36 -08:00
James R
2188338a7e HUD tracking: refactor visibility checks
- Completely invisible trackers should not appear in
  tracker list, because they would occlude
- Add Visibility::kFlicker, so frame check is not
  duplicated
2024-01-06 01:41:36 -08:00
James R
e58253a2b2 Battle: do not spawn UFO during Overtime 2024-01-06 01:41:36 -08:00
James R
4d334a2bb9 Battle: fix alternate Overtime music not playing 2024-01-06 01:41:36 -08:00
James R
08dc00ea88 Battle: add battlespawn cheat, spawn every player at the same spawnpoint 2024-01-06 01:41:36 -08:00
James R
db0175a94d Battle: add barriertime cheat, change Overtime Barrier shrink speed for testing 2024-01-06 01:41:36 -08:00
AJ Martinez
bb8b308312 Block Rhythm Badge activation when holding items 2024-01-06 02:19:30 -07:00
AJ Martinez
aad37bbfbb Put whip on cooldown when inputting guard/ebrake 2024-01-06 02:14:28 -07:00
AJ Martinez
a982b3bf63 Monitor damage sounds 2024-01-06 02:03:40 -07:00
AJ Martinez
dd71c81b24 Battle: reduce damage hitlag + monitor hitlag 2024-01-06 01:56:27 -07:00
AJ Martinez
76a42ca44f Lower speed increase from spheres (100%->66%) 2024-01-06 01:45:30 -07:00
AJ Martinez
b74cecff59 Drain spheres when charging instawhip 2024-01-06 01:41:33 -07:00
AJ Martinez
ad48d3ac2c Directly tumble players when guard breaking 2024-01-06 01:37:06 -07:00
AJ Martinez
0cd3c26b8b Don't show item box preview holograms if they aren't going to spawn 2024-01-06 01:08:26 -07:00
AJ Martinez
cb11627bb5 Half screenshake in Battle 2024-01-06 00:50:47 -07:00
Oni
10f8bb5a3f Merge branch 'battle-release' into 'master'
Battle is (almost) ready for release

Closes #681

See merge request KartKrew/Kart!1788
2024-01-06 06:08:28 +00:00
James R
967cb65124 Battle UFO: extend hitbox down by 1/4 2024-01-05 21:00:42 -08:00
James R
2bdb7d4349 Battle UFO: power-up drops take player momz, pick up immediately 2024-01-05 20:59:18 -08:00
James R
e07fbd9a6e Do not spawn digits for overhead item display
This fixes desyncs in Battle when picking up stacks of
items :D
2024-01-05 19:39:25 -08:00
James R
d0259b0896 Super Flicky: speed changes
- Slows down when close to its target
- Slow when stunned (whipped or blocked)
- Stun time increased
  - Whip: 5s -> 10s
  - Block: 1s -> 5s
- Blocking launches the Flicky into the air
2024-01-05 18:34:46 -08:00
James R
07e53b7b50 Battle: lose 5 spheres on guard instead of 10 2024-01-05 18:34:02 -08:00