Commit graph

1530 commits

Author SHA1 Message Date
NepDisk
045e6170c1 Create and use mapnum enumtype 2026-03-27 13:37:36 -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
dce648a641 Colormap lib fixes from newer SRB2 and revert 25->255 expansion 2026-03-23 01:35:27 -04:00
NepDisk
9061274cdc Add per map global EFX via mapheader 2026-03-22 20:27:47 -04: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
Alug
b7ade32020 port and update the opengl map preprocessor from Doom-Legacy
this fixes numerous issues with holes in map geometry, misplaced sectors/planes, rare infinite loop hangs

most notably fixes most rendering issues on UDMF/RR maps

needs some testing as this may be slower than the old one
2026-03-09 18:15:38 +01:00
Alug
3f0e421085 fix distorted/broken textures when switching from software to opengl
if the map was loaded in software renderer mode the segs floatlength was not set

since this only gets done on map load for non adjusted segs it broke texture mapping on non adjusted segs after switching to gl
2026-03-09 16:28:33 +01: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
NepDisk
3b298c2a25 Vendoring Tracy again
Having this as a submodule is causing issues
2026-02-21 12:36:05 -05:00
NepDisk
b4ffbe8ba4 Move tracy and libbacktrace to submodules 2026-02-19 16:06:24 -05: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
minenice55
c70c22efe6 still doesn't work
but use K_BotDefaultSpectator more
2026-02-11 01:42:46 -05:00
minenice55
8feb843c11 remove the nuke 2026-02-10 18:45:14 -05:00
minenice55
86e47fe1ae I went to war on the bots and got nuked
DOESN'T FULLY WORK
2026-02-10 18:14:08 -05:00
NepDisk
acedad42e4 Merge branch 'next' into heavyairdrop 2026-02-06 16:03:39 -05:00
NepDisk
1c1a7998e2 Move wallspikes to 5022 2026-02-06 15:55:55 -05:00
minenice55
1bb3df7435 two(!!) new modes for airdrop
bouncy = a-la ring racers
heavy = even faster and gives a small boost on landing
2026-02-03 23:39:05 -05:00
minenice55
6a43983da6 bro 🥲 2026-01-28 15:56:13 -05:00
minenice55
dd15f7cc67 billion config cvars, add recovery dash to menus 2026-01-28 02:00:11 -05:00
NepDisk
bd6b529b01 Global init
these were found by alug
2026-01-17 02:04:31 -05:00
NepDisk
d520437141 Allow recording in GrandPrix 2026-01-01 15:39:42 -05:00
yamamama
4d5cf3c4d8 Don't force Bump Spark off in Lunatic settings 2025-12-31 22:30:44 -05:00
yamamama
4fe0dff858 Add grandprixinfo.gp checks I forgot about 2025-12-29 10:41:05 -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
NepDisk
7fd7cad52c Fix usage of 502 in v1 kart maps 2025-12-22 14:14:40 -05:00
NepDisk
44445e1bc0 Merge pull request 'Remerge fixed palette renderer' (#200) from fixpalshader into next
Reviewed-on: https://codeberg.org/NepDisk/blankart/pulls/200
2025-12-16 02:28:55 +01:00
Lactozilla
a21c951ebf Fix HWR_ClearLightTables being called too late
extracolormaps own the OpenGL-specific light table data, so that has to be freed earlier.
2025-12-15 23:28:02 +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
Alug
68fbf19e27 Fix custom mappalettes not applying to the screen palette
Fixes RB Raceway
2025-12-15 22:40:53 +01:00
minenice55
66dcc5c1db bricks
release accel to stop waterskipping
2025-12-14 20:34:56 -05:00
yamamama
b937c0519c Reformat the stupid cvar 2025-12-12 21:38:16 -05:00
yamamama
327035e68e Start work on an item roll tracker
Uses an unordered-map system so we don't loop through every item constantly

Opting for trying to fit everyone on the screen; 320x200 users can deal with it
Scrolling is not yet implemented, and this system isn't netsynched yet
2025-12-12 21:38:15 -05:00
GenericHeroGuy
bcb0eb95cc More fastcmp cleanup 2025-12-11 21:58:37 +01:00
NepDisk
6d6cb09280 Convert most strcmp/stricmp to fastcmp/fasticmp 2025-12-11 13:00:32 -05:00
Gustaf Alhäll
e6dc6c3262 Fix use-after-free when mobj is removed while still playing sounds 2025-12-07 15:14:03 -05:00
AJ Martinez
d3822cd7a5 Merge branch 'fix-map-command-ghost-crash' into 'master'
Free ghosts when level data is freed

Closes #1163

See merge request KartKrew/Kart!2108
2025-11-30 15:15:20 -05:00
NepDisk
4748aee6fb Adjust Spring compat 2025-11-28 18:44:29 -05:00
minenice55
6a6ed9d8b3 start re-implementing airthrust from #158 2025-11-26 13:13:15 -05:00
NepDisk
96e32419ac move gamepad led and rumble tickers into g_input
21f0d603c3
2025-11-23 13:09:05 -05:00
NepDisk
4dd7af8cf9 I really need to break; this habit 2025-11-20 22:11:08 -05:00
NepDisk
f7bf52bcfa Use proper gamepad retrival function for rumble and add LED ticker 2025-11-20 15:17:13 -05:00
NepDisk
64221c90d9 Fix auto conversion of RR Diag springs
Mappers should add stronger springs themselves during the conversion process
2025-11-20 11:32:27 -05:00
NepDisk
2474569652 Adjustments to how springs work for customization
Springs are now have gravity by default and that gets inverted if arg0 is set with flag TMSPR_NOGRAVITY
2025-11-20 09:45:14 -05:00
NepDisk
6884ca0a90 Add more spring types 2025-11-19 20:47:07 -05:00
NepDisk
36decf14e7 Toggle to decide to include mappatch objects in textmap conversion for UDMF and Binary 2025-11-19 16:42:23 -05:00
NepDisk
277d4dd2d6 Allow -writetextmap outside of binary
based on 0cbd7d43db
2025-11-19 16:08:07 -05:00
NepDisk
e5df08bc43 Some more UDMF conversion changes 2025-11-19 15:20:57 -05:00
NepDisk
534c7b4177 Convert RR balloons 2025-11-19 12:42:48 -05:00
NepDisk
f8835a904c Fix mappatch backwards compat 2025-11-19 12:23:41 -05:00