/+junk/c_sdl_joypad_ducktape

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/%2Bjunk/c_sdl_joypad_ducktape

« back to all changes in this revision

Viewing changes to Game.h

  • Committer: Gustav Hartvigsson
  • Date: 2014-01-09 20:07:52 UTC
  • Revision ID: gustav.hartvigsson@gmail.com-20140109200752-owx481zfl2n4tjsc
* added and changed little in the files Lincening information.
* Started to implement the JS parser's C file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
 
23
23
void quit (int rc);
24
24
 
25
 
typedef struct Game {
 
25
typedef struct _Game Game;
 
26
 
 
27
struct _Game {
26
28
  SDL_Event event;
27
29
  SDL_Point mouse_delta;
28
30
  bool mouse_pressed;
34
36
  SDL_GameController * game_controller;
35
37
  MousePointer * mouse;
36
38
  GameButton * button;
37
 
} Game;
 
39
};
38
40
 
39
41
Game * game_new ();
40
42
void game_process_events (Game * self);