Commit graph

116 commits

Author SHA1 Message Date
NepDisk
0450f45635 Kill MSVC
We are a GCC and Clang household, get this shit outta here
2025-10-16 20:42:11 -04:00
NepDisk
fc53a73f9b Kill ->localfile 2025-10-13 11:43:35 -04:00
GenericHeroGuy
a56213921e Let's see if initializing localfile properly closes #131 2025-09-29 16:37:11 +02:00
GenericHeroGuy
c8c2d828de brap 2025-09-17 18:31:10 +02:00
NepDisk
72596e8d03 Port addfilelocal from saturn
Modified to turn off features we don't have / prevent resyncs
2025-09-14 01:06:05 -04:00
NepDisk
50c7019f44 Add KZ speedometer and fix many compiler warnings 2025-09-12 19:43:43 -04:00
NepDisk
8ae23099d1 Port minimap headlight
Created by Chearii originally for Saturn
2025-08-22 22:47:14 -04:00
NepDisk
2f84779d41 Update rest of the existing files to use blankart branding 2025-07-01 00:23:30 -04:00
NepDisk
f004b36dbb Revert 'Merge pull request 'File loading refactor' (#68) from wadstrbuf into blankart-dev'
This reverts commit f72475b557, reversing
changes made to 0c89c85aae.

Sorry Generic this branch is really cool but it needs more work. I shouldn't have merged it too early...
2025-06-30 01:45:01 -04:00
GenericHeroGuy
76daf2f0e0 Fix music names longer than 6 chars not being truncated anymore 2025-06-27 23:33:59 +02:00
GenericHeroGuy
d6299d8394 Fix segfault when filename lacks extension
and don't mix up fullname with longname
2025-06-27 18:01:32 +02:00
GenericHeroGuy
be35926843 Add W_CheckNumForMarkers, clean up lump validation
Fixes many cases of invalid startlumps, so validation is now actually done
only when PARANOIA is defined
The W_CheckNumFor* functions allow startlump == numlumps, to make iteration
less frustrating
2025-06-27 17:44:34 +02:00
GenericHeroGuy
4c93f0eae7 Operation: Gotta Go Fast 2025-06-26 21:38:52 +02:00
GenericHeroGuy
91636209ff And finally... W_CheckNumForNamePwad 2025-06-26 01:45:45 +02:00
GenericHeroGuy
24de618653 Remove W_CheckNumForName
NOW long menuitem patches are supported lol
Staff ghosts support long map names now
The runsoc command and linedef special 415 support longnames now
2025-06-26 01:27:28 +02:00
GenericHeroGuy
146ac557ba Remove W_GetNumForName
Still no longnames for sounds/music, but that's a story for another day
2025-06-26 00:18:20 +02:00
GenericHeroGuy
d37b987acb Remove W_CachePatchName, everything's safe
Menu headerpics, menuitem patches and old-style map thumbnails/minimaps now
support longnames
2025-06-25 23:42:36 +02:00
GenericHeroGuy
2ff383a248 Replace shortname functions with stubs, and some trivial caller replacements 2025-06-25 22:20:07 +02:00
GenericHeroGuy
7aae6775e6 Use LUMPERROR instead of INT16_MAX, and MAX_WADFILES instead of UINT16_MAX
The 32768th lump of a file works now lol
2025-06-25 17:47:57 +02:00
GenericHeroGuy
684ded7647 Formally deprecate the shortname functions
and make TestValidLump actually work
2025-06-25 14:57:37 +02:00
GenericHeroGuy
4ffd4621e4 Let's clean this shit up properly
lumpinfo_t is now private. Wanna iterate thru lumps? Use the W_* functions
2025-06-25 00:43:46 +02:00
GenericHeroGuy
927f30e51f Aww yeah, string buffers baby! 2025-06-24 01:05:56 +02:00
GenericHeroGuy
1fa9a7cb8e Refactor info table initialization
We SOCced this stuff ages ago, time to exploit it
Also fixes resetdata kek
2025-05-14 17:28:41 +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
SteelT
9e2be91e31 Fix function prototype 2025-02-24 20:07:48 +01:00
GenericHeroGuy
d3d67d1d0e W_NeedPaletteRemap refactor because I'm stupid 2025-02-18 21:56:24 +01: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
SteelT
1147d3eaa8 Add patch support from a virtual lump 2025-02-07 01:59:56 +01:00
NepDisk
6c8440bfff Long Map Names Port pt 3. shits broke 2025-02-05 21:57:03 -05:00
GenericHeroGuy
f6f43943d7 Networked compatmode 2025-01-24 18:26:49 +01:00
GenericHeroGuy
48bb0ea5ef The actual palette remapping 2025-01-24 18:18:37 +01:00
GenericHeroGuy
d67c9862ae Add compatmode flag 2025-01-24 18:04:03 +01:00
Eidolon
b97dd3960f Merge branch 'remove-pragma-interface' into 'master'
Remove all gcc pragma interface

See merge request KartKrew/Kart!1767
2025-01-09 13:24:25 -05:00
NepDisk
7f355a35ca cherrypikcs from 'miniladder-16' 2025-01-09 13:19:48 -05:00
Sal
0eee9b754e Implement getModuleName for ACS environment 2024-10-15 22:16:54 -04: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
James R
b30ffea49a Hash name lookup for textures and lumps 2022-01-22 03:18:06 -08: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
James R
d5688f53a0 Don't print W_VerifyFile errors more than once 2020-11-28 20:51:21 -08:00
Jaime Passos
b44837324f Merge branch 'next' into patch-stuff-again-2 2020-10-10 17:01:10 -03:00
James R
d612fb5c99 Add wads from the -file parameter after netvars are registered
This is so netvars registered by any lua scripts will load in the correct order.
2020-10-01 16:50:31 -07:00
toaster
23faef24d7 * Introduce SPR2_XTRA for face graphics, since the current system is prone to plenty of conflicts with modders if you're not careful.
* Fixed a bug where you'd see :nick: on the current character selection screen if you didn't have many skins loaded.
* Fixed a bug where character skins loaded in PK3s would attempt to load every single lump of the PK3, even if it wasn't in the same subfolder as the original S_SKIN, as a sprite into the player struct. Could stand to be ported to vanilla.

Requires new chars.kart, which was created using the help of the indev 2.2-based Kartmaker update which will be available shortly.
2020-09-23 23:46:54 +01:00
Sally Coolatta
fd5fe916bc Get past w_wad.o 2020-08-15 03:31:23 -04:00
Sally Coolatta
e296e1309a YAY, round 2 2020-08-09 21:02:56 -04:00
Jaime Passos
a7f3dd7eff Refactor patch loading 2020-08-08 05:16:47 -03:00
SteelT
6106589507 Merge src/w_wad.c/h 2020-08-06 18:52:39 -04:00
Hannu Hanhi
6961bba693 Merge remote-tracking branch 'upstream/next' into shaders-224-next-merge 2020-06-07 20:01:05 +03: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
Louis-Antoine
70d03c9c6f Restore old entry searching functions and add alternate versions for long names 2020-04-26 00:39:52 +02:00