Renamed GUIEngine::free() to GUIEngine::cleanUp(), which allows

the usage of the VS memory debugger (which redefines free using a macro).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3546 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
hikerstk 2009-05-28 03:15:43 +00:00
parent 043c4c0671
commit 9b38b69057
3 changed files with 3 additions and 3 deletions

View File

@ -165,7 +165,7 @@ void IrrDriver::changeResolution()
item_manager -> removeTextures();
kart_properties_manager -> removeTextures();
powerup_manager -> removeTextures();
GUIEngine::free();
GUIEngine::cleanUp();
m_device->closeDevice();
m_device->drop();

View File

@ -139,7 +139,7 @@ Screen* getCurrentScreen()
return g_current_screen;
}
// -----------------------------------------------------------------------------
void free()
void cleanUp()
{
if(g_skin != NULL) delete g_skin;
g_skin = NULL;

View File

@ -184,7 +184,7 @@ namespace GUIEngine
float getLatestDt();
void init(irr::IrrlichtDevice* device, irr::video::IVideoDriver* driver, void (*eventCallback)(Widget* widget, std::string& name) );
void free();
void cleanUp();
void switchToScreen(const char* );
void clear();
void cleanForGame();