DeleteDynamicSprite Problem

Started by Chernsha, Sun 29/02/2004 01:37:27

Previous topic - Next topic

Chernsha

I use DeleteDynamicSprite function in my plugin.
I found a problem when I run plugin in window mode game.
That is after the CreateDynamicSprite function runing,I close the game windows by pushing the "X" push button in the windows title bar directly before the DeleteDynamicSprite function have been ran.The AGS will report a warn message about the plugin not run DeleteDynamicSprite function to release the memory.

I think that plugin must have a function(Ex:AGS_EngineShutdown) which used to do the whole release memory action to avoid receiveing a warn message before exiting the game .
Or have any other method to ensure some function can been ran before exiting the game?

Pumaman

Very good point, I'll get it done for the next beta.

SMF spam blocked by CleanTalk