aboutsummaryrefslogtreecommitdiff
path: root/engines/teenagent/inventory.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/teenagent/inventory.h')
-rw-r--r--engines/teenagent/inventory.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/teenagent/inventory.h b/engines/teenagent/inventory.h
index 16a9aee573..80e1d2ad7d 100644
--- a/engines/teenagent/inventory.h
+++ b/engines/teenagent/inventory.h
@@ -47,7 +47,7 @@ public:
void activate(bool a) { _active = a; }
bool active() const { return _active; }
-
+
bool processEvent(const Common::Event &event);
InventoryObject *selectedObject() { return selected_obj; }
@@ -58,7 +58,7 @@ private:
Surface background;
Common::SeekableReadStream *items;
uint16 offset[92];
-
+
byte *objects;
byte *inventory;
struct Item {
@@ -66,12 +66,12 @@ private:
Surface surface;
Rect rect;
bool hovered;
-
+
Item() : hovered(false) {}
void free();
void render(Inventory *inventory, InventoryObject *obj, Graphics::Surface *surface);
} graphics[24];
-
+
bool _active;
Common::Point mouse;
int hovered;