raycaster.cpp:update_level is a giant pile of bullshit #48
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
In fsm.cpp:450 on ENTITY_SPAWN I need to tell the raycaster there's a new entity, however the way I'm doing that is bonkers. I just run a full update_level which is normally for transitions to whole new levels. This function is then removing all of the sprites, resetting all of the tiles and walls, and then adding all the sprites back on. I need to make a function that only spawns new enemies and maybe another to remove them.