summaryrefslogtreecommitdiff
path: root/noncore/games/kbill/Computer.h
Side-by-side diff
Diffstat (limited to 'noncore/games/kbill/Computer.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/games/kbill/Computer.h22
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 @@
+#ifndef COMPUTER_H
+#define COMPUTER_H
+
+class Computer { /*structure for Computers*/
+public:
+ int type; /*CPU type*/
+ int os; /*current OS*/
+ int x, y; /*location*/
+ int busy; /*is the computer being used?*/
+ int setup(int i);
+ void draw();
+ int find_stray();
+ int oncomputer (int locx, int locy);
+ int compatible(int system);
+ int determineOS();
+ static const int TOASTER = 0; /* computer 0 is a toaster */
+ static const int PC = 5; /* type>=PC means the computer is a PC*/
+ static const int OFFSET = 4; /* offset of screen from 0,0 */
+ static const int BORDER = 50; /* BORDER pixels free on all sides*/
+};
+
+#endif