Commit graph

26937 commits

Author SHA1 Message Date
James R
6efa35549b Refactor: separate parts of V_DrawCustomFadeScreen into reusable functions 2024-03-18 02:42:21 -07:00
James R
244d5e1063 Attract: play demo for 30 seconds, starts at random timestamp
- Starting timestamp is not truly "random"
  - Uses a lookup table because I didn't like the PRNG
    distribution
2024-03-18 02:42:21 -07:00
James R
7a5020470d Attract: show music credit on return to title screen 2024-03-18 02:42:21 -07:00
James R
326e560329 Attract: fix attract demos end handling
Fixes two bugs:

- Attract mode carrying over to gameplay if an attract
  demo is allowed to finish without interrupting it
- Credits ending after the first replay ends
2024-03-18 02:42:21 -07:00
James R
0a1f8331fe Attract: no intermission or tally for Attract demos 2024-03-18 01:19:10 -07:00
AJ Martinez
0072170b2e Add SalCRT Sharp 2024-03-17 17:50:29 -07:00
Gunla
9e549d5607 Merge branch 'replay-hud-fixes' into 'master'
Replay HUD fixes; also fix HERE COMES A NEW CHALLENGER in splitscreen

Closes #1172, #1169, #1177, and #1165

See merge request KartKrew/Kart!2125
2024-03-17 22:07:38 +00:00
AJ Martinez
aff5cc05ac Merge branch 'dialogue-pass' into 'master'
Dialogue pass (code side)

See merge request KartKrew/Kart!2126
2024-03-17 22:02:11 +00:00
Gunla
5b20a5df60 Merge branch 'gamespeed-explainer' into 'master'
Include gamespeed / GP difficulty on the Pause menu

See merge request KartKrew/Kart!2124
2024-03-17 21:56:09 +00:00
Gunla
f70fa802e1 Merge branch 'browse-menu-help-text' into 'master'
Add extra help text to Online>Browse menu

See merge request KartKrew/Kart!2123
2024-03-17 21:55:55 +00:00
Gunla
17c055dfd3 Merge branch 'new-record' into 'master'
TA record/playback fixes

Closes #1176

See merge request KartKrew/Kart!2122
2024-03-17 21:55:36 +00:00
Gunla
3d06ede948 Merge branch 'skip-ghost-player-extradata' into 'master'
Allow player extradatas past p0 in ghost demos

Closes #1175

See merge request KartKrew/Kart!2120
2024-03-17 21:53:28 +00:00
Gunla
05007085f5 Merge branch 'debug-time-attack' into 'master'
Time Attack debug tools

