Commit graph

24940 commits

Author SHA1 Message Date
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
033edd0c75 Level Select: fix misaligned SPB Attack toggle hint
What was this flag even doing here?
2024-03-15 17:45:15 -07:00
James R
5a7c8c3eb2 HUD: always use double digits for "Finish" and "Best Lap" timestamps
Minor oversight
2024-03-15 05:17:48 -07:00
SteelT
e7f2afdcb2 Fix RNG sync when in attract mode
P_ResetLevelMusic is not called during attract mode to advance the MUSICSELECT RNG
Resulting a warning (although harmless) about playback sync
2024-03-15 03:14:50 -04:00
James R
5ffe957676 Fix staff replay loading using only the first 8 chars of the lump name
- This was causing Aquatic Cathedral and Aqua Tunnel staff
  replays to get confused for one another
  - Because for both RR_AQUATICCATHEDRAL and
    RR_AQUATUNNEL, the first 8 chars are RR_AQUAT
- Now uses the lump id directly instead of the name, which
  entirely circumvents the problem
- Fixed:
  - Time Attack menu "Replay Staff" option
  - Attract mode
  - Credits
2024-03-14 22:58:12 -07:00
James R
ae30e1d138 Menus/Time Attack: fix staff replay selector getting stuck
- If you viewed a map with multiple staff ghosts and moved
  the selector
- Then viewed a map with only one staff ghost
- Then went back and viewed a map with multiple
- The selector would get stuck on only the first option
2024-03-14 22:52:29 -07:00
James R
ecae138f0e Y_CalculateMatchData: only overwrite demo extrainfo section if there is standings data to save 2024-03-14 07:52:30 -07:00
James R
ef69ed8b8d Vote: ignore inputs while chat is open 2024-03-14 06:54:42 -07:00
James R
fe878e6d6a Menus/Pause: never show musicdef if music is muted
- If music is muted after the musicdef appeared, the text
  would get frozen in its current state
- Don't draw the frozen state
2024-03-14 06:44:48 -07:00
James R
ea5c589f18 HUD: adjust position of director controls
- Do not collide with player name
- Do not avoid colliding with lap number
  - Lap number is still very readable even when it's
    heavily obscured
2024-03-14 06:28:01 -07:00
James R
0e7b4c0987 HUD: 4P viewpoint text in bottom corners 2024-03-14 06:26:16 -07:00
James R
a7ca3c1768 HUD: switch viewpoint text to thin font if it becomes too wide
- 200 px limit in Race (GTR_CIRCUIT)
- 100 px limit in Battle (GTR_BUMPERS)
2024-03-14 06:23:27 -07:00
James R
480bf237c9 DEVELOP: let eliminatelast be turned off in GP
- This is very useful for testing losses
2024-03-14 02:20:19 -07:00
James R
93667eebb0 GP: do not apply continue logic twice if losing player waits out the tally
- If you lost and waited for TRY AGAIN to finish and
  automatically restart the map (did not touch Retry in the
  pause menu)
- Doing this would add TWO continues to your rank
  calculation and nerf the bot difficulty twice
- Did not affect lives at all
2024-03-14 02:16:57 -07:00
James R
630e02217d Free ghosts when level data is freed 2024-03-14 01:27:16 -07:00
James R
c023859cc7 HUD: speedometer uses same sticker as rest of HUD elements 2024-03-14 00:51:20 -07:00
James R
b058098f38 HUD: lives counter uses same font as rings 2024-03-14 00:49:28 -07:00
James R
368bc1f634 Software: krangle directional lighting in 3P/4P splitscreen 2024-03-14 00:06:52 -07:00
Oni
1da7a5c1da Merge branch 'disclaimer-introscene' into 'master'
Disclaimer intro scene

See merge request KartKrew/Kart!2104
2024-03-14 06:19:54 +00:00
James R
bc95a34067 Menus/Options: only use three ??? question marks for locked secrets
- Only Continuous Attack Music uses this right now
2024-03-13 22:46:29 -07:00
James R
d3034bba54 Menus/Sound Options: add Continuous Attack Music option
- On by default (current behavior)
- Off
  - Restart music in Attack modes
  - Also plays POSITION music
2024-03-13 22:43:35 -07:00
James R
74a04f0ab0 Menus/Sound Options: remove Reverse L/R Channels option
- This literally doesn't work
2024-03-13 22:40:52 -07:00
AJ Martinez
ebdb250c73 Disclaimer: Draw the rest of the owl 2024-03-13 22:33:19 -07:00
James R
fa6eee9a90 Prison CD: final visibility changes
- CD spawns instantly
- 3x scale, scale down to 1x over 1 second
- Do not pickup instantly
- Afterimages in the air, additive
- Thrown arc straight upward, less high if player is
  closer
2024-03-13 21:52:55 -07:00
AJ Martinez
f1cc7270f9 Disclaimer: add word-wrapped legalese 2024-03-13 19:54:12 -07:00
Oni
b943d8d088 Merge branch 'addon-settings' into 'master'
Addon Options from pause menu

Closes #1153

See merge request KartKrew/Kart!2096
2024-03-14 01:32:49 +00:00
Oni
d0d948e451 Merge branch 'yet-fewer-bot-maintenance' into 'master'
Yet fewer bot maintenance

Closes #966, #899, #875, and #818

See merge request KartKrew/Kart!2102
2024-03-14 01:32:42 +00:00
Gunla
2deed35c18 Merge branch 'ring-racers-mac-icon' into 'master'
Add new Ring Racers app icon for macOS

See merge request KartKrew/Kart!2082
2024-03-13 23:50:09 +00:00
Gunla
6fe3cd301f Merge branch 'fix-splat-fullbright' into 'master'
Splats: fix fullbright / RF_NOCOLORMAPS still using sector colormap (underwater)

See merge request KartKrew/Kart!2100
2024-03-13 23:49:33 +00:00
Gunla
0212191839 Merge branch 'tutorial-spectate-debug' into 'master'
Freecam spectator fixes; Tutorial spectator debugging

See merge request KartKrew/Kart!2098
2024-03-13 23:49:25 +00:00
AJ Martinez
2e7898e430 Merge remote-tracking branch 'origin/master' into disclaimer-introscene 2024-03-13 15:43:09 -07:00
AJ Martinez
3490aefa35 Merge branch 'tally-ff' into 'master'
Fast-forward through tally screen in GP

Closes #793

See merge request KartKrew/Kart!2094
2024-03-13 22:21:02 +00:00
AJ Martinez
af6cf15537 Merge remote-tracking branch 'origin/master' into yet-fewer-bot-maintenance 2024-03-13 05:46:42 -07:00
AJ Martinez
65cee65b47 Merge branch 'battle-director' into 'master'
Director in Battle; Director toggle in replays

Closes #975

See merge request KartKrew/Kart!2091
2024-03-13 12:43:40 +00:00