diff options
author | Le Philousophe | 2019-03-10 12:02:15 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2019-06-01 22:43:48 +0200 |
commit | 812d75e4e46b497f9a8b5a4b201a3325e4f3fabf (patch) | |
tree | b0a24d25019dbd46f6488920003cf8f6f314cc9c /engines/cryomni3d/versailles/logic.cpp | |
parent | d655fb5530e2a6ffc23d3a8c3d6009e02eec8fcc (diff) | |
download | scummvm-rg350-812d75e4e46b497f9a8b5a4b201a3325e4f3fabf.tar.gz scummvm-rg350-812d75e4e46b497f9a8b5a4b201a3325e4f3fabf.tar.bz2 scummvm-rg350-812d75e4e46b497f9a8b5a4b201a3325e4f3fabf.zip |
CRYOMNI3D: Make objects functions names more consistent
Diffstat (limited to 'engines/cryomni3d/versailles/logic.cpp')
-rw-r--r-- | engines/cryomni3d/versailles/logic.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/engines/cryomni3d/versailles/logic.cpp b/engines/cryomni3d/versailles/logic.cpp index 1144318ec0..5ebb514ae6 100644 --- a/engines/cryomni3d/versailles/logic.cpp +++ b/engines/cryomni3d/versailles/logic.cpp @@ -360,7 +360,7 @@ IMG_CB(31142b) { break; } if (fimg->_zoneUse) { - if (_gameVariables[GameVariables::kCollectScissors] || _inventory.inInventoryByNameId(94)) { + if (_gameVariables[GameVariables::kCollectScissors] || _inventory.inInventoryByNameID(94)) { // Empty drawer ZonFixedImage::CallbackFunctor *functor = new Common::Functor1Mem<ZonFixedImage *, void, CryOmni3DEngine_Versailles>(this, @@ -388,7 +388,7 @@ IMG_CB(31142c) { break; } if (fimg->_zoneUse) { - if (!_inventory.inInventoryByNameId(94) && !_gameVariables[GameVariables::kCollectScissors]) { + if (!_inventory.inInventoryByNameID(94) && !_gameVariables[GameVariables::kCollectScissors]) { collectObject(94, fimg); } _gameVariables[GameVariables::kCollectScissors] = 1; @@ -446,7 +446,7 @@ IMG_CB(31143b) { break; } if (fimg->_zoneUse) { - if (_inventory.inInventoryByNameId(96)) { + if (_inventory.inInventoryByNameID(96)) { // Empty drawer ZonFixedImage::CallbackFunctor *functor = new Common::Functor1Mem<ZonFixedImage *, void, CryOmni3DEngine_Versailles>(this, @@ -474,7 +474,7 @@ IMG_CB(31143c) { break; } if (fimg->_zoneUse) { - if (!_inventory.inInventoryByNameId(96)) { + if (!_inventory.inInventoryByNameID(96)) { collectObject(96, fimg); } // Display empty drawer @@ -516,7 +516,7 @@ IMG_CB(41202) { } HANDLE_QUESTION(1); if (fimg->_zoneUse) { - if (fimg->_currentZone == 2 && !_inventory.inInventoryByNameId(97)) { + if (fimg->_currentZone == 2 && !_inventory.inInventoryByNameID(97)) { // Open the jar ZonFixedImage::CallbackFunctor *functor = new Common::Functor1Mem<ZonFixedImage *, void, CryOmni3DEngine_Versailles>(this, @@ -549,7 +549,7 @@ IMG_CB(41202b) { break; } if (fimg->_zoneUse) { - if (!_inventory.inInventoryByNameId(97)) { + if (!_inventory.inInventoryByNameID(97)) { collectObject(97, fimg); } // Go back to jars closed @@ -584,7 +584,7 @@ IMG_CB(41801) { } } else if (fimg->_usedObject && fimg->_usedObject->idOBJ() == 94) { _gameVariables[GameVariables::kUsedScissors] = 1; - _inventory.removeByNameId(94); + _inventory.removeByNameID(94); open = true; } if (open) { @@ -633,7 +633,7 @@ IMG_CB(41801b) { break; } if (fimg->_zoneUse) { - if (!_inventory.inInventoryByNameId(100)) { + if (!_inventory.inInventoryByNameID(100)) { collectObject(100, fimg); } _gameVariables[GameVariables::kCollectedPaperInTrunk] = 1; @@ -736,7 +736,7 @@ IMG_CB(41802) { if (_nextPlaceId == -1u) { _nextPlaceId = _currentPlaceId; } - _inventory.removeByNameId(100); + _inventory.removeByNameID(100); // Revealed paper collectObject(98, fimg); _gameVariables[GameVariables::kGotRevealedPaper] = 1; @@ -783,7 +783,7 @@ IMG_CB(41802b) { if (_nextPlaceId == -1u) { _nextPlaceId = _currentPlaceId; } - _inventory.removeByNameId(100); + _inventory.removeByNameID(100); // Revealed paper collectObject(98, fimg); _gameVariables[GameVariables::kGotRevealedPaper] = 1; @@ -828,7 +828,7 @@ IMG_CB(41802c) { if (_nextPlaceId == -1u) { _nextPlaceId = _currentPlaceId; } - _inventory.removeByNameId(100); + _inventory.removeByNameID(100); // Revealed paper collectObject(98, fimg); _gameVariables[GameVariables::kGotRevealedPaper] = 1; @@ -863,7 +863,7 @@ IMG_CB(41802d) { if (_nextPlaceId == -1u) { _nextPlaceId = _currentPlaceId; } - _inventory.removeByNameId(100); + _inventory.removeByNameID(100); // Revealed paper collectObject(98, fimg); _gameVariables[GameVariables::kGotRevealedPaper] = 1; |