summaryrefslogtreecommitdiff
path: root/noncore/games/kbill/Library.h
authormark <mark>2002-04-14 17:08:03 (UTC)
committer mark <mark>2002-04-14 17:08:03 (UTC)
commitbfeb067c8acfb5f1797fdc886ac71ca1b10ccf57 (patch) (side-by-side diff)
treead77e90c90f4bfb598bbe93aa4b3e14b689c96f4 /noncore/games/kbill/Library.h
parenta0fe593db4e700989cc19e28b67a58f87823afeb (diff)
downloadopie-bfeb067c8acfb5f1797fdc886ac71ca1b10ccf57.zip
opie-bfeb067c8acfb5f1797fdc886ac71ca1b10ccf57.tar.gz
opie-bfeb067c8acfb5f1797fdc886ac71ca1b10ccf57.tar.bz2
Import of kbill
Diffstat (limited to 'noncore/games/kbill/Library.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/games/kbill/Library.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/noncore/games/kbill/Library.h b/noncore/games/kbill/Library.h
new file mode 100644
index 0000000..eda2fcf
--- a/dev/null
+++ b/noncore/games/kbill/Library.h
@@ -0,0 +1,19 @@
+#ifndef LIBRARY_H
+#define LIBRARY_H
+
+#include "Picture.h"
+#include "MCursor.h"
+
+class Library { /* global structure of all OSes */
+public:
+ static const int WINGDOWS = 0; /* OS 0 is wingdows */
+ static const int OFF = -1; /* OS -1 means the computer is off */
+ static const int PC = 5; /* OS >= PC means the OS is a PC OS */
+ static const int NUM_OS = 9; /* The number of OSes (not Wingdows) */
+ int width, height; /* size of OS picture*/
+ Picture os[NUM_OS+1]; /* array of OS pictures*/
+ MCursor cursor[NUM_OS+1]; /* array of OS cursors (drag/drop) */
+ void load_pix();
+};
+
+#endif