aboutsummaryrefslogtreecommitdiff
path: root/engines/hugo/inventory.h
diff options
context:
space:
mode:
authorArnaud Boutonné2011-01-23 00:05:52 +0000
committerArnaud Boutonné2011-01-23 00:05:52 +0000
commit3f6496d5b5b2caf0b935b27bca557ae53a880302 (patch)
tree0b1da465ca9b7c1787ab73865366df4e4c89c721 /engines/hugo/inventory.h
parent257a6b2e6d432cd343e213218474a61f61a72980 (diff)
downloadscummvm-rg350-3f6496d5b5b2caf0b935b27bca557ae53a880302.tar.gz
scummvm-rg350-3f6496d5b5b2caf0b935b27bca557ae53a880302.tar.bz2
scummvm-rg350-3f6496d5b5b2caf0b935b27bca557ae53a880302.zip
HUGO: Cleanup
Suppress almost all defines, rename constants svn-id: r55451
Diffstat (limited to 'engines/hugo/inventory.h')
-rw-r--r--engines/hugo/inventory.h9
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);
};