Commit Graph

8 Commits

Author SHA1 Message Date
Glenn Maynard ab1fd34e76 Previously, changing themes attempted to preserve Lua data by
serializing data and tables while reinstantiating Lua.  That's
ugly, and can't serialize some things (eg. functions).

Instead, when changing themes, shut down the high-level objects
and unregister as much as we can from Lua, change the theme,
then reregister things.  This doesn't clean the slate as much;
globals won't be erased, etc.

A better way would be to clear everything that uses Lua
(delete singletons), then reload it all.  Singleton creation is
a bit of a mess currently so that would break a lot, and we
don't want to reload songs.
2006-09-20 23:45:38 +00:00
Steve Checkoway f44603d19b Fix compile. 2006-01-26 04:49:45 +00:00
Glenn Maynard 3461ff8901 do `, tab support in ScreenDebugOverlay 2006-01-24 04:10:21 +00:00
Glenn Maynard 86aebecbdb namespace 2006-01-24 03:53:17 +00:00
Steve Checkoway 866d34a97d Remove ExitGame() 2005-12-17 13:09:04 +00:00
Steve Checkoway 8d56d70e0f Move ExitGame into GameLoop.h. 2005-10-30 09:45:52 +00:00
Glenn Maynard cf33a47ba4 add StartConcurrentRendering, FinishConcurrentRendering
(avoiding "BackgroundRendering" to avoid confusion with screen
backgrounds)
2005-07-13 06:41:27 +00:00
Glenn Maynard 8e971717c3 split out game loop 2005-07-13 00:45:58 +00:00