Commit graph

9 commits

Author SHA1 Message Date
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
NepDisk
2a763d24ba Make this use helper function 2025-12-11 11:48:05 -05:00
NepDisk
afed09485a Add WADNAME editor support for Linux and Fix Windows 2025-12-11 01:27:43 -05:00
Alug
84538f06b0 w_wad: use unordered map to cache wad start and end folders 2025-12-07 16:09:44 -05:00
Alug
d14a3f64db w_wad: optimize W_LumpExists
in two parts:
- Use our lumpcache lookup first (our unordered map), BUT since it is case insensitive we extract our lump out of it to do another case sensitive name compare
- In the manual lump seach falltthrough case, we can also check against the string lenghts and hash (its case insensitive but will still reject differing names, same with stringlenght)

this improves the performance of the leaderboard map browser quite a bit and everything else using v.patchExists
2025-12-07 15:55:25 -05:00
NepDisk
5b7699b29a Port palette rendering from SRB2
Thanks Alug for assistance porting this!

Does not currently support brightmaps
2025-12-05 19:00:23 -05:00
NepDisk
9e21326ab9 Use namelen instead of sizeof(name) - 1 2025-12-04 15:24:32 -05:00
NepDisk
a9cbaae799 w_wad: replace lumpnumcache with unordered_map hash lookup
Holy shit, thanks Alug!!!!

This is a major performance boost with a large amount of lumps loaded compared to the barely functional lumpnumcache that was there before.
2025-12-04 15:10:50 -05:00
Renamed from src/w_wad.c (Browse further)