Commit graph

26456 commits

Author SHA1 Message Date
toaster
c299831737 Fade out characters you haven't unlocked yet in Time Attack demos exclusively
- Objects
- Minimap
All other HUD items need to be done manually, but the lives icon doesn't show up in time attack so this minimum should be fine
2024-03-05 13:33:24 -08:00
toaster
96a6fe85f1 G_LoadDemoSkins: Actually pass the skin name to R_SkinAvailableEx, idiot
Fixes the reported Emerl issue
2024-03-05 13:21:38 -08:00
toaster
9b9c2cbcb6 M_EndModeAttackRun: Fix recursivity issue that resulted in natural ends to replays losing track of restoreMenu 2024-03-05 13:21:38 -08:00
toaster
7f0df71558 R_SkinAvailableEX
- Most R_SkinAvailable calls should be returning index into demo.skinlist (same numerical value as when demo was recorded), for demo sync
- A handful of general things permit exception for this
- Expose `replaynumskins` (calculated as `(demo.playback ? demo.numskins : numskins)`) to Lua
    - There's *always* more that can be done for this, but this is the minimum spec that can at least be somewhat stable
2024-03-05 13:21:38 -08:00
toaster
24b850a492 LoadRecordGhosts: Use local unlock state, not consoleplayer availabilities (which might not be set yet) to determine whether a ghost should be visible 2024-03-05 13:21:38 -08:00
toaster
2bfcfeb560 Fix Skin unlocks at the beginning of replays
- DXD_JOINDATA: Actually correctly write demo data
- SetPlayerSkinByNum, bot skin iteration code: Use demo skinlist index instead of actual skin ID
2024-03-05 13:21:38 -08:00
James R.
e7fed5d7b5 Merge branch 'fov-slider' into 'master'
Add FOV option to Profiles Accessibility menu

See merge request KartKrew/Kart!2015
2024-03-05 21:13:06 +00:00
James R.
58c48d5c1f Merge branch 'party-stats-fixes' into 'master'
Party stats fixes

See merge request KartKrew/Kart!2020
2024-03-05 21:03:52 +00:00
Eidolon
fb3beef84c Only do replay save btn for machine-local players 2024-03-05 14:49:51 -06:00
Eidolon
3386c70f9c Record skin wins only for machine local players 2024-03-05 14:49:18 -06:00
Eidolon
6023fa4825 Only record tumble time for machine local players 2024-03-05 14:48:09 -06:00
James R
e86ae4b22b G_AddGhost, G_GetStaffGhostBrief: fix bugged unlockables code
This was causing the following crash:

    I_Error(): Ghost is not a record attack ghost DXD (ziptic = 1)
2024-03-05 02:56:37 -08:00
AJ Martinez
50624546cc Merge branch 'rename-drawinput' into 'master'
Menus/Accessibility: Input Display Yes/No -> On/Off

See merge request KartKrew/Kart!2016
2024-03-05 08:24:31 +00:00
James R
e5059bfced Menus/Accessibility: Input Display Yes/No -> On/Off 2024-03-05 00:15:07 -08:00
James R
df2e4f57fd Menus/Accessibility: add FOV option, 70 to 110
Adds FOV to profiles json
2024-03-04 22:11:35 -08:00
AJ Martinez
deb5bfdafa Merge branch 'game-would-have-crashed' into 'master'
Remove GAME WOULD HAVE CRASHED console message, remove `RANGECHECK`

See merge request KartKrew/Kart!2002
2024-03-05 05:42:42 +00:00
AJ Martinez
6ff9fee9fc Merge branch 'capcom' into 'master'
Display help for Garden Top + Bubble Trap

See merge request KartKrew/Kart!2009
2024-03-04 23:24:28 +00:00
AJ Martinez
1345439d7c Merge branch 'item-roulette-numbers' into 'master'
Roulette numbers when the roulette can give you more than 1 of an item

Closes #974

See merge request KartKrew/Kart!2010
2024-03-04 23:24:15 +00:00
James R
c3f852ddaf Draw numbers for roulette items that give more than 1
- Bottom centered
- Except orbinaut x2, x3, x4
- Except ballhog x5
2024-03-04 06:05:55 -08:00
James R
9a7af6c592 srb2::Draw: add fonts kRollingNum and kRollingNum4P 2024-03-04 01:42:29 -08:00
AJ Martinez
5178dee5a3 Missing newline 2024-03-04 01:20:16 -07:00
AJ Martinez
14beff2f55 Snap BUBBLESHIELDTRAP to toucher when touched (fixes visual disjoint) 2024-03-04 01:17:17 -07:00
AJ Martinez
7ef793e0f8 Only draw HUD help for correct view 2024-03-04 01:16:55 -07:00
AJ Martinez
1c78a7ebeb Improve HUD-track control help clarity 2024-03-04 00:31:22 -07:00
AJ Martinez
9ee58e4f7e Add hud-tracked context help for Bubble Trap and Garden Top 2024-03-04 00:20:30 -07:00
Oni
bab29c7164 Merge branch 'fix-ghosts' into 'master'
Fix G_AddGhost and G_GetStaffGhostBrief to handle unlockables and mapmusrng

