Commit graph

108 commits

Author SHA1 Message Date
Eidolon
591af1ab95 Add parallelsoftware cvar
In the rare case where kernel thread scheduling causes hitching issues
(SteamOS?), there should be an option to dynamically toggle multithread
dispatch of plane drawing.
2024-01-29 19:26:04 -06:00
James R
eba9df570d Replays: raise default buffer size from 4 to 6 MB 2024-01-29 02:31:57 -08:00
James R
09b90c3cf1 Replays: add netdemo_size cvar, add to Data Options
Controls size of replay buffer when recording
2024-01-29 02:18:46 -08:00
James R.
ba72900475 Merge branch 'visplane-test' into 'master'
debugrender_visplanes and debugrender_freezebsp

See merge request KartKrew/Kart!1855
2024-01-26 10:06:52 +00:00
AJ Martinez
0c6820b350 "mental sonic" cheat 2024-01-23 00:28:08 -07:00
James R
5603b7b841 debugrender_freezebsp: freeze culling to your current position, so you can see how much level is being rendered 2024-01-17 16:43:45 -08:00
James R
afa78333fc debugrender_visplanes: highlight borders of visplanes 2024-01-17 16:42:27 -08:00
Oni
1e916dee77 Merge branch 'debug-challenges' into 'master'
DEVELOP: add debugchallenges cheat

See merge request KartKrew/Kart!1822
2024-01-17 05:33:23 +00:00
James R
da2e6f1bfe battlebumpers: let minimum be 0
Useful for testing.
2024-01-13 22:56:15 -08:00
Eidolon
448b54c41c Make master volume an independent gain control
Master volume should control after-mixing gain; the idea is the mixed
output of sfx and music's amplitude should never exceed
`cv_mastervolume`. Setting each submixer's gain independently will
still allow the master mixer to exceed that preferred volume, which was
the main issue with the SDL_Mixer backend. So, instead we use a separate
gain control that is applied after everything is mixed.
2024-01-12 19:06:19 -06:00
James R
60f681c048 DEVELOP: replays always save 2024-01-11 20:01:37 -08:00
James R
9d1492eb66 DEVELOP: add debugchallenges cheat
- Chao Keys cost nothing
- Chao Keys unlock any tile, no matter if it has a hint or
  is a major unlock
- Chao Keys can relock any tile (un-unlock)
- Unlock animations play at the fastest speed
  - Affects Chao Keys as well as organic unlocks
- Tiles are automatically flipped so you can see the
  content of every unlock all at once
2024-01-11 17:45:46 -08:00
James R.
3084b5ee18 Merge branch 'fix-bufo-fof' into 'master'
Fix Battle UFO tractor descending through FOFs

Closes #876

See merge request KartKrew/Kart!1807
2024-01-11 20:42:47 +00:00
James R
84fd5d58d7 Add battleufotest debug cheat, respawn Battle UFO instantly 2024-01-09 22:38:33 -08:00
James R
331be71735 Add forcebots cheat, spawn bots in non-GTR_BOTS gametypes 2024-01-08 19:01:05 -08:00
James R
08dc00ea88 Battle: add battlespawn cheat, spawn every player at the same spawnpoint 2024-01-06 01:41:36 -08:00
James R
db0175a94d Battle: add barriertime cheat, change Overtime Barrier shrink speed for testing 2024-01-06 01:41:36 -08:00
James R
15775adcb9 HUD tracking: give overlapping trackers in the background transparency
- Assuming every tracker is a 30x30 square, to determine
  overlap.
2024-01-05 15:56:23 -08:00
James R
b6d7e1d0c5 Menus/Recording Options: expose rest of video recording options 2024-01-01 03:05:18 -08:00
James R
9df8dd2bc0 consvar_t: add step_amount field, used by menus 2024-01-01 03:05:17 -08:00
James R
483519ea07 pointlimit: rename Default to Auto 2024-01-01 03:05:16 -08:00
AJ Martinez
cd638fd5e2 Move screenshake adjustments to "screenshake" cvar 2023-12-30 16:22:04 -07:00
James R
79012d00e8 Sound options: merge playmusicifunfocused/playsoundifunfocused into one cvar 2023-12-23 13:17:04 -08:00
James R
0c251ee643 Sound options: add master volume slider
- Updates music and sound volumes simultaneously
- Changing music/sound volumes separately sets master
  volume to highest of the two
