From 162ccd918698f53ef9ff7ba80091969d93aa789d Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Thu, 29 Dec 2011 14:49:02 -0700 Subject: Situation code actually processes now. Most of the AstNode types are unhandled yet. --- src/main.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index 609802c..8fe5247 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1,4 +1,6 @@ #include "gamebuilder.h" +#include "game.h" +#include "gamestate.h" #include "parser.tab.h" typedef void *yyscan_t; @@ -23,6 +25,11 @@ int main( int argc, char *argv[] ) fclose( in ); + Game *pGame = bld.getGame(); + + GameState gs( pGame ); + gs.init(); + return 0; } -- cgit v1.2.3