Started refactoring code with the hope to eventually be fully backwards- compatible. Implemented the entity pool functions. Added script reloading stuff. Also fixed a couple nasty bugs in the ScriptManager. #1- Iterator would sometimes overflow list when deleting scripts #2- Fixed possibility of Script::Tick firing after a script had been removed.
Started refactoring code with the hope to eventually be fully backwards- compatible. Implemented the entity pool functions. Added script reloading stuff. Also fixed a couple nasty bugs in the ScriptManager. #1- Iterator would sometimes overflow list when deleting scripts #2- Fixed possibility of Script::Tick firing after a script had been removed.