aboutsummaryrefslogtreecommitdiff
path: root/engines/hugo/inventory.cpp
diff options
context:
space:
mode:
authorArnaud Boutonné2011-02-02 21:12:51 +0000
committerArnaud Boutonné2011-02-02 21:12:51 +0000
commit426354953618135c0cffd6e9f34caf606066e363 (patch)
treebb7bbf704988282dc04a42704136d24e70b5a53c /engines/hugo/inventory.cpp
parent441c5e02111461e901f1f886f62e63f3afb131e3 (diff)
downloadscummvm-rg350-426354953618135c0cffd6e9f34caf606066e363.tar.gz
scummvm-rg350-426354953618135c0cffd6e9f34caf606066e363.tar.bz2
scummvm-rg350-426354953618135c0cffd6e9f34caf606066e363.zip
HUGO: 'Constify' engine as much as possible
svn-id: r55741
Diffstat (limited to 'engines/hugo/inventory.cpp')
-rw-r--r--engines/hugo/inventory.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/hugo/inventory.cpp b/engines/hugo/inventory.cpp
index 5d45a3bd35..4d9da085ac 100644
--- a/engines/hugo/inventory.cpp
+++ b/engines/hugo/inventory.cpp
@@ -56,7 +56,7 @@ InventoryHandler::InventoryHandler(HugoEngine *vm) : _vm(vm) {
* scrollFl is TRUE if scroll arrows required
* firstObjId is index of first (scrolled) inventory object to display
*/
-void InventoryHandler::constructInventory(int16 imageTotNumb, int displayNumb, bool scrollFl, int16 firstObjId) {
+void InventoryHandler::constructInventory(const int16 imageTotNumb, int displayNumb, const bool scrollFl, int16 firstObjId) {
debugC(1, kDebugInventory, "constructInventory(%d, %d, %d, %d)", imageTotNumb, displayNumb, (scrollFl) ? 0 : 1, firstObjId);
// Clear out icon buffer
@@ -97,7 +97,7 @@ void InventoryHandler::constructInventory(int16 imageTotNumb, int displayNumb, b
* Process required action for inventory
* Returns objId under cursor (or -1) for INV_GET
*/
-int16 InventoryHandler::processInventory(invact_t action, ...) {
+int16 InventoryHandler::processInventory(const invact_t action, ...) {
debugC(1, kDebugInventory, "processInventory(invact_t action, ...)");
static int16 firstIconId = 0; // Index of first icon to display