first gui stuff

This commit is contained in:
Eduardo Bart
2011-04-08 02:10:00 -03:00
parent 8a33e0cf19
commit 4c6d1269a0
28 changed files with 863 additions and 63 deletions

View File

@@ -27,6 +27,7 @@
#include "framework/resources.h"
#include "framework/platform.h"
#include "menustate.h"
#include "teststate.h"
/// Catches signals so we can exit nicely
void signal_handler(int sig)
@@ -108,8 +109,9 @@ int main(int argc, const char *argv[])
// state scope
{
std::shared_ptr<MenuState> menuState(new MenuState);
g_engine.changeState(menuState.get());
std::shared_ptr<MenuState> initialState(new MenuState);
//std::shared_ptr<TestState> initialState(new TestState);
g_engine.changeState(initialState.get());
Platform::showWindow();
//Platform::hideMouseCursor();