From 3f6496d5b5b2caf0b935b27bca557ae53a880302 Mon Sep 17 00:00:00 2001 From: Arnaud Boutonné Date: Sun, 23 Jan 2011 00:05:52 +0000 Subject: HUGO: Cleanup Suppress almost all defines, rename constants svn-id: r55451 --- engines/hugo/inventory.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'engines/hugo/inventory.h') 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); }; -- cgit v1.2.3