diff options
Diffstat (limited to 'engines/hugo/inventory.h')
-rw-r--r-- | engines/hugo/inventory.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/engines/hugo/inventory.h b/engines/hugo/inventory.h index 36fca71a43..f786897ba1 100644 --- a/engines/hugo/inventory.h +++ b/engines/hugo/inventory.h @@ -34,9 +34,10 @@ #define HUGO_INVENTORY_H namespace Hugo { -#define NUM_ARROWS 2 // Number of arrows (left/right) -#define LEFT_ARROW -2 // Cursor over Left arrow in inventory icon bar -#define RIGHT_ARROW -3 // Cursor over Right arrow in inventory icon bar +/** +* Actions for Process_inventory() +*/ +enum invact_t {kInventoryActionInit, kInventoryActionLeft, kInventoryActionRight, kInventoryActionGet}; class InventoryHandler { public: @@ -48,6 +49,8 @@ public: private: HugoEngine *_vm; + static const int kStepDy = 8; // Pixels per step movement + void constructInventory(int16 imageTotNumb, int displayNumb, bool scrollFl, int16 firstObjId); }; |