Commit graph

25877 commits

Author SHA1 Message Date
toaster
4d6c982b33 Merge branch 'new-cmake-presets-colors' into 'master'
Enable compiler color output for CMake presets

See merge request KartKrew/Kart!1697
2023-12-28 14:56:22 +00:00
toaster
89b8aa0a55 Merge branch 'challenge-consarnit' into 'master'
Challenge Consarn-it

See merge request KartKrew/Kart!1722
2023-12-28 14:55:53 +00:00
James R
0ef1abcf3a Menus/Virtual Keyboard: cache cvar string for duration of typing
This avoids calling cvar callbacks after every key press.
2023-12-28 05:54:01 -08:00
James R.
172951410b Merge branch 'menu-interp-helper' into 'master'
(CODE) Helper functions for menu interpolation

See merge request KartKrew/Kart!1731
2023-12-28 08:50:34 +00:00
James R
e114bf8f95 Menus: pop out highlighted button on Gamemode menus (except when fading in)
Effective for:

- Gamepad up/down
- Transition (without fade)

Does not affect buttons inside boxes. My reasoning here is
that these show arrows when highlighted anyway, so that
fulfills the extra feedback.
2023-12-27 12:26:30 -08:00
James R
0ff29a2a41 Menu/Match Race: indent settings when highlighted 2023-12-27 12:25:26 -08:00
James R
5d1d0deb6d M_DrawGenericOptions: indent highlighted option 2023-12-27 12:25:26 -08:00
James R
93e9bd5485 Add menu_anim_t and easing helper functions 2023-12-27 12:24:53 -08:00
toaster
2a1b2d427c G_DoLoadLevelEx: Don't fake profile set when transitioning to titlemap
Fixes Profile not being selectable on game boot, solving Charyb's recent issue
2023-12-27 17:07:03 +00:00
toaster
7691629903 Further cxdiag faff
- Loop over each set of conditions twice
    - first to determine relevant level/gametype
    - secondly to evaluate everything else in that context
- Pick up called events which are invalid for the relevant gametype
- Pick up multiple levels per single condition
2023-12-27 16:34:23 +00:00
toaster
80e519e442 mapheader_t destroyforchallenge: Actually read supplied mobjtypes past the first one
Fixes Joypolis chairs not being counted
2023-12-27 15:28:34 +00:00
toaster
a15f6280d7 UCRP_TRACKHAZARD fixes
- describe as "course hazard", not "track hazard", to match updated player-facing lingo
- Add rudimentary handling to allow achievement in Prison Break, Versus
2023-12-27 15:16:03 +00:00
toaster
a07aeef049 play-char-select.c: Reduce copypasted hell
Instead of manually handling every single transition, only simple transitions are unique.
Helper functions are used for the complicated transitions - Color selection if there's more than 1 colour, Follower selection if you have any followers unlocked, and the choice of Alts versus Character when going back.
Fixes a whole class of issues where, for example, you'd skip over setting your skincolor if you went through the Alts submenu, but not if there's only one character on that statblock.
2023-12-26 23:00:09 +00:00
toaster
bfa52b695e Character select: Fix mismatch between ground truth and unlock-dependent followercategory
Resolves Fyrus' follower select bug
2023-12-26 22:13:05 +00:00
toaster
122ede8de9 More cxdiag Challenge condition minor error identification 2023-12-26 17:23:17 +00:00
toaster
49e48c267a Use thin font for Challenge descriptions 2023-12-26 17:02:11 +00:00
toaster
920201621f Count PF_VOID as FAULTing during POSITION for the purpose of Challenges 2023-12-26 16:56:55 +00:00
toaster
43880b4a4b G_LoadGamedata: Add a sanity check when imbibing pendingkeyroundoffset
Should solve Laz's infinite key increment hell
2023-12-26 15:52:22 +00:00
toaster
798e016aa1 Fix compilation error for cxdiag 2023-12-26 15:47:32 +00:00
toaster
a1d198d317 Merge branch 'master' of https://git.do.srb2.org/KartKrew/Kart into challenge-consarnit 2023-12-26 15:45:00 +00:00
Oni
3f15fca32e Merge branch 'sort-minimap-waypoints' into 'master'
debugwaypoints: sort minimap dots drawing order

See merge request KartKrew/Kart!1721
2023-12-25 22:49:13 +00:00
Oni
07da4839ee Merge branch 'fix-3d-activated-z-position' into 'master'
Fix Z calculation for FOF activators

Closes #728

See merge request KartKrew/Kart!1718
2023-12-25 22:45:28 +00:00
Oni
7234281a73 Merge branch 'bot-more' into 'master'
Probably more bot stuff

