author | mark <mark> | 2002-04-14 17:08:03 (UTC) |
---|---|---|
committer | mark <mark> | 2002-04-14 17:08:03 (UTC) |
commit | bfeb067c8acfb5f1797fdc886ac71ca1b10ccf57 (patch) (unidiff) | |
tree | ad77e90c90f4bfb598bbe93aa4b3e14b689c96f4 /noncore/games/kbill/Computer.h | |
parent | a0fe593db4e700989cc19e28b67a58f87823afeb (diff) | |
download | opie-bfeb067c8acfb5f1797fdc886ac71ca1b10ccf57.zip opie-bfeb067c8acfb5f1797fdc886ac71ca1b10ccf57.tar.gz opie-bfeb067c8acfb5f1797fdc886ac71ca1b10ccf57.tar.bz2 |
Import of kbill
Diffstat (limited to 'noncore/games/kbill/Computer.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/games/kbill/Computer.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/noncore/games/kbill/Computer.h b/noncore/games/kbill/Computer.h new file mode 100644 index 0000000..7edcafb --- a/dev/null +++ b/noncore/games/kbill/Computer.h | |||
@@ -0,0 +1,22 @@ | |||
1 | #ifndef COMPUTER_H | ||
2 | #define COMPUTER_H | ||
3 | |||
4 | class Computer {/*structure for Computers*/ | ||
5 | public: | ||
6 | int type; /*CPU type*/ | ||
7 | int os; /*current OS*/ | ||
8 | int x, y; /*location*/ | ||
9 | int busy; /*is the computer being used?*/ | ||
10 | int setup(int i); | ||
11 | void draw(); | ||
12 | int find_stray(); | ||
13 | int oncomputer (int locx, int locy); | ||
14 | int compatible(int system); | ||
15 | int determineOS(); | ||
16 | static const int TOASTER = 0;/* computer 0 is a toaster */ | ||
17 | static const int PC = 5;/* type>=PC means the computer is a PC*/ | ||
18 | static const int OFFSET = 4;/* offset of screen from 0,0 */ | ||
19 | static const int BORDER = 50;/* BORDER pixels free on all sides*/ | ||
20 | }; | ||
21 | |||
22 | #endif | ||