bzr branch
http://gegoxaren.bato24.eu/bzr/%2Bjunk/c_sdl_joypad
21
by Gustav Hatvigsson
* added Modeline to (almost) all files. |
1 |
/* c-basic-offset: 2; tab-width: 2; indent-tabs-mode: nil
|
2 |
* vi: set shiftwidth=2 tabstop=2 expandtab:
|
|
3 |
* :indentSize=2:tabSize=2:noTabs=true:
|
|
4 |
*/
|
|
1
by Gustav Hartvigsson
Initial code. |
5 |
|
6 |
#include <SDL2/SDL.h> |
|
7 |
#include <stdbool.h> |
|
8 |
||
9 |
#include "Game.h" |
|
10 |
||
7
by Gustav Hartvigsson
* Added licensing information to the files. |
11 |
/**
|
12 |
* This file, as the rest of the project is under MIT license.
|
|
13 |
* see http://opensource.org/licenses/MIT
|
|
14 |
*
|
|
8
by Gustav Hartvigsson
* added and changed little in the files Lincening information. |
15 |
* Author Gustav Hartvigsson <gustav.hartvigsson _at_ gmail.com> 2014
|
7
by Gustav Hartvigsson
* Added licensing information to the files. |
16 |
*/
|
17 |
||
1
by Gustav Hartvigsson
Initial code. |
18 |
/******************************************************************************/
|
19 |
||
20 |
||
21 |
int main (int argc, char * argv[]) { |
|
22 |
|
|
23 |
Game * game = game_new (); |
|
24 |
|
|
25 |
game_main_loop (game); |
|
26 |
game_free (game); |
|
27 |
|
|
28 |
return 0; |
|
29 |
}
|
|
30 |