[Scummvm-cvs-logs] SF.net SVN: scummvm: [29508] scummvm/trunk/engines/lure
dreammaster at users.sourceforge.net
dreammaster at users.sourceforge.net
Thu Nov 15 12:33:16 CET 2007
Revision: 29508
http://scummvm.svn.sourceforge.net/scummvm/?rev=29508&view=rev
Author: dreammaster
Date: 2007-11-15 03:33:16 -0800 (Thu, 15 Nov 2007)
Log Message:
-----------
Fixes to parameters of script methods
Modified Paths:
--------------
scummvm/trunk/engines/lure/scripts.cpp
scummvm/trunk/engines/lure/scripts.h
Modified: scummvm/trunk/engines/lure/scripts.cpp
===================================================================
--- scummvm/trunk/engines/lure/scripts.cpp 2007-11-15 10:07:46 UTC (rev 29507)
+++ scummvm/trunk/engines/lure/scripts.cpp 2007-11-15 11:33:16 UTC (rev 29508)
@@ -515,15 +515,15 @@
// 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);
Modified: scummvm/trunk/engines/lure/scripts.h
===================================================================
--- scummvm/trunk/engines/lure/scripts.h 2007-11-15 10:07:46 UTC (rev 29507)
+++ scummvm/trunk/engines/lure/scripts.h 2007-11-15 11:33:16 UTC (rev 29508)
@@ -120,11 +120,11 @@
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);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list