Cleanup Votescreen stuff #177

Merged
alufolie91 merged 11 commits from votebgstuff into Saturn-Next 2025-06-25 13:24:48 +02:00
alufolie91 commented 2025-05-31 19:28:22 +02:00 (Migrated from github.com)

Just puts everything votescreen related into a struct, renames some functions and variables for better clarity on their intentions
Gets rid of redundant variables and bloat
Also makes votepatches be properly freed in opengl aswell (missed this with the patch refactor)
Ensures dedicated does neither cache or free vote patches
And also simplyfies the 3 loops in P_PartialAddWadFile into one loop, which slightly speeds up addon loading (since we dont have to check every lump in a wad file 3 times)

Just puts everything votescreen related into a struct, renames some functions and variables for better clarity on their intentions Gets rid of redundant variables and bloat Also makes votepatches be properly freed in opengl aswell (missed this with the patch refactor) Ensures dedicated does neither cache or free vote patches And also simplyfies the 3 loops in P_PartialAddWadFile into one loop, which slightly speeds up addon loading (since we dont have to check every lump in a wad file 3 times)
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: saturn/SRB2Kart-Saturn#177