Commit graph

234 commits

Author SHA1 Message Date
yamamama
474a59ab7c Add "Lunatic" and "Maniac" modes
DUDE TOUHOU LMAO

Jokes aside:
* Lunatic = Master difficulty with modifications to make the races
  significantly more difficult:
  * Introduces a "lunaticmode" boolean to grandprixinfo;
    the demoversion has been upped to 0x0010 due to this
  * The bot modifier is, at MINIMUM, 2.0, making them aggressive as hell;
    Rival bots use a 2.5 modifier
  * Bump Spark is always off in this mode
  * RUNNERAUGMENT results have their distances significantly shortened;
    if a rival bot takes the lead, this distance is shortened even FURTHER
    so they don't frontrun against the human player endlessly
  * Alt. Invinc shows up earlier as a sort of "mercy" for human players;
    it would otherwise not show up until the race was effectively over
  * Maniac = Nightmare difficulty (Master at Expert speed)
    with Lunatic's changes
2025-12-28 21:13:30 -05:00
NepDisk
1fbdf0f0ec Recreate UB in v1 luas for gBuildMapName 2025-12-13 12:02:52 -05:00
NepDisk
0006504f3b Simplify CV_IsSetToDefault fastcmp check 2025-12-11 13:27:41 -05:00
NepDisk
6d6cb09280 Convert most strcmp/stricmp to fastcmp/fasticmp 2025-12-11 13:00:32 -05:00
Alug
4302a78fb5 command.c: fix "alias" command crashing when no aliases were registered
if we dont have aliases list how do we check the next alias in the list aswell?
2025-12-07 15:23:19 -05:00
NepDisk
fec774b665 Revert "command.c: fix "alias" command crashing when no aliases were registered"
This reverts commit 0f4cf9ff8c.
2025-12-07 15:23:11 -05:00
Alug
0f4cf9ff8c command.c: fix "alias" command crashing when no aliases were registered
if we dont have aliases list how do we check the next alias in the list aswell?
2025-12-07 15:14:03 -05:00
NepDisk
d7ed03fab9 Remove M_Memcpy
Was quite literally a wrapper that did nothing.
2025-11-08 02:00:30 -05:00
GenericHeroGuy
115805a943 Fix respawning 2025-10-26 14:58:43 +01:00
NepDisk
65cea70c05 Merge pull request 'Cherries™️ Part 2' (#175) from cherries into blankart-dev
Reviewed-on: https://codeberg.org/NepDisk/blankart/pulls/175
2025-10-24 20:20:57 +02:00
NepDisk
7296d9932d handle more memory allocation failure cases
5f394cd938
2025-10-23 21:28:19 -04:00
toaster
387315ad0f Rework gamespeed cvar handling a little bit.
- Make the menu-only dummykartspeed and dummygpdifficulty cvars also affected by the unlock system.
- Master mode is currently behind SECRET_HARDSPEED, this can be changed later when we're seriously thinking about unlock progression.
- Complete forwardport of changes to cv_kartspeed from 1.4+, since I missed a spot previously.
2025-10-23 16:28:39 +02:00
GenericHeroGuy
459f0d9da7 Add CV_GUARD flag 2025-10-19 01:13:14 +02:00
NepDisk
ff467c676c port over most fixes from srb2classics clang-tidy pr
Based on 939354f483
2025-10-17 10:32:21 -04:00
NepDisk
08d94c4b1b Revert "Repair demos that finish without crashing inexplicably returning to titlescreen after their completion"
This reverts commit a16e800e6e.
2025-10-08 11:50:28 -04:00
toaster
a16e800e6e Repair demos that finish without crashing inexplicably returning to titlescreen after their completion
It's because of cv_cheats' default value in DEVELOP builds...
2025-10-08 10:05:33 -04:00
GenericHeroGuy
1a7b21f8db Fix custom skincolors being inaccessible in menus (closes #59) 2025-09-04 23:32:01 +02:00
NepDisk
f4b15a8b80 Warn on legacy netid conflict 2025-08-20 22:44:01 -04:00
Gustaf Alhäll
78fc3ef964 Redesign search mechanism 2025-08-15 20:48:34 -04:00
Gustaf Alhäll
9c2cada257 Add apropos console command 2025-08-15 20:47:48 -04:00
GenericHeroGuy
2156acabea Read Kart demo netvars properly
Thanks NepDisk!
2025-08-02 00:56:26 +02:00
GenericHeroGuy
ae53f84c28 Kart replay compatibility
All of it, all at once, because why not?
Still needs quite a bit of cleanup tho
2025-08-01 01:37:12 +02:00
NepDisk
1292ad2325 Make reverting netvars a toggle that defaults off and remove CV_NETVAR from local server cvars
For Kart players, its common practice to save replays and or leave the server play with the a server's settings offline for stuff like timeattack or practice which ends up making this feature more annoying then anything. Also removed CV_NETVAR from local server cvars so that people doing the first case don't get listen server settings overwritten just because they wanted to practice offline
2025-07-17 15:56:46 -04:00
NepDisk
2f84779d41 Update rest of the existing files to use blankart branding 2025-07-01 00:23:30 -04:00
NepDisk
3ec3320774 Merge branch 'blankart-dev' into socmenus2 2025-06-23 00:07:35 -04:00
NepDisk
a3367858b8 Add expert speed 2025-06-22 11:13:00 -04:00
NepDisk
2830abb7d0 Clean up viewserver code a small bit
This also makes the cheats command show what cvars are active for easy checking
2025-06-19 19:36:02 -04:00
NepDisk
db66b00ec0 Merge branch 'blankart-dev' into socmenus2 2025-06-19 13:05:47 -04:00
Oni
3d475504e3 Merge branch 'reset-command' into 'master'
Add 'reset' command to reset a cvar to its default value

See merge request KartKrew/Kart!1382
2025-06-13 09:34:46 -04:00
GenericHeroGuy
56edab2480 Remove a TON of special-case menu code
You can now combine submenu/cvar/call to allow for more complex behavior,
without the need for keyhandlers. All those dummy menuitems relying on
keyhandlers now use cvars, like everything else does.

Yes, several things are still hardcoded, but player setup no longer
needs its own miniature menu system :^)
2025-06-08 17:15:17 +02:00
GenericHeroGuy
b7f4effe9b Replace MD5 with xxHash for file hashing
Yes, I had to do everything in one sweep, everything's connected...
Incremented demoversion since this changes the header format
2025-04-26 00:25:23 +02:00
GenericHeroGuy
c936c24d15 Replace mainwads with an enum
The mainwads check in G_SetGameModified is replaced by a modifiedgame check
in D_SRB2Main
2025-04-03 17:36:13 +02:00
NepDisk
f338eec51a Merge pull request 'Hardcoded Stacking and Chaining' (#33) from stackingmaybe into blankart-dev
Reviewed-on: https://codeberg.org/NepDisk/blankart/pulls/33
2025-03-26 18:30:19 +00:00
NepDisk
945704849f stacking part 6: Implement customization cvars 2025-03-26 13:35:26 -04:00
GenericHeroGuy
a23197cf8d god i hate cvars 2025-03-15 03:54:17 +01:00
GenericHeroGuy
f419ccee57 New input handling (port of cd8862f0)
More or less a port with gamecontrols left untouched.

Some notable differences:
* ev_joystick now has a separate data1 for each axis, rather than having you
  check which of data2/3 is INT32_MAX and which one isn't
  (pissed me off when updating menu code...)
* Gutted the 1.6 upgrade code, since we're not upgrading from anything :P
* G_GetControlForKey, a helper for menu code
* Turn smoothing code left unused as a reminder to fix it
* Various small fixes so this commit is playable and doesn't segfault

Menu changes:
* Max 4 binds, joystick axes are now bindable like any other button
* The gamepad options submenu has been replaced by its two remaining options
  after the removal of axis cvars (gamepad select and deadzone)

See cd8862f0's message for more details
2025-03-07 00:05:35 +01:00
James R
fca0231cc7 Add a mode to the toggle command, cycle a set of values
toggle timescale 0.2 0.75 1

If timescale is 0.2, go to 0.75
If timescale is 0.75, go to 1
If timescale is 1 or any other value, go to 0.2
2025-02-24 21:25:34 +01:00
James R
0f8d61fff2 command.c: refactor Setvalue, create CV_CompleteValue 2025-02-24 21:09:06 +01:00
James R
8992878b84 Move choose and chooseweighted commands to command.c
Fixes disabled under dedicated and it's the appropriate
place for these. Effectively cherry pick of 35b82b6dd9
2025-02-24 21:08:18 +01:00
toaster
b92c125928 I_Error in all situations where mapheaders were previously allocated outside of SOC.
Also:
- improved error prints for SOC condition definitions
- improved bounds checking to use `nummapheaders` for iterating over mapheaderinfo
There are still situations that use NUMMAPS like mapvisited, randmapbuffer, etc, which need to be addressed before merger.
2025-02-11 01:52:05 +01:00
NepDisk
0e70fd8ac7 Patch alias and add listskins
https://github.com/Indev450/SRB2Kart-Saturn/pull/33
2025-02-09 18:45:53 -05:00
Sally Coolatta
713ac093bf devmode cheat online 2025-01-10 11:36:04 -05:00
NepDisk
7948720595 Revert cheats streamine but keep stuff needed for online cheats
cheats 1 is not desired appearently

This reverts commit 9fbe107211.
2025-01-10 11:16:16 -05:00
James R
135dda1312 Let some cheat commands work online
noclip
god
scale
gravflip
hurtme
2025-01-10 10:15:23 -05:00
James R
3afae7a231 Rearrange player cheat flags
PC_GODMODE -> PF_GODMODE
PC_NOCLIP -> MF_NOCLIP
2025-01-10 10:10:41 -05:00
Sal
9fbe107211 Merge branch 'cheats-streamline' into 'master'
Streamline cheats

See merge request KartKrew/Kart!697
2025-01-10 10:03:52 -05:00
NepDisk
4b1324da69 Remove Battle capsule stuff and turn it into Item Breaker
You have to smash every itembox in a map as fast as you can. When you mash you get a pogospring and waiting gives a sneaker
2024-12-17 00:24:20 -05:00
SteelT
f2133d94b0 Fix "unknown command" not being printed on dedicated 2024-10-18 04:28:39 -04:00
toaster
bb79940893 COM_Exec_f: By default, insert into command buffer
- Resolves KartKrew/RingRacers#281 under standard operation
- Add `-immediate` parameter for previous, `wait`-ignoring behaviour
    - Used by configfile, EXECCFG
2024-09-20 18:52:18 -04:00
NepDisk
8700a37efa Make gamespeed selectable in menu 2024-08-18 11:03:14 -04:00