2012-12-31 22:58:44 +00:00
|
|
|
#include "main.h"
|
2012-10-24 11:46:45 +00:00
|
|
|
|
2013-01-09 05:36:22 +00:00
|
|
|
using namespace std;
|
2012-10-24 11:46:45 +00:00
|
|
|
|
2013-01-09 05:36:22 +00:00
|
|
|
int main(int argc, char* args[])
|
|
|
|
{
|
2012-12-31 22:58:44 +00:00
|
|
|
SDL_Surface *screen;
|
2013-01-09 05:36:22 +00:00
|
|
|
int menu_option = -1;
|
|
|
|
|
2012-12-31 22:58:44 +00:00
|
|
|
screen = scrns::MainMenu();
|
2013-01-09 05:36:22 +00:00
|
|
|
|
|
|
|
while(menu_option == -1)
|
|
|
|
{
|
|
|
|
menu_option = scrns::MainMenu_survey();
|
|
|
|
|
|
|
|
if(menu_option == 1)
|
|
|
|
{
|
|
|
|
cout << "Starting new game..." << endl;
|
2012-10-24 11:46:45 +00:00
|
|
|
}
|
|
|
|
}
|
2013-01-09 05:36:22 +00:00
|
|
|
|
|
|
|
SDL_FreeSurface(screen);
|
2012-12-31 22:58:44 +00:00
|
|
|
return 0;
|
2012-10-24 11:46:45 +00:00
|
|
|
}
|