Commit graph

81 commits

Author SHA1 Message Date
yamamama
ad1642ecfa Make Hard the default gamespeed, tweak Auto gamespeed to match
It's 2026, and the only time since Super Mario Kart where 150cc is made unlockable is a god-damned arcade game

Plus, it literally makes more sense for Expert (200cc) to be the unlockable speed now
2026-03-04 06:35:59 -05:00
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
GenericHeroGuy
efac1d27c2 Item refactor, part 1
Too much shit to explain, read the diff (you should anyway!)
Very sloppy, expect lots of fixes
TODO: SOC it all, separate "active odds" table, how to handle alt items
2025-11-06 22:59:02 +01:00
Anonimus
c5649e0b23 Fixes and consolidation
* Changed every instance of K_AltShrinkActive to its K_IsKartItemAlternate equivalent
* Same as above for Invincibility; some functions might still rely on K_GetKartInvinType though
* (Balance change) Alt. Invin. needs a slightly farther distance to start appearing, hopefully means less 5sec dud invinces
* Brought back cv_landmine to prevent SIGSEGVs in the item toggles menu
* Introduce NUMBASEKARTRESULTS since all KAITEM_X items are overrides assigned via K_GetAlternateVersion
2025-11-05 07:16:39 -05:00
minenice55
458a0673fa Merge branch 'eggmine' into itemstuff 2025-11-04 23:48:57 -05:00
Anonimus
47fced5c09 Alt Shrink
* Player gains a big speed boost
* Anything that would squish a shrunken player in Legacy (save for Grow players) flips them over here
* Most items rolled are doubled: singles become doubles, doubles become quadruples, and you can roll 6 bananas
* Certain multi items (3sneaker, 3orbi and 4orbi, 2jawz, decanana, ballhog) do NOT get doubled for balance reasons
* Shrunken players get rival bot odds, making their rolls more aggressive and frantic
2025-11-04 23:44:23 -05:00
minenice55
2c04bb2ef5 generalize alt invinc to apply to any item
(with some work)
2025-11-04 21:55:30 -05: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
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
Anonimus
c07ccf475f Add toggle for legacy Invincibility
Also adds customizable time values for Alternative
2025-06-29 01:30:10 -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
945704849f stacking part 6: Implement customization cvars 2025-03-26 13:35:26 -04:00
James R
0f8d61fff2 command.c: refactor Setvalue, create CV_CompleteValue 2025-02-24 21:09:06 +01: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
Sal
9fbe107211 Merge branch 'cheats-streamline' into 'master'
Streamline cheats

See merge request KartKrew/Kart!697
2025-01-10 10:03:52 -05:00
Eidolon
d08b923f06 Merge branch 'extern-c-everything' into 'master'
Add extern "C" in C++ to all headers

See merge request KartKrew/Kart!842
2024-10-15 14:14:43 -04:00
James R
9e801c66d5 Merge branch 'universal-typedef' into 'master'
Move all typedef into one file

See merge request KartKrew/Kart!791
2024-10-15 04:16:58 -04:00
Sally Coolatta
9d7ec0ab8f Merge SRB2 next
Probably doesn't compile yet, but I got rid of all of the conflicts for anyone who wants to take a stab at it.
2021-02-27 05:18:36 -05:00
Jaime Ita Passos
3f1ae51936 Fix "missing initializer" warnings/errors in CVAR_INIT macros 2020-12-21 17:19:07 -03:00
Sally Coolatta
fc934b38e1 Merge public next 2020-11-10 15:32:48 -05:00
James R
7e9922febf COM_LOCAL makes your commands NetXCmd free, FUCK NetXCmd 2020-11-05 20:16:28 -08:00
James R
d996a6a3b9 Fuck magic numbers; COM_ flags for Lua commands! 2020-11-05 20:16:26 -08:00
Sally Coolatta
7c2bd0d1c2 Merge remote-tracking branch 'srb2/next' into the-scary-22-merge 2020-10-24 20:50:58 -04:00
James R
4c7400b27e Merge branch 'save-netvars' into 'next'
Save netvars

See merge request STJr/SRB2!1179
2020-10-12 19:03:01 -04:00
James R
6363162826 Merge branch 'sanity-meter-empty' into 'next'
Replace cvar initializers with a macro

See merge request STJr/SRB2!1178
2020-10-08 22:02:25 -04:00
James R
2a316e49e5 Revert netvars after leaving a netgame 2020-10-06 23:32:11 -07:00
James R
b7c4a82a0f Replace C90's junk with a modest macro 2020-10-06 23:04:23 -07:00
James R
67fbce8532 Autocomplete aliases in console 2020-08-14 00:00:45 -07:00
Sally Coolatta
5319ef434e Compiling reaches g_demo.c again after the merge 2020-08-12 22:40:15 -04:00
Sally Coolatta
e14f4a5842 Merge g_demo.c, remove OLD22DEMOCOMPAT 2020-08-10 12:14:23 -04:00
Sally Coolatta
6cf412e99a Merge command.h 2020-08-10 11:45:27 -04:00
Sally Coolatta
e296e1309a YAY, round 2 2020-08-09 21:02:56 -04:00
Sally Coolatta
7e9efd4e29 Merge lua_consolelib.c
Properly supports 3P/4P commands while we're at it too
2020-08-05 09:58:12 -04:00
James R
3554cc8b1b Actually save the cvar name in demos 2020-07-04 12:51:07 -07:00
James R
b89be9f179 Cvar compatibility with older demos 2020-06-19 18:04:20 -07:00
James R
31cf034d63 Save cvar names in demos; refactor cvar loading 2020-06-19 17:58:42 -07:00
Sally Coolatta
63917ffccc The start of the scary 2.2 merge
All conflicts are left in-tact. We should be collaborating on solving these files one at a time.
2020-05-29 13:43:38 -04:00
Sally Coolatta
15d18640de Merge remote-tracking branch 'public/master' into merge-12 2020-05-12 03:16:14 -04:00
James R
6613b19220 Merge remote-tracking branch 'lat/remove-passwords' into awful-mix-fucked 2020-04-26 01:16:27 -07:00
Latapostrophe
e801057559 Expose CV_FindVar to Lua 2020-03-10 18:12:20 +01:00
James R
2274129f57 Update copyright year to 2020 2020-02-19 14:08:45 -08:00
James R
40d080cfe1 Merge branch 'local-lua-commands' into 'next'
Local Lua commands + no magic numbers

See merge request STJr/SRB2!602
2020-01-08 16:14:30 -05:00
James R
7e0dd5bf02 Merge branch 'findvar' into 'next'
CV_FindVar for Lua

See merge request STJr/SRB2!583
2020-01-02 20:54:16 -05:00
James R
81bdd2d473 Merge remote-tracking branch 'origin/next' into local-lua-commands 2019-12-30 15:08:34 -08:00