Alug
adce4197e0
make lumpnumcache case sensitive + optimize + replace quickncase hash with FNV1a
...
lumpnumcache can be case sensitive W_CheckNumForName should also look for uppercase stuff and W_LumpExists is case sensitive anyways
this avoids having to always account for case (toupper/tolower) during hash and string comparisons and even allows us to even directly compare our strings instead of using fastcmp (std::strings allow this!)
from some benchmarking externally this makes this faster quite a bit
2026-02-10 09:22:02 -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
Lactozilla
3b489df3db
Fix SRB2 1393 (Nep: also flats and brightmap support Thx lug) ( Closes #115 )
2025-09-20 13:43:35 -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
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
NepDisk
ed7b667aa7
Update File headers to use BLANKART
2025-04-19 13:33:28 -04:00
JugadorXEI
72354be22d
Fix off-by-one error in BRIGHT and TERRAIN lump parsing
2024-08-22 19:12:28 -04:00
toaster
0009497274
K_InitBrightmapsPwad: Also use guaranteed null-terminated data copy ala K_InitTerrain
2024-08-22 19:12:28 -04:00
Sal
5060e8bb33
Merge branch 'terrain-optimise-fresh' into 'master'
...
Terrain hashes
See merge request KartKrew/Kart!666
2024-07-31 02:35:19 -04:00
Sally Coolatta
2179da40bf
Update brightmap reading
...
- Does it per-wad
- Saves hashes for certain bits
- Adds R_UpdateTextureBrightmap to respect the zone memory
2021-12-18 18:23:24 -05:00
Sally Coolatta
6399cd57e1
Fix the print's file extension
2021-12-16 11:52:51 -05:00
Sally Coolatta
04c1a9dcb1
Brightmaps on walls
2021-12-16 09:40:14 -05:00