See merge request KartKrew/Kart!2008
2024-03-04 07:19:52 +00:00
Oni
492b3df1a9 Merge branch 'restart-time-attack-prompt' into 'master'
Time Attack HUD tweak

See merge request KartKrew/Kart!2004
2024-03-04 07:07:02 +00:00
Oni
3b80ae5d19 Merge branch 'fix-alt-title' into 'master'
Fix Alternate Title Screen unlockable not saving preference

Closes #1111

See merge request KartKrew/Kart!2007
2024-03-04 07:04:05 +00:00
James R
4e763a058e Fix G_AddGhost and G_GetStaffGhostBrief to handle unlockables and mapmusrng 2024-03-03 22:39:16 -08:00
Oni
840f5b7998 Merge branch 'server-options-expander' into 'master'
Add bot and PWR options to Server Options

Closes #922 and #921

See merge request KartKrew/Kart!2006
2024-03-04 06:35:41 +00:00
James R
5fbb32442b Fix Alternate Title Screen unlockable not saving preference
- Remove CV_NOSHOWHELP, so the config file can load
- Do not stealth set the cvar, so it is not dependent on
  order of operations of config loading and challenge
  loading
2024-03-03 22:20:12 -08:00
AJ Martinez
f26b7bc7f7 Merge branch 'fix-high-invinc-extension' into 'master'
Remove invinc extension hard cap

See merge request KartKrew/Kart!2005
2024-03-04 05:32:49 +00:00
AJ Martinez
0dec816ec9 Don't use matchbots dummy cvar when starting netgames 2024-03-03 22:24:33 -07:00
AJ Martinez
6bd10fc708 Merge branch 'buffered-input-hell' into 'master'
Don't clear inputs at level load or during wipes

Closes #1099

See merge request KartKrew/Kart!2001
2024-03-04 05:14:56 +00:00
AJ Martinez
6987e6516d Add bot and PWR options to Server Options 2024-03-03 21:23:32 -07:00
AJ Martinez
92ada45f75 Remove invinc extension hard cap 2024-03-03 19:49:16 -07:00
James R.
69e8a26eaa Merge branch 'fix-invinc-spindash-crack' into 'master'
Don't allow spindash above max power

Closes #1105

See merge request KartKrew/Kart!1998
2024-03-04 02:46:04 +00:00
James R.
b7136281e5 Merge branch 'remove-spirit-oni' into 'master'
Fix out-of-bounds hitlag sounds

See merge request KartKrew/Kart!2003
2024-03-04 02:41:09 +00:00
AJ Martinez
1019e535a8 Fix out-of-bounds hitlag sounds 2024-03-03 19:32:49 -07:00
James R
9950a8210c Time Attack: display Y button prompt above timestamp 2024-03-03 18:31:46 -08:00
AJ Martinez
71ccf7c968 Fix out-of-bounds hitlag sounds 2024-03-03 19:29:48 -07:00
James R
39bc04200e Time Attack: staff ghost time uses speedometer font 2024-03-03 18:28:30 -08:00
James R
1155acebad Let buffer inputs between maps
- Do not clear inputs when a map loads
2024-03-03 17:48:11 -08:00
James R
3be8a72155 Update button states during wipes
- All inputs create input events that get stored in a very
  small buffer
- Normally, the game listens for some inputs and then
  immediately processes them and updates the button state
  in-game
- However, during wipes the processing step would not
  happen and it would just let the events pile up
- Because the buffer is small though, it would quickly
  fill up and lose some events
- This would lead to button states getting stuck on some
  controllers if you released a button during a wipe
  - If you spun an analog stick around, this would cause
    it to happen more frequently, because there is a new
    event for every slight change of an analog stick's
    position
2024-03-03 17:48:11 -08:00
James R
dd85f2968f Revert "HACK: Lift all inputs when wipes execute"
This reverts commit b7892fd5d1.
2024-03-03 17:48:11 -08:00
James R
c6bdf4eae3 Remove RANGECHECK, replace with devmode prints
- All code that would I_Error behind RANGECHECK, simply
  return
- Add debug prints under devmode render
2024-03-03 17:31:33 -08:00
James R
4cad56c38c P_CrossSubsector: do not I_Error on invalid subsector
- IDK if return true is correct, but I've never seen this
  error before either
2024-03-03 17:31:33 -08:00
James R
89c7e31c14 R_DrawVisSprite: comment out GAME WOULD HAVE CRASHED warning
This only meant anything to me
2024-03-03 17:27:09 -08:00
James R.
fb07077c1c Merge branch 'remove-scramble' into 'master'
Comment out SCRAMBLE_REMOVED

See merge request KartKrew/Kart!1999
2024-03-04 01:17:38 +00:00
James R.
235987b895 Merge branch 'fix-map-plane-crash' into 'master'
Fix some R_MapPlane crashes in splitscreen; debugrender_visplanes and debugrender_portal; some multithreading crashes

Closes #1032 and #1021

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