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

25 lines
294 B
C++

#include "main.h"
int main(int argc, char* args[])
{
SDL_Event event;
int quit = 1;
SDL_Surface *screen;
screen = scrns::MainMenu();
// Check if user quit
while(quit == 1)
{
while(SDL_PollEvent(&event))
{
if(event.type == SDL_QUIT)
quit = 0;
}
}
return 0;
}