]>
git.r.bdr.sh - rbdr/pico-engine/blob - game_overwatch.h
ecaa0690313db50ad7eae10c35a3141582538649
2 * Module Name: Game_overwatch
3 * Description: Keep track of all the game citizens and their interactions.
4 * This is the heavy part of the engine.
12 //citizen linked list.
21 int population
, dudelock
;
22 int leftkey
, rightkey
, zkey
, xkey
, ckey
;
27 ~Game_overwatch(void);
29 void move_in(Actor
*);
30 void move_out(Actor
*);
32 void check_collisions(Map
*);
33 static bool line_colliding(int, int, int, int, int, int, int, int, int);
34 void reset_collisions();
35 void collision_callback(Actor
*, Actor
*);
36 void draw(SDL_Surface
*, Map
*);
37 void act(SDL_Surface
*, Map
*, bool[]);
39 void handlephysics(Map
*, int, int);
40 void handleinput(Actor
*, bool[]);