/+junk/c_sdl_joypad

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/%2Bjunk/c_sdl_joypad
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/* gcc main.c -D_REENTRANT -I/usr/local/include/SDL2  -Wl,-rpath,/usr/local/lib -L/usr/local/lib -lSDL2 -lpthread -Wall */

#include <SDL2/SDL.h>
#include <stdbool.h>

#include "Game.h"

/**
 * This file, as the rest of the project is under MIT license.
 * see http://opensource.org/licenses/MIT
 *
 * Author Gustav Hartvigsson <gustav.hartvigsson _at_ gmail.com> 2014
 */

/******************************************************************************/


int main (int argc, char * argv[]) {
  
  Game * game = game_new ();
  
  game_main_loop (game);
  game_free (game);
  
  return 0;
}