rotagon/main.c
Frank Villaro-Dixon 7100267c41 oauaou
2015-01-01 04:04:34 +01:00

33 lines
374 B
C

/*
** main.c - Rotagon
**
** 2014 - Frank Villaro-Dixon <Frank@Villaro-Dixon.eu>
*/
#include <stdio.h>
#include <stdlib.h>
#include "game.h"
#include "sdl.h"
int
main(int argc, char *argv[])
{
struct s_game ga;
init_game(&ga);
init_SDL(&ga);
while(1) {
draw_game(&ga);
SDL_Flip(ga.screen);
//get key
//do calcs
//collisions
}
return EXIT_SUCCESS;
}