Shape shooter · build 25752486 · published
Removed a large block of duplicated code containing collision-grid functions, GPU compositor variables, cache dictionaries, and related rendering helpers.
Added a maximum size of 4096 entries to the biome tile surface cache to prevent unbounded cache growth.
Bucketed enemy glow alpha values into 16-step intervals and limited the enemy glow surface cache to 256 entries.
Replaced repeated O(N) enemy type checks with an for O(1) boss, miniboss, and special enemy existence checks.
Added safeguards to keep the active enemy type set synchronized when enemies are added or removed.