Commit graph

1794 commits

Author SHA1 Message Date
NepDisk
4bde2e7452 Fix some missed INT16 cases and update G_GetNextMap 2026-03-26 15:46:41 -04:00
NepDisk
820db79d18 Raise most map numbers to UINT16
I've probably missed a few...
2026-03-26 14:55:20 -04:00
NepDisk
24373da780 Port basics of roundqueue 2026-03-25 22:52:54 -04:00
NepDisk
2b7af72e00 Make replays menu somewhat support custom gametypes 2026-03-10 22:02:22 -04:00
NepDisk
2c6605440d Merge pull request '[FEAT] Tilt Steering, GamepadMotion Sensor Access' (#222) from accelerometer into next
Reviewed-on: https://codeberg.org/NepDisk/blankart/pulls/222
2026-03-11 02:40:24 +01:00
NepDisk
cd2d07b190 Change all gametyperules uses to gametypes[gametype]->rules 2026-03-10 21:14:23 -04:00
toaster
4932bde9b0 gametype_t
- New array of pointers to structures in memory (currently mixing static for base-game and Callocated for custom)
- Centralises a metric-ton of previously seperately handled properties into one struct
    - Gametype_Names[]
    - Gametype_ConstantNames[]
    - gametypetol[]
    - timelimits[]
    - pointlimits[]
    - gametypedefaultrules[]
    - gametypecolor[] - Nep: This one was blan exclusive but I added it regardless.
- Don't attempt to guess custom gametype in Replay Hut (requires more work to make custom gametypes behave across the entire experience)
- I_Error if invalid gametype set
- gametyperules is deprecated since it will never be modified seperately from gametype (temporarily a #define, don't wanna bloat this commit too much)
2026-03-10 20:56:36 -04:00
minenice55
0abcd8eef8 Merge branch 'next' into accelerometer 2026-03-06 15:32:23 -05:00
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
minenice55
093a4fb969 add tilt control cvar to menus 2026-03-01 00:43:01 -05:00
NepDisk
085ffd8185 Redo keyboardlayout
Based on this commit from Saturn: 423ca0eca0
2026-02-20 16:30:29 -05:00
NepDisk
98e69a5217 Remove extraneous parentheses 2026-02-19 09:07:51 -05:00
minenice55
f770b5c8f5 make stick keyrepeat speed based on tilt
hat keyrepeat still is non-existent
2026-02-15 22:32:47 -05:00
minenice55
0a6e66ae12 fix menu button 2026-02-15 18:06:48 -05:00
minenice55
fb5287f335 fix keyrepeat for gamepad sticks
hats are still broken
2026-02-15 16:02:07 -05:00
GenericHeroGuy
0c0680d2f3 Fix controller name display in menu (and a segfault) 2026-02-15 00:12:40 +01:00
NepDisk
8a9683542b Fix Gamepads
Thanks thanks thanks thanks so much Alug for the time working on this!!!!!
2026-02-14 16:27:53 -05:00
NepDisk
656ad85a8f Port to SDL3
Thanks to SRB2Classic for refernce!!!
2026-02-12 00:39:19 -05:00
NepDisk
14bf52af43 Combine vid.dupx and vid.dupy 2026-02-08 11:25:09 -05:00
NepDisk
bd6b529b01 Global init
these were found by alug
2026-01-17 02:04:31 -05:00
GenericHeroGuy
8362bbd629 Backlog of bug fixes 2026-01-02 02:54:02 +01:00
GenericHeroGuy
e45c8d1835 Add cup select
Also, backspace remembers your last selected map/cup now, for easy searching
2026-01-02 02:54:02 +01:00
yamamama
d417033fb6 Year update attempt 2 2026-01-01 14:45:23 -05:00
yamamama
a8b47436dd We've made a full rotation around the sun
I'm sure I've missed things; this was me just grepping instances of "2025" and adding the necessary changes
2026-01-01 13:32:38 -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
c86c17ff59 Ok that's enough, pipe down 2025-12-23 02:36:02 +01:00
GenericHeroGuy
b80556fc46 Just ONE more platter refactor bro I SWEAR
* Map icon drawing is now centered so winton looks okay again
* Squeezed out literally every last pixel of margin (5 rows on greenres!)
* PgUp/PgDn can be used to scroll faster
* Delayed map selection because uhhh it's cool
2025-12-23 02:27:08 +01:00
NepDisk
cfd34a6148 default to Addon in level platter
Should make it easier by default to tell what addon a map is from
2025-12-15 20:43:11 -05:00
GenericHeroGuy
fcc420058f Fix crash if gametype has no maps 2025-12-15 23:30:24 +01:00
GenericHeroGuy
47f0289a52 Add level platter to ALL menus, clear out ALL the old nextmap code
and delete the unused custom preset stuff because the cvars just happened to
call Nextmap_OnChange
2025-12-15 22:50:29 +01:00
NepDisk
790f2d2488 Fix commit SHA blocking and make it more obvious this is an indev project 2025-12-14 00:20:42 -05:00
NepDisk
e827bdcc5b Add per-type deadzone support 2025-12-12 21:33:23 -05:00
GenericHeroGuy
394a3e7b76 Oh no you don't 2025-12-13 01:50:51 +01:00
NepDisk
b3d52d265c Use V_6WIDTHSPACE for tooltips 2025-12-12 11:45:34 -05:00
GenericHeroGuy
9eebf2ae67 Add encore and addon sorting to platter, and obligatory tweaking 2025-12-11 23:49:06 +01:00
GenericHeroGuy
bcb0eb95cc More fastcmp cleanup 2025-12-11 21:58:37 +01:00
NepDisk
5351e89677 Don't use fastcmp in Levelsort_Name 2025-12-11 13:24:14 -05:00
NepDisk
6d6cb09280 Convert most strcmp/stricmp to fastcmp/fasticmp 2025-12-11 13:00:32 -05:00
GenericHeroGuy
6ad95bacd0 Level platter, ported from 2.2
Just enough to be feature-complete lol, will need some more tweaking
2025-12-11 00:05:23 +01:00
NepDisk
1b63c6e82e Use macros for file sounds and use unused 2.2 file status sounds 2025-12-10 17:29:56 -05:00
GenericHeroGuy
e733394ded New Lua item API + cleanup 2025-12-08 20:54:36 +01:00
yamamama
5f29725e4c Make Alt. item patches display in menus
Also Clang-format MR_HandleMonitorToggles
2025-12-07 20:38:41 -05:00
yamamama
568949b8e5 'Join Last Server' option 2025-12-05 15:45:10 -05:00
Oni
04e99590e1 Merge branch 'seg-fault-on-i-error' into 'master'
Generate a backtrace for I_Error; add a crash command

See merge request KartKrew/Kart!947
2025-11-30 15:15:20 -05:00
NepDisk
1759e019b2 Fix grandprix skin being casted for no reason 2025-11-27 16:13:02 -05:00
NepDisk
37982ed7b2 make Controller Rumble strength use changable
613d646627
2025-11-23 13:28:14 -05:00
NepDisk
c030d46462 [PATCH] Fix up Rumble and LED stuff and add extra drift stuff to rumble
Thanks Alug!
2025-11-20 16:49:35 -05:00
NepDisk
b337a9e69a Port Saturn's rumble and gamepad LED systems 2025-11-20 14:39:37 -05:00
NepDisk
d64c36bbf7 Merge branch 'blankart-dev' into openalclassic 2025-11-16 20:22:49 -05:00
GenericHeroGuy
67dd2c875f Add altitem flags, fix alt shrink setting indirect cooldown 2025-11-16 15:47:05 +01:00