Game Development Community

Cleanup Suggestion

by Gerald Fishel · in Torque Game Engine Advanced · 02/05/2007 (1:02 am) · 0 replies

Hi,

Not sure where I should post this exactly, so I'll do it here.

It would be really nice to have a function that would completely cleanup TGEA, so that it can be shutdown and initialized again in the same process. Aside from the shutdown functions I've found, there appears to be a whole lot of global variables that don't get cleaned up and/or reset to their initial values when shutting down, so when trying to reinitialize the engine, crashes occur.

Is this something that is in the current plan? Or maybe something I've missed?

I'm going to be working on doing it myself over the next week, so if there's nothing in the works maybe I will submit a patch for it. But please let me know if there is already something that will do it, or something that is planned to do it.

Thanks,
Gerald