aboutsummaryrefslogtreecommitdiff
path: root/engines/hugo/inventory.cpp
diff options
context:
space:
mode:
authorStrangerke2012-06-13 20:58:01 +0200
committerStrangerke2012-06-13 20:58:01 +0200
commit999ae29de43444118b5990a272a98031c4707ee0 (patch)
tree0dc1f238d915cb8f2733aa0f59de6db32f685105 /engines/hugo/inventory.cpp
parentfbc2c6d08ac96c92e2424118dc9b0548628287e5 (diff)
downloadscummvm-rg350-999ae29de43444118b5990a272a98031c4707ee0.tar.gz
scummvm-rg350-999ae29de43444118b5990a272a98031c4707ee0.tar.bz2
scummvm-rg350-999ae29de43444118b5990a272a98031c4707ee0.zip
HUGO: Rename structs and enums
Diffstat (limited to 'engines/hugo/inventory.cpp')
-rw-r--r--engines/hugo/inventory.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/hugo/inventory.cpp b/engines/hugo/inventory.cpp
index 151fe0ee13..c2495beadb 100644
--- a/engines/hugo/inventory.cpp
+++ b/engines/hugo/inventory.cpp
@@ -56,7 +56,7 @@ void InventoryHandler::setInventoryObjId(int16 objId) {
_inventoryObjId = objId;
}
-void InventoryHandler::setInventoryState(istate_t state) {
+void InventoryHandler::setInventoryState(Istate state) {
_inventoryState = state;
}
@@ -68,7 +68,7 @@ int16 InventoryHandler::getInventoryObjId() const {
return _inventoryObjId;
}
-istate_t InventoryHandler::getInventoryState() const {
+Istate InventoryHandler::getInventoryState() const {
return _inventoryState;
}
@@ -137,8 +137,8 @@ void InventoryHandler::constructInventory(const int16 imageTotNumb, int displayN
* Process required action for inventory
* Returns objId under cursor (or -1) for INV_GET
*/
-int16 InventoryHandler::processInventory(const invact_t action, ...) {
- debugC(1, kDebugInventory, "processInventory(invact_t action, ...)");
+int16 InventoryHandler::processInventory(const InvAct action, ...) {
+ debugC(1, kDebugInventory, "processInventory(InvAct action, ...)");
int16 imageNumb; // Total number of inventory items
int displayNumb; // Total number displayed/carried
@@ -208,7 +208,7 @@ int16 InventoryHandler::processInventory(const invact_t action, ...) {
* Process inventory state machine
*/
void InventoryHandler::runInventory() {
- status_t &gameStatus = _vm->getGameStatus();
+ Status &gameStatus = _vm->getGameStatus();
debugC(1, kDebugInventory, "runInventory");