diff options
author | Paul Gilbert | 2007-11-15 11:33:16 +0000 |
---|---|---|
committer | Paul Gilbert | 2007-11-15 11:33:16 +0000 |
commit | b95a10201168a2b2bb59008822bcd3d8eb6c43fb (patch) | |
tree | dd2b5583c271f01b55440705239208e434ddbfa5 /engines/lure | |
parent | 61e8ad7a32e5a50296d2f30c01422399445b8d73 (diff) | |
download | scummvm-rg350-b95a10201168a2b2bb59008822bcd3d8eb6c43fb.tar.gz scummvm-rg350-b95a10201168a2b2bb59008822bcd3d8eb6c43fb.tar.bz2 scummvm-rg350-b95a10201168a2b2bb59008822bcd3d8eb6c43fb.zip |
Fixes to parameters of script methods
svn-id: r29508
Diffstat (limited to 'engines/lure')
-rw-r--r-- | engines/lure/scripts.cpp | 6 | ||||
-rw-r--r-- | engines/lure/scripts.h | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/engines/lure/scripts.cpp b/engines/lure/scripts.cpp index ab89b8a9b1..796c169369 100644 --- a/engines/lure/scripts.cpp +++ b/engines/lure/scripts.cpp @@ -515,15 +515,15 @@ void Script::checkWakeBrenda(uint16 v1, uint16 v2, uint16 v3) { // Lookup the given message Id for the specified character and display in a dialog -void Script::displayMessage(uint16 messageId, uint16 characterId, uint16 unknownVal) { +void Script::displayMessage(uint16 messageId, uint16 characterId, uint16 destCharacterId) { Hotspot *hotspot = Resources::getReference().getActiveHotspot(characterId); if (hotspot != NULL) - hotspot->showMessage(messageId); + hotspot->showMessage(messageId, destCharacterId); } // Creates a new dispatch action with the given support data entry -void Script::setNewSupportData(uint16 hotspotId, uint16 index, uint16 v3) { +void Script::setNewSupportData(uint16 index, uint16 hotspotId, uint16 v3) { Resources &res = Resources::getReference(); uint16 dataId = res.getCharOffset(index); CharacterScheduleEntry *entry = res.charSchedules().getEntry(dataId); diff --git a/engines/lure/scripts.h b/engines/lure/scripts.h index 4ad5226e70..059873a3c5 100644 --- a/engines/lure/scripts.h +++ b/engines/lure/scripts.h @@ -120,11 +120,11 @@ public: static void makeGoewinFollow(uint16 v1, uint16 v2, uint16 v3); static void doorClose(uint16 hotspotId, uint16 v2, uint16 v3); static void fixGoewin(uint16 v1, uint16 v2, uint16 v3); - static void displayMessage(uint16 messageId, uint16 characterId, uint16 unknownVal); + static void displayMessage(uint16 messageId, uint16 characterId, uint16 destCharacterId); static void doorOpen(uint16 hotspotId, uint16 v2, uint16 v3); static void npcWait(uint16 hotspotId, uint16 v2, uint16 v3); static void checkWakeBrenda(uint16 v1, uint16 v2, uint16 v3); - static void setNewSupportData(uint16 hotspotId, uint16 index, uint16 v3); + static void setNewSupportData(uint16 index, uint16 hotspotId, uint16 v3); static void setSupportData(uint16 hotspotId, uint16 index, uint16 v3); static void givePlayerItem(uint16 hotspotId, uint16 v2, uint16 v3); static void decreaseNumGroats(uint16 characterId, uint16 numGroats, uint16 v3); |