/+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-11 23:32:10 UTC
  • Revision ID: gustav.hartvigsson@gmail.com-20140111233210-2lnw8934cjd5p848
* reorganising code to be remove extra typedefs.

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 Game;
26
 
 
27
 
struct _Game {
 
25
typedef struct Game {
28
26
  SDL_Event event;
29
27
  SDL_Point mouse_delta;
30
28
  bool mouse_pressed;
36
34
  SDL_GameController * game_controller;
37
35
  MousePointer * mouse;
38
36
  GameButton * button;
39
 
};
 
37
} Game;
40
38
 
41
39
Game * game_new ();
42
40
void game_process_events (Game * self);