Mercurial > fife-parpg
diff engine/core/controller/engine.cpp @ 646:07b1cf8e92b5
* Major improvements to fife_math.h and added corresponding Python bindings. Users now have access to FIFE's internal math functions. These functions are recommended to be used by all clients if required. Note: this may cause some problems with certain compilers. I hope this wont have to be reverted. TODO: remove the static constant globals somehow.
* Adopted the new math functions for all subsystems
* Improvements to DeviceCaps. It now detects all possible screen modes.
* User can now select 0 for their bpp and it will attempt to initialize SDL with the current screen bpp.
author | prock@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Wed, 13 Oct 2010 20:24:48 +0000 |
parents | edf6dcfe8cd4 |
children | 51bbda7676f0 |
line wrap: on
line diff
--- a/engine/core/controller/engine.cpp Tue Oct 12 18:58:47 2010 +0000 +++ b/engine/core/controller/engine.cpp Wed Oct 13 20:24:48 2010 +0000 @@ -210,7 +210,7 @@ m_screenMode = m_devcaps.getNearestScreenMode( m_settings.getScreenWidth(), m_settings.getScreenHeight(), - (bpp ? bpp : 32) , //if it's 0 we use 32 bit as a default + bpp, rbackend, m_settings.isFullScreen()); @@ -309,11 +309,11 @@ TTF_Quit(); SDL_Quit(); - + #ifdef USE_COCOA objc_msgSend(m_autoreleasePool, sel_registerName("release")); #endif - + FL_LOG(_log, "================== Engine destructed =================="); m_destroyed = true; //delete m_logmanager;