I don't think I'll bother any more with this, so I'll just make it start
[ld42_outofspace] / src / screen.cc
index 1870796..7688652 100644 (file)
@@ -1,4 +1,5 @@
 #include "screen.h"
+#include "game.h"
 
 ScreenBase *active_screen;
 MenuScreen *scr_menu;
@@ -16,8 +17,8 @@ bool init_screens()
                return false;
        }
 
-       //push_screen(scr_menu);
-       push_screen(scr_game);
+       push_screen(scr_menu);
+       //push_screen(scr_game);
        return true;
 }
 
@@ -35,6 +36,7 @@ void push_screen(ScreenBase *scr)
        scr->next = active_screen;
        active_screen = scr;
 
+       scr->reshape(win_width, win_height);
        scr->start();
 }