Commit graph

26956 commits

Author SHA1 Message Date
AJ Martinez
e369bbc538 Merge branch 'cpu-names-conflict' into 'master'
CPU Naming conflict

See merge request KartKrew/Kart!2131
2024-03-19 03:50:44 +00:00
AJ Martinez
604d4d21db Intermission: Don't retrigger music, even if tally ffwd sets countdown 2024-03-18 20:23:27 -07:00
AJ Martinez
dc31ae20c6 Input display: fix flipped vertical inputs when reading ticcmds 2024-03-18 19:56:02 -07:00
AJ Martinez
c7aac9f119 Merge branch 'prison-pickup-clown' into 'master'
Prison Pickup Clown

See merge request KartKrew/Kart!2130
2024-03-19 02:10:58 +00:00
AJ Martinez
57e7a735ce drawPing: Remove packet loss debug condition 2024-03-18 18:43:19 -07:00
AJ Martinez
17cd1550a1 Tally: Fix intermission music being played on rounds without intermissions 2024-03-18 18:38:41 -07:00
AJ Martinez
50aadee23e drawPing: Colored border packet loss indicator 2024-03-18 18:08:48 -07:00
AJ Martinez
858eecaef3 Merge branch 'attract-fixes' into 'master'
Attract mode and Credits fixes

Closes #1053, #1166, and #1167

See merge request KartKrew/Kart!2128
2024-03-19 00:46:53 +00:00
AJ Martinez
2d2dd3fbe1 Merge branch 'two-trucks' into 'master'
Add SalCRT Sharp

See merge request KartKrew/Kart!2127
2024-03-19 00:04:49 +00:00
James R
3f5a9f85de debugitem: fix default value 2024-03-18 15:56:47 -07:00
toaster
a161df579f EnsurePlayerNameIsGood: Remove trailing whitespace, instead of just failing on it
Interesting error with its recursive duplication resolving exposed by the previous commit!
2024-03-18 19:24:42 +00:00
toaster
a4cec98c26 K_SetNameForBot
Func specifically for setting name for CPU players.
Lets anything go in offline mode, as per previous behaviour.
In online mode, attempts to append a slot-specific char before running EnsurePlayerNameIsGood (which removes characters at the end if a pre-existing match is found).
2024-03-18 19:23:55 +00:00
toaster
1ef3063772 EnsurePlayerNameIsGood: Only evaluate strlen once
Also has a slightly better chance of conflict avoidance for its absolute worst case scenario
2024-03-18 19:17:34 +00:00
toaster
d2ddeb65f2 M_UpdateNextPrisonEggPickup: Stop trying to be so pre-optimised and just do the job plainly
Should resolve the crash which for some reason doesn't have an issue to reference here

Also, for `debugprisoncd On`:
- Extensive debug logging
- Disable the "if all achieved, still force a pre-existing CD" behaviour
    - The list is empty if you've achieved every Prison CD and then restart the game, so it wasn't consistent at always making something. Without that kind of reliability I think it's more important for it to just be a fastforward
2024-03-18 14:11:33 +00:00
James R
95216563a6 Interp: do not update view interpolation state during sped-up tics
- If you called R_ResetViewInterpolation once but G_Ticker
  got called more than once, then the effect of
  R_ResetViewInterpolation would be cancelled
- This should be a comprehensive solution to the titlemap
  camera bug
- Multiple tests:
  - -skipintro
  - -warp, then exit to title
  - map command, then exit to title
  - Wait for attract demo, then skip and exit to title
2024-03-18 04:15:52 -07:00
James R
f1df1b8555 Attract, Credits: do not spend more than 2 seconds real time skipping forward in a replay 2024-03-18 02:42:22 -07:00
James R
0ce93b2d96 Add g_fast_forward_clock_stop, means to end g_fast_forward early if too much real world time is taken 2024-03-18 02:42:22 -07:00
James R
4281cd1283 Attract: fade out and timescale at end of demo
- Do not use a wipe so player can keep moving while fading
  out
- Timescale by half for a "slowdown" effect
2024-03-18 02:42:21 -07:00
James R
7abe285f84 Refactor: replace references to cv_timescale with I_GetTimeScale 2024-03-18 02:42:21 -07:00
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