- Visually distinct slider
2023-12-23 13:17:04 -08:00
James R
375d87255e Re-enable music/sounds when volume cvars are changed 2023-12-23 13:17:04 -08:00
SteelT
a9df0fc269 Remove surround sound cvar
There's really no point in having it be registered at all if it does nothing
2023-12-19 12:09:32 -05:00
toaster
b80547edab Merge branch 'restore-vid-wait' into 'master'
Restore vid_wait, make it apply immediately

See merge request KartKrew/Kart!1617
2023-11-18 13:11:03 +00:00
Oni
94327e8056 Merge branch 'lua-hook-timing' into 'master'
Add basic profiling for Lua hooks (except HUD hooks)

See merge request KartKrew/Kart!1616
2023-11-17 08:32:20 +00:00
Oni
c2d48e8ca7 Merge branch 'lite-steer-option' into 'master'
Lite Steer profile option, itemstate pflags -> player.itemflags

See merge request KartKrew/Kart!1611
2023-11-12 19:55:59 +00:00
Eidolon
cdde3cca38 Add handler for vid_wait
Allows vid_wait to toggle without changing modes
2023-11-11 09:56:03 -06:00
James R
61709d36a8 Add basic profiling for Lua hooks (except HUD hooks)
- Add lua_profile cheat: calculate average time spent in
  hooks over a period
- Show hook times in a sorted table, along with lump name,
  script line number and hook type
- Show cumulative time spent in game logic hooks and
  percentage of overhead to game logic
2023-11-11 02:27:39 -08:00
James R
7861d51a7f P_TryMove: sweep collided lines to find nearest normal 2023-11-10 00:03:06 -08:00
AJ Martinez
06bc06869c Lite Steer profile option, itemstate pflags -> player.itemflags 2023-11-09 17:29:26 -07:00
Oni
8557a7250f Merge branch 'prison-difficulty' into 'master'
Prison difficulty modes

See merge request KartKrew/Kart!1583
2023-10-29 06:07:42 +00:00
AJ Martinez
80a9b5c3ec Why did numlaps ever save 2023-10-23 19:57:23 -07:00
AJ Martinez
15338c4e32 Packet loss indicator 2023-10-20 20:33:37 -07:00
James R
5415674034 debugfinishline: highlight deathpits and instakill planes 2023-10-04 20:17:31 -07:00
James R.
2ec5d3e6b0 Add scr_scale, scr_x, scr_y cvars to scale and adjust viewport position 2023-09-30 16:50:41 -07:00
James R.
a6f8f53312 P_IsPickupCheesy: add debugcheese cvar 2023-09-17 19:57:55 -07:00
SteelT
52e920e874 Sealed Stars: fix UFODebugSetHealth always running
Resolves #686
2023-09-16 14:58:53 -04:00
James R.
d9d6a0da18 Add ufo_health cheat, set UFO Catcher health 2023-09-12 03:04:51 -07:00
James R.
21e8431e1a Add ufo_follow cheat, teleport UFO Catcher to player 2023-09-12 03:04:28 -07:00
James R.
afeba341c0 Remove translucenthud cvar, let V_HUDTRANS fade in like V_SLIDEIN
- V_HUDTRANS does not fade if combined with V_SLIDEIN
  (since sliding elements are not supposed to fade).
- If not V_SPLITSCREEN, uses most opaque fade value among
  splitscreen players (since Tally will fade back out for
  specific players).
2023-09-11 18:30:40 -07:00
James R.
f238655e6a debugrank command: let force rank grade, also make cv_debugrank a PlayerCheat instead of ServerCheat 2023-09-10 03:29:12 -07:00
James R.
a512c93a2c Add 1pswap cvar, let P1 profile control any other splitscreen player 2023-09-10 02:44:48 -07:00
Sal
ddaa21384d Merge branch 'monkey-input' into 'master'
Fuzzing cvar

See merge request KartKrew/Kart!1439
2023-09-03 18:43:13 +00:00
AJ Martinez
030d3d0656 Merge branch 'monkey-input' of git.do.srb2.org:KartKrew/Kart into monkey-input 2023-09-01 16:58:41 -07:00
AJ Martinez
3031dccfa2 Net fuzzing 2023-09-01 16:58:30 -07:00
toaster
1d3a7c717e Merge branch 'let-release-build' into 'master'
Various fixes to let release builds compile

See merge request KartKrew/Kart!1448
2023-09-01 20:45:54 +00:00
SteelT
6c05f96524 Merge branch 'master' into monkey-input 2023-09-01 01:51:52 -04:00