Commit graph

26883 commits

Author SHA1 Message Date
toaster
0182d2cb43 Don't draw invalid Grade in Match Race Tab Rankings
Here because it was extremely overt in Tutorial Challenge
2024-03-21 22:13:56 +00:00
toaster
fd2167e29c Profile Edit: Make the tooltip for "Character" dependent on whether you've gotten any Spray Cans.
I imagine people might have been confused by not being able to select their desired skincolour
2024-03-21 22:13:07 +00:00
toaster
72472d6ae1 If the first Spray Can you pick up is in a tutorial context and your profile's skincolor is Default, set it to the Spray Can's colour!
Makes Eggman's "what's your favourite colour" line even stronger.
2024-03-21 22:11:24 +00:00
toaster
e7bdc073ed Fix x coords of character select explosions in Profile version of the menu (resolves #1182) 2024-03-21 22:10:54 +00:00
toaster
e82a626d45 G_LoadDemoInfo: Fix for compilation-halting buffer overrun 2024-03-21 22:07:15 +00:00
toaster
6a08198477 Merge branch 'fix-interp-sped-up-tics' into 'master'
Fix titlemap camera bug

Closes #799

See merge request KartKrew/Kart!2129
2024-03-21 21:55:02 +00:00
toaster
42bb64f813 Merge branch 'prisons-kickstartaccel' into 'master'
Fix y coord of Kickstart Accel "silver dorito" in battleprisons

See merge request KartKrew/Kart!2143
2024-03-21 21:54:29 +00:00
toaster
7e063f68df Merge branch 'intro-kkd' into 'master'
Improvements to Kart Krew Dev splash

See merge request KartKrew/Kart!2142
2024-03-21 21:54:03 +00:00
toaster
0a09f4dd05 Improvements to Kart Krew Dev splash
- Drop down the team's name under the logo, with mildly pleasing Chaotix sound
- Add fading in/out 11 years anniversary message
- For first boot, only use Eggman's voice clip
2024-03-21 21:53:08 +00:00
toaster
ac140f1dce Merge branch 'intro-fix' into 'master'
Intro skip fix

Closes #1184

See merge request KartKrew/Kart!2141
2024-03-21 21:52:58 +00:00
Gunla
4500558f7e Merge branch 'demo-name-buffers' into 'master'
Support longer player names, follower ids and colors in replays

Closes #1168

See merge request KartKrew/Kart!2139
2024-03-21 02:50:21 +00:00
Gunla
3eba568fc1 Merge branch 'connection-quality-visual' into 'master'
drawPing: Colored border packet loss indicator

See merge request KartKrew/Kart!2133
2024-03-21 02:49:52 +00:00
Gunla
e81a148db1 Merge branch 'fix-useless-whip-charge' into 'master'
Hide useless instawhip charge between picking up and confirming item boxes

See merge request KartKrew/Kart!2138
2024-03-21 02:48:25 +00:00
toaster
786eebfadc Fix y coord of Kickstart Accel "silver dorito" in battleprisons 2024-03-21 01:17:40 +00:00
toaster
10681e7d6f Fix x offset of Kart Krew Dev logo (resolves #1184) 2024-03-20 12:11:41 +00:00
toaster
1c971660a9 Rework intro skipping
- Pressing/holding any input will now skip only ONE screen of the Intro, like a REAL VIDEOGAME
- Allow you to skip before the end of INTROSCENE_DISCLAIMER, but only once the text has been solid for half a second
- Fix regression re exiting title demos after using -skipintro command line parameter
    - intro_scenenum was stuck at 0, so the game was softlocked!
2024-03-19 22:03:09 +00:00
toaster
15344f56cd Intro disclaimer: Use the same datatype for dc_lasttime as intro_curtime so the final fadeout isn't uncapped 2024-03-19 22:00:08 +00:00
AJ Martinez
b7825dba88 Merge branch 'sort-staff-replays' into 'master'
Sort staff replays

Closes #1171

See merge request KartKrew/Kart!2137
2024-03-19 12:30:48 +00:00
James R
60a1ac320a Replays: support old demo format 0x0009
- Old staff ghosts remain compatible
2024-03-19 01:25:56 -07:00
James R
5445d59d57 Replays: larger buffers for player name, skin name, color name; bump demo version 0x0009 -> 0x000A
- Name buffers are the same size as everywhere else
  - Billiards Cactus no longer gets cut short
  - Long player names no longer get cut short
- System in place to allow easily changing the buffer
  sizes across all the demo code
2024-03-19 01:23:51 -07:00
AJ Martinez
628be3950f Hide useless instawhip charge between picking up and confirming item boxes 2024-03-19 01:22:44 -07:00
James R
2cb62c8663 devmode replay: show demo format version 2024-03-19 01:12:59 -07:00
James R
92bc1c2a17 Sort staff replays
- This lets the 1st replay on the "Replay Staff" selector
  actually be the fastest one
2024-03-18 22:16:12 -07:00
AJ Martinez
4d4f6f3bdd Merge branch 'fix-splitscreen-tally-ff-inter-music' into 'master'
Intermission: Don't retrigger music, even if tally ffwd sets countdown

See merge request KartKrew/Kart!2136
2024-03-19 03:51:16 +00:00
AJ Martinez
33b73f5121 Merge branch 'fix-replay-input-vflip' into 'master'
Input display: fix flipped vertical inputs when reading ticcmds

Closes #1157

See merge request KartKrew/Kart!2135
2024-03-19 03:51:08 +00:00
AJ Martinez
d7030fd912 Merge branch 'tally-ff-intermission-music' into 'master'
Tally: Fix intermission music being played on rounds without intermissions

Closes #1178

See merge request KartKrew/Kart!2134
2024-03-19 03:50:58 +00:00
AJ Martinez
6af971cd45 Merge branch 'fix-debug-item-default-value' into 'master'
debugitem: fix default value

See merge request KartKrew/Kart!2132
2024-03-19 03:50:52 +00:00
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