Hello!
I'm creating a lot of structures in a lite-c script that I eventually want to release as an ultra-cool inventory system. To clean up the structures, I currently have a function called inv_cleanup() which must be called before the engine is closed. That seems to work, but maybe there's a better way. If 3d GameStudio allowed me to push pointers to my structures on some garbage collection stack so it would automatically free the structures on shut-down, that would be even better. That way, programmers would not have to remember to call inv_cleanup(). Does GameStudio have such a stack that I can access?
Also, does hitting escape trigger an on_exit event?
Thanks,
- Bret