Commit graph

14 commits

Author SHA1 Message Date
NepDisk
9c044e9f20 We have missingpat here 2025-12-29 14:02:08 -05:00
NepDisk
701b7436de fix some null pointer dereferences
Based on b0bf588c27
and 67e74b5874
2025-12-29 13:25:43 -05:00
Alug
6b81279e33 Revert "Merge pull request 'Revert Pal Render for fixing' (#199) from revertpalfornow into next"
This reverts commit 68dc60eea2, reversing
changes made to e4ce835acb.
2025-12-15 22:25:50 +01:00
NepDisk
4201174519 Revert "Port palette rendering from SRB2"
This reverts commit 5b7699b29a.
2025-12-14 23:38:50 -05:00
NepDisk
46ab8191f7 Fix addonloaded hook 2025-12-13 12:52: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
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)