aboutsummaryrefslogtreecommitdiff
path: root/engines/supernova/supernova.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/supernova/supernova.h')
-rw-r--r--engines/supernova/supernova.h15
1 files changed, 14 insertions, 1 deletions
diff --git a/engines/supernova/supernova.h b/engines/supernova/supernova.h
index 017c912f13..2844c2aa6f 100644
--- a/engines/supernova/supernova.h
+++ b/engines/supernova/supernova.h
@@ -55,7 +55,7 @@ private:
byte _menuBrightness;
byte _brightness;
uint _delay;
-
+
void initData();
void initPalette();
void paletteFadeIn();
@@ -71,6 +71,19 @@ private:
void renderBox(int x, int y, int width, int height, byte color);
};
+class Inventory {
+public:
+ Inventory();
+
+ void add(Object &obj);
+ void remove(Object &obj);
+ Object *get(size_t index);
+
+private:
+ Object *_inventory[kMaxCarry];
+ size_t _numObjects;
+};
+
}
#endif