You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

24 lines
540 B

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