aboutsummaryrefslogtreecommitdiff
path: root/engines/lastexpress/game/inventory.h
diff options
context:
space:
mode:
authorLittleboy2011-05-10 18:59:21 -0400
committerLittleboy2011-05-10 19:18:32 -0400
commit33c3e19cea2a08fbf26ecbe940763e8ee1c37d28 (patch)
treeaa79552813f6d7dc83311684c1f35fbe1b63f793 /engines/lastexpress/game/inventory.h
parent2bc865f01af8733e8411eb4b50bfb0d3b29dd2a5 (diff)
downloadscummvm-rg350-33c3e19cea2a08fbf26ecbe940763e8ee1c37d28.tar.gz
scummvm-rg350-33c3e19cea2a08fbf26ecbe940763e8ee1c37d28.tar.bz2
scummvm-rg350-33c3e19cea2a08fbf26ecbe940763e8ee1c37d28.zip
LASTEXPRESS: Implement item selection and scene loading
Diffstat (limited to 'engines/lastexpress/game/inventory.h')
-rw-r--r--engines/lastexpress/game/inventory.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/lastexpress/game/inventory.h b/engines/lastexpress/game/inventory.h
index 301e32d2a7..9a885438eb 100644
--- a/engines/lastexpress/game/inventory.h
+++ b/engines/lastexpress/game/inventory.h
@@ -163,7 +163,7 @@ private:
// Important rects
//Common::Rect _inventoryRect;
Common::Rect _menuEggRect;
- //Common::Rect _selectedItemRect;
+ Common::Rect _selectedItemRect;
void init();
@@ -171,10 +171,13 @@ private:
void close();
void examine(InventoryItem item);
void drawHighlight(uint32 currentIndex, bool reset);
+ uint32 getItemIndex(uint32 currentIndex);
bool isItemSceneParameter(InventoryItem item) const;
void drawItem(CursorStyle id, uint16 x, uint16 y, int16 brighnessIndex = -1);
+
+ void drawSelectedItem();
void clearSelectedItem();
};