1
0
mirror of https://github.com/krislamo/Trololo synced 2024-11-10 00:30:35 +00:00
Trololo/main.cpp

25 lines
349 B
C++
Raw Normal View History

#include "main.h"
2012-10-24 11:46:45 +00:00
using namespace std;
2012-10-24 11:46:45 +00:00
int main(int argc, char* args[])
{
SDL_Surface *screen;
int menu_option = -1;
screen = scrns::MainMenu();
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
}
}
SDL_FreeSurface(screen);
return 0;
2012-10-24 11:46:45 +00:00
}