summaryrefslogtreecommitdiff
path: root/noncore/games/kbill/Horde.h
authormark <mark>2002-04-14 17:08:03 (UTC)
committer mark <mark>2002-04-14 17:08:03 (UTC)
commitbfeb067c8acfb5f1797fdc886ac71ca1b10ccf57 (patch) (unidiff)
treead77e90c90f4bfb598bbe93aa4b3e14b689c96f4 /noncore/games/kbill/Horde.h
parenta0fe593db4e700989cc19e28b67a58f87823afeb (diff)
downloadopie-bfeb067c8acfb5f1797fdc886ac71ca1b10ccf57.zip
opie-bfeb067c8acfb5f1797fdc886ac71ca1b10ccf57.tar.gz
opie-bfeb067c8acfb5f1797fdc886ac71ca1b10ccf57.tar.bz2
Import of kbill
Diffstat (limited to 'noncore/games/kbill/Horde.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/games/kbill/Horde.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/noncore/games/kbill/Horde.h b/noncore/games/kbill/Horde.h
new file mode 100644
index 0000000..a54a620
--- a/dev/null
+++ b/noncore/games/kbill/Horde.h
@@ -0,0 +1,27 @@
1#ifndef HORDE_H
2#define HORDE_H
3
4#include "Monster.h"
5#include "Picture.h"
6
7 class Horde { /*global structure of all bills*/
8public:
9 static const int MAX_BILLS = 100;/*max Bills per level*/
10 static const int WCELS = 4;/* # of bill walking animation frames*/
11 static const int DCELS = 5;/* # of bill dying animation frames*/
12 static const int ACELS = 13;/* # of bill switching OS frames*/
13 Monster list[MAX_BILLS];/* list of monsters in all states*/
14 int width, height;
15 int on_screen, off_screen;
16 Picture lcels[WCELS], rcels[WCELS], acels[ACELS], dcels[DCELS];
17 void load_pix();
18 void setup();
19 void launch(int max);
20 int on(unsigned int lev);
21 int max_at_once(unsigned int lev);
22 int between(unsigned int lev);
23 void update();
24 void draw();
25};
26
27#endif