summaryrefslogtreecommitdiff
path: root/noncore/games/kbill/Library.h
Side-by-side diff
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