See merge request KartKrew/Kart!2118
2024-03-17 21:53:15 +00:00
toaster
80adabc553 GS_TUTORIAL: No player should ever do lightsnake respawn, especially not thinkerless bots
Fixes a handful of rings drifting across the floor of the HVR room in the Rings tutorial
2024-03-17 16:53:31 +00:00
toaster
5d8a86ca55 Dialogue dark mode: Speaker highlight update 2024-03-17 16:47:02 +00:00
toaster
97dfe7a010 Fix speakernamewidthoffset hack to avoid over-spacing Tails' name in menu font 2024-03-17 16:47:02 +00:00
toaster
f89124d7e1 Dialogue box: Dark mode
Legitimately curious if light mode will become an exe mod, AND if whoever does that treats it like a joke or seriously
2024-03-17 16:47:02 +00:00
toaster
4202d5bb71 Rename Spindash in Profiles/Controls to Spin Dash
Matches official parsing
2024-03-17 16:47:02 +00:00
toaster
969611753e Dialogue update (code side)
- Use menu font for speaker's name
- Make the Z input in the top left of the box animate if the dialogue can be closed/go to the next page
- Exempt certain sigils from punctuation delay that look awkward ( + and " )
2024-03-17 16:47:02 +00:00
toaster
2b515fa847 G_DoPlayDemoEx: Fix compiling with ERRORMODE + cleanup
- Additional comments, since this has always been kind of a rat's nest
- Use W_CheckNumForLongName for extensionless string parameter
    - So you can play staffghosts.pk3 lumps via the `playdemo` console command
    - If missing at launch, would have been a regression compared to the previous entry in the series
- Gate the virtres support behind a `#define`
    - This isn't how we're shipping staff ghosts with the game anymore, so this would have been the only way to access them
- SKIPERRORS `#define`: Only show errors if the demo is guaranteed external, instead of suppressing them exclusively if confirmed internal
    - Hides errors for restarting a staff ghost
    - Prevents duplication of errors for restarting an external ghost
2024-03-17 16:34:41 +00:00
AJ Martinez
0302a2c7f4 Room Select: review fixup 2024-03-17 06:10:52 -07:00
James R
abfa7705c1 Fix HUD not disappearing for splitscreen players when 'HERE COMES A NEW CHALLENGER' 2024-03-17 04:57:18 -07:00
James R
2945f41f13 Don't let Tab key hide player name in Time Attack replays 2024-03-17 04:56:21 -07:00
James R
abb3a748d9 Menus/Replay: fix director button disappearing after watching a Time Attack replay then going to Egg TV 2024-03-17 04:55:27 -07:00
James R
d68e7072a2 Lock user out of menu when replay goes to intermission
- Access to the replay menu in intermission leads to
  various problems
  - Broken options
  - HOM effect
- You can press A on the intermission screen to end it
2024-03-17 04:54:02 -07:00
James R
4d9b0a93f2 Draw non-green res. border on replay intermission
- This bug was replay specific
2024-03-17 04:54:02 -07:00
AJ Martinez
1a9dc17945 Merge branch 'finish-line-inaccuracy' into 'master'
Pause waypoint updates while player is touching finish line but not crossing it

Closes #1170

See merge request KartKrew/Kart!2119
2024-03-17 10:40:10 +00:00
AJ Martinez
29149fe3c6 Merge branch 'fix-textures-pwad' into 'master'
Fix addons causing a crash because of texture loading

See merge request KartKrew/Kart!2121
2024-03-17 10:39:18 +00:00
AJ Martinez
3d4f201abd Include gamespeed / GP difficulty on the Pause menu 2024-03-17 02:23:37 -07:00
AJ Martinez
9a92193b2e Add extra help text to Online>Browse menu 2024-03-16 23:40:13 -07:00
AJ Martinez
40a95dbc83 TA record/playback fixes 2024-03-16 21:40:42 -07:00
Eidolon
bcd4a9d93e Allow player extradatas past p0 in ghost demos
In some cases, bogus extradata is written into Record Attack demos,
which causes a crash when attempting to play RA with such a ghost. We
should skip this data too, because only extra real tic data is a problem
for ghost playback, not extradata.

Fixes KartKrew/Kart#1175
2024-03-16 22:59:19 -05:00
James R
dca764e81d R_LoadTexturePwad: fix faulty texture counting
This fixes the game trying to load textures that don't
exist from addons.
2024-03-16 20:47:34 -07:00
James R
eed5ada28c Ring Shooter: do not go backward, go straight to respawn waypoint
There was a bug here that could drop you at the finish
line waypoint. That could be bad because of sight check
discrepancy (see 99656765e).
2024-03-16 17:33:42 -07:00
James R
99656765e5 Pause waypoint updates while player is touching finish line but not crossing it
- Right on the line, P_PointOnLineSide may disagree with
  P_TraceWaypointTraversal.
- If this happens, nextwaypoint may update ahead of the
  finish line before the player crosses it.
- This bloats the finish line distance and triggers lap
  cheat prevention, preventing the player from gaining a
  lap.
- Since this only seems like it can happen very near to
  the line, simply don't update waypoints if the player is
  touching the line but hasn't crossed it.
- This will cause distancetofinish to jump but only for a
  very short distance (the radius of the player).
2024-03-16 06:50:16 -07:00
James R
e32d8b58d8 DEVELOP: add fastforward command, skip ahead to a specific map time 2024-03-16 06:47:10 -07:00
AJ Martinez
e1f4aef2ef Merge branch 'fix-mute-musicdef' into 'master'
Don't show music credit on the pause menu if music is muted

Closes #1154

See merge request KartKrew/Kart!2112
2024-03-16 10:26:02 +00:00
James R
2d4f590cce Draw debug HUD in Time Attack, includes overhead messages 2024-03-15 22:01:38 -07:00
James R.
7088003f05 Merge branch 'fix-replay-standings-online' into 'master'
Fix standings not saving in online replays

Closes #1161

See merge request KartKrew/Kart!2114
2024-03-16 04:44:43 +00:00
James R.
6413bacf57 Merge branch 'fix-spb-toggle-button' into 'master'
Level Select: fix misaligned SPB Attack toggle hint

Closes #1164

See merge request KartKrew/Kart!2117
2024-03-16 04:44:05 +00:00
AJ Martinez
9bf3fa36e9 Merge branch 'fix-double-continues' into 'master'
GP: do not apply continue logic twice if losing player waits out the tally

Closes #1158

See merge request KartKrew/Kart!2110
2024-03-16 04:03:19 +00:00
AJ Martinez
61aa324694 Merge branch 'thin-timer-lives' into 'master'
Fix lives counter font

See merge request KartKrew/Kart!2107
2024-03-16 04:02:29 +00:00
AJ Martinez
bb7c00171c Merge branch 'continuous-music-option' into 'master'
Continous Attack Music option

See merge request KartKrew/Kart!2105
2024-03-16 04:02:24 +00:00
AJ Martinez
d8ae4d9550 Merge branch 'staff-ghost-fixes' into 'master'
Fix staff ghost bugs

See merge request KartKrew/Kart!2115
2024-03-16 04:02:19 +00:00
AJ Martinez
dd60dc1e3a Merge branch 'cd-fx-finale' into 'master'
Prison CD: final visibility changes

Closes #1133

See merge request KartKrew/Kart!2103
2024-03-16 04:02:10 +00:00
AJ Martinez
78f55003b5 Merge branch 'fix-map-command-ghost-crash' into 'master'
Free ghosts when level data is freed

Closes #1163

See merge request KartKrew/Kart!2108
2024-03-16 04:02:01 +00:00
AJ Martinez
c53ad541ab Merge branch 'spectator-hud-spacing' into 'master'
Fix spectator HUD spacing

Closes #1162

See merge request KartKrew/Kart!2111
2024-03-16 04:01:55 +00:00
AJ Martinez
06d1d899bc Merge branch 'fix-directional-lighting-4p' into 'master'
Software: krangle directional lighting in 3P/4P splitscreen

See merge request KartKrew/Kart!2106
2024-03-16 04:01:50 +00:00
AJ Martinez
fea518d1e1 Merge branch 'fix-vote-chat' into 'master'
Vote: ignore inputs while chat is open

Closes #1160

See merge request KartKrew/Kart!2113
2024-03-16 04:01:42 +00:00
AJ Martinez
ecf44cf53c Merge branch 'fix-ta-digits' into 'master'
HUD: always use double digits for "Finish" and "Best Lap" timestamps

See merge request KartKrew/Kart!2116
2024-03-16 04:01:37 +00:00