bzr branch
http://gegoxaren.bato24.eu/bzr/%2Bjunk/c_sdl_joypad_ducktape
1
by Gustav Hartvigsson
Initial code. |
1 |
/* gcc main.c -D_REENTRANT -I/usr/local/include/SDL2 -Wl,-rpath,/usr/local/lib -L/usr/local/lib -lSDL2 -lpthread -Wall */
|
2 |
||
3 |
#include <SDL2/SDL.h> |
|
4 |
#include <stdbool.h> |
|
5 |
||
6 |
#include "Game.h" |
|
7 |
||
7
by Gustav Hartvigsson
* Added licensing information to the files. |
8 |
/**
|
9 |
* This file, as the rest of the project is under MIT license.
|
|
10 |
* see http://opensource.org/licenses/MIT
|
|
11 |
*
|
|
8
by Gustav Hartvigsson
* added and changed little in the files Lincening information. |
12 |
* Author Gustav Hartvigsson <gustav.hartvigsson _at_ gmail.com> 2014
|
7
by Gustav Hartvigsson
* Added licensing information to the files. |
13 |
*/
|
14 |
||
1
by Gustav Hartvigsson
Initial code. |
15 |
/******************************************************************************/
|
16 |
||
17 |
||
18 |
int main (int argc, char * argv[]) { |
|
19 |
|
|
20 |
Game * game = game_new (); |
|
21 |
|
|
22 |
game_main_loop (game); |
|
23 |
game_free (game); |
|
24 |
|
|
25 |
return 0; |
|
26 |
}
|
|
27 |