summaryrefslogtreecommitdiff
path: root/noncore/games/kbill/Library.cc
Side-by-side diff
Diffstat (limited to 'noncore/games/kbill/Library.cc') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/games/kbill/Library.cc13
1 files changed, 13 insertions, 0 deletions
diff --git a/noncore/games/kbill/Library.cc b/noncore/games/kbill/Library.cc
new file mode 100644
index 0000000..bb1e548
--- a/dev/null
+++ b/noncore/games/kbill/Library.cc
@@ -0,0 +1,13 @@
+#include "objects.h"
+
+void Library::load_pix() {
+ int i;
+ char *name[] = {"wingdows", "apple", "next", "sgi", "sun", "os2",
+ "bsd", "linux", "redhat", "hurd"};
+ for (i=0; i <= NUM_OS; i++) {
+ os[i].load(name[i]);
+ if (i) cursor[i].load(name[i], cursor[i].OWN_MASK);
+ }
+ width = os[0].width;
+ height = os[0].height;
+}