1 #ifndef HORDE_H 2 #define HORDE_H 3 4 #include "types.h" 5 6 /* Counters */ 7 #define HORDE_COUNTER_OFF 0 8 #define HORDE_COUNTER_ON 1 9 #define HORDE_COUNTER_MAX 1 10 11 void Horde_setup(void); 12 void Horde_update(int iteration); 13 void Horde_draw(void); 14 Bill * Horde_get_bill(int index); 15 void Horde_move_bill(Bill *bill); 16 void Horde_remove_bill(Bill *bill); 17 void Horde_add_bill(Bill *bill); 18 Bill *Horde_clicked_stray(int x, int y); 19 int Horde_process_click(int x, int y); 20 void Horde_inc_counter(int counter, int val); 21 int Horde_get_counter(int counter); 22 23 #endif 24