File: Horde.h

package info (click to toggle)
xbill 2.1-9
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 780 kB
  • sloc: ansic: 3,250; sh: 197; makefile: 101
file content (23 lines) | stat: -rw-r--r-- 540 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef HORDE_H
#define HORDE_H

#include "types.h"

/* Counters */
#define HORDE_COUNTER_OFF 0
#define HORDE_COUNTER_ON 1
#define HORDE_COUNTER_MAX 1

void Horde_setup(void);
void Horde_update(int iteration);
void Horde_draw(void);
Bill * Horde_get_bill(int index);
void Horde_move_bill(Bill *bill);
void Horde_remove_bill(Bill *bill);
void Horde_add_bill(Bill *bill);
Bill *Horde_clicked_stray(int x, int y);
int Horde_process_click(int x, int y);
void Horde_inc_counter(int counter, int val);
int Horde_get_counter(int counter);

#endif