Commit graph

384 commits

Author SHA1 Message Date
GenericHeroGuy
66f965c2c0 Get rid of basenummapheaders
More oddball differences causing merge conflicts...
2025-02-11 17:22:31 +01:00
toaster
18fdd8fa9a Repair D_StartTitle component of netgame title fallthrough prevention 2025-02-11 02:30:23 +01:00
toaster
88ae398eea Rework nextmap to be automatic
- Refactor significantly (now has its own func, `G_GetNextMap`)
    - If gametype uses cups, iterate through cups to find the current level, then grab the next valid level
    - If not, get the next valid mapheader for your gametype
    - SOC `nextmap`/`marathonnext` is not just deprecated but REMOVED
    - Hide the NEXTMAP_ constants again, but leave support dummied out for if we have them publically accessible again
- Also get rid of a bunch of OTHER mapheader stuff we're never gonna use
    - NiGHTS Grades? NOPE
    - Vanilla titlecard patches? NOPE
    - Boss music fadeout/replacement? NOPE
    - Select Heading? NOPE
    - You've been blocked.
- Don't show maps without lumps on the level select list
- this is me being petty, but making it NOTIMEATTACK in SOC instead of TIMEATTACK so we can reconsider the maps with/without them.
2025-02-11 02:24:01 +01:00
toaster
4b12f8a729 Rework special nextmap events.
- G_MapNumber now handles special NEXTMAP_ nextmapspecial_t constants that exist at the end of the available type.
- Cleanup of G_DoCompleted
- Add bounds checking to the various SOC maincfg map starts (spstage_start, etc)
- Add lump checking to titlemap behaviour
2025-02-11 01:52:05 +01:00
toaster
f8b4ad70ea Repair bootmap.
We're not even going to use this feature, but it showed up as nonsensical while reviewing, and would take more work to strip out
2025-02-11 01:52:04 +01:00
toaster
6a2553cf57 Fix cups.
* Required an adjustment of everywhere using G_MapNumber to return the raw header number, instead of off-by-one ala gamemap.
    * Fixing gamemap is a viable improvement for a future commit, but this commit is already pretty big.
    * Remove SCANTHINGS, since it used G_MapNumber and didn't work with long map names OR virtres anyways.
* Support freeing new information in CLEAR LEVELS maincfg event, since I tried to use that to test cups.
* Make Patch_Free's usability match Z_Free -- passing NULL is permitted and a no-op.
2025-02-11 01:52:04 +01:00
GenericHeroGuy
a78bfe2785 The rest of the changes from de1f67b 2025-02-10 21:56:07 +01:00
NepDisk
77152250dd Remove GTR_CAMPIGN and assign stuff to grandprix instead 2025-02-09 18:47:51 -05:00
NepDisk
f8b2bd809d Fix legacy titledemos not loading 2025-02-07 12:52:43 -05:00
SteelT
14e5796cf2 Support reading PICTURE/MINIMAP/ENCORE/TWEAKMAP lumps from a map resource
This supersedes the header-based method of fetching those lumps.

(G: a LOT of creative liberties... but i'd rather this thing compiles)
2025-02-07 02:41:06 +01:00
NepDisk
6c8440bfff Long Map Names Port pt 3. shits broke 2025-02-05 21:57:03 -05:00
NepDisk
3350b02cc8 Long Map Names Port pt 1. 2025-02-05 17:46:21 -05:00
NepDisk
885c5c5622 UDMF config shit 2025-01-28 23:14:43 -05:00
NepDisk
815bf6c8b5 Remove color helper code 2025-01-27 20:51:19 -05:00
NepDisk
dc777890cc colorshit 2025-01-27 18:05:52 -05:00
NepDisk
229f3cc2e1 Use chars.kart 2025-01-26 15:48:15 -05:00
GenericHeroGuy
48bb0ea5ef The actual palette remapping 2025-01-24 18:18:37 +01:00
GenericHeroGuy
63d558725e Swap the order of main.pk3 and srb2.srb 2025-01-24 18:04:06 +01:00
GenericHeroGuy
6f032ce9c8 Revert "2.1 palette pt 1"
This reverts commit d22db75409.
2025-01-24 16:57:44 +01:00
GenericHeroGuy
3c70d7b999 Bandaid fix for player setup menu 2025-01-17 17:34:24 +01: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
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
84320a7e39 windows compile fix #4
I hate windows
2025-01-08 18:03:18 -05:00
NepDisk
6ca8fa92b2 windows compile fix #3
I hate windows
2025-01-08 18:03:18 -05:00
NepDisk
2d3042239d windows compile fix #2 2025-01-08 18:03:18 -05:00
NepDisk
ce86d88317 windows compile fix #1 2025-01-08 18:03:18 -05:00
NepDisk
6cb0c347d7 Remove Ending gamestate and code 2025-01-02 23:13:00 -05:00
AJ Martinez
ff8dab5363 Measure frameskip timing before sleeping 2024-12-31 09:51:23 -05:00
James R
5c8c199914 Frame skipping
Skip up to 3 frames of rendering if the time between tics
exceeds TICRATE. If rendering is a significant source of
that slowdown, skipping some frames can speed up the game
loop and improve input responsiveness.
2024-12-31 09:51:23 -05:00
NepDisk
82dfe605f3 mobj_t: add shadowcolor member to change shadow palette index 2024-12-30 19:54:29 -05:00
James R.
b819d43296 Move HOM removal from R_RenderPlayerView to D_Display
This lets duplicate displayplayers[0] render correctly,
since repeating occurrences of displayplayers[0] won't
clear the screen multiple times.
2024-12-29 17:29:37 -05:00
Eidolon
c42271c72e Add per-frame linear memory allocator 2024-12-29 09:13:37 -05:00
Eidolon
09d661c331 Convert d_main.cpp 2024-12-29 09:05:17 -05:00
Renamed from src/d_main.c (Browse further)