See merge request KartKrew/Kart!1720
2023-12-25 22:42:56 +00:00
SteelT
53725f59d2 Revert "Merge branch 'title-music-credit' into 'master'"
This reverts merge request !1725
2023-12-25 14:09:49 +00:00
Sal
075691fa85 Rebalance bot rubberbanding, take 2 2023-12-25 01:25:07 -05:00
Sally Coolatta
de59fedc56 Fix rubberband value being reset every frame 2023-12-25 01:24:39 -05:00
Sally Coolatta
fac381cdf1 Fix spindash behavior regression from abde576c 2023-12-25 01:24:39 -05:00
Sally Coolatta
2dd7fa72e7 Fix complexity spikes on pitch changes
It was doing something very wrong before that only happened to work for Emerald Hill, and ballooned ridiculously on any other map.

Also improved devmode prints for complexity.
2023-12-25 01:24:39 -05:00
Sally Coolatta
b14f29daa2 Bots account for underwater strafing 2023-12-25 01:24:39 -05:00
Sal
aae35b92ff Merge branch 'title-music-credit' into 'master'
Display the music credits for titlescreen

See merge request KartKrew/Kart!1725
2023-12-24 23:50:55 +00:00
SteelT
a61e9d4b71 Display the music credits for titlescreen 2023-12-24 16:56:15 -05:00
Oni
14dc5397b3 Merge branch 'easier-chao-keygen' into 'master'
Easier Chao Key generation

See merge request KartKrew/Kart!1723
2023-12-24 18:25:45 +00:00
VelocitOni
0cd00a58ea Easier Chao Key generation
Reduced the amount of rounds required for a free Chao Key to 14 from 32 (2 cups or so now).
2023-12-24 12:38:51 -05:00
Oni
6563ab9261 Merge branch 'sleek-sound-options' into 'master'
Sound options polish

Closes #289

See merge request KartKrew/Kart!1719
2023-12-24 16:31:48 +00:00
toaster
b88372c85d PodiumCup challenge description: Correctly use extrainfo1 instead of requirement for Grade 2023-12-24 16:31:03 +00:00
Oni
3437688566 Merge branch 'explosions-trick' into 'master'
Do not punt SPB explosion (eggmark)

Closes #796

See merge request KartKrew/Kart!1710
2023-12-24 16:30:25 +00:00
Oni
66e2610236 Merge branch 'ufo-no-hit' into 'master'
Only let items and player hit special UFO; fix SPB not registering hit on UFO correctly

Closes #774

See merge request KartKrew/Kart!1707
2023-12-24 16:30:05 +00:00
toaster
286c6d12a2 Add "cxdiag" console command
Challenge eXception Diagnostic for development purposes
2023-12-23 23:12:25 +00:00
toaster
9fc49acec6 M_PrecacheLevelLocks: Better diagnostic information 2023-12-23 22:59:42 +00:00
James R.
16e8b6271e Merge branch 'fix-music-toggle' into 'master'
TuneManager: clear current song if music is disabled, so music can resume later

Closes #797

See merge request KartKrew/Kart!1709
2023-12-23 22:43:57 +00:00
Oni
e2cb791a15 Merge branch 'fix-splat-panel-slope' into 'master'
Obj_SneakerPanelSetup: call P_CheckPosition directly and manually set standingslope

Closes #700

See merge request KartKrew/Kart!1715
2023-12-23 22:41:40 +00:00
Oni
5509d0e827 Merge branch 'mf-pain-no-sound' into 'master'
MF_PAIN: remove sound effect functionality

Closes #794

See merge request KartKrew/Kart!1713
2023-12-23 22:41:18 +00:00
Oni
8a250e3237 Merge branch 'fix-crate-instawhip' into 'master'
Fix Metal Crate instawhip hitlag

Closes #800

See merge request KartKrew/Kart!1696
2023-12-23 22:41:02 +00:00
Oni
710e561981 Merge branch 'cmd-const' into 'master'
Enforce const in bot ticcmds

See merge request KartKrew/Kart!1705
2023-12-23 22:40:52 +00:00
Oni
5c3d645ff1 Merge branch 'bot-continue-nerfnerf' into 'master'
Gamespeed-dependent difficulty nerf on GP round fail

See merge request KartKrew/Kart!1712
2023-12-23 22:40:33 +00:00
James R
e91ce8ba7a debugwaypoints: sort minimap dots drawing order
Revised order, back to front:

- normal waypoints
- shortcuts
- deactivated waypoints
- ego orbs
- player's next waypoint
2023-12-23 14:38:51 -08:00
James R
93c38c9754 Convert k_hud.c -> k_hud.cpp 2023-12-23 14:36:30 -08:00
toaster
64922460ac Handle Podium unlocks during mapload, not when finishing the ceremony
Solves mid-podium crashes not granting second page material
2023-12-23 22:12:00 +00:00
toaster
d3af5db874 readcondition: Fix AllChaos/AllSuper/AllEmeralds difficulty restriction 2023-12-23 21:38:23 +00:00
James R
a2abbdefde Master volume: alter both music/sound volume without changing balance 2023-12-23 13:38:15 -08:00