diff options
author | Alexander Tkachev | 2016-08-17 16:11:08 +0600 |
---|---|---|
committer | Eugene Sandulenko | 2016-08-30 23:26:29 +0200 |
commit | dd68bf0f183715127fbd6d2d4495d392e298a647 (patch) | |
tree | d687b3302ab3ea03bdb3d710f518957e68fe3ae6 /engines/scumm/he/moonbase | |
parent | 45947f6ccc02b336497b896490e1ffe4d74c4965 (diff) | |
download | scummvm-rg350-dd68bf0f183715127fbd6d2d4495d392e298a647.tar.gz scummvm-rg350-dd68bf0f183715127fbd6d2d4495d392e298a647.tar.bz2 scummvm-rg350-dd68bf0f183715127fbd6d2d4495d392e298a647.zip |
SCUMM HE: Add remote scripts-related kludges
Those are the last ones. Now Net stubs must be handled.
Diffstat (limited to 'engines/scumm/he/moonbase')
-rw-r--r-- | engines/scumm/he/moonbase/net_main.cpp | 13 | ||||
-rw-r--r-- | engines/scumm/he/moonbase/net_main.h | 3 |
2 files changed, 16 insertions, 0 deletions
diff --git a/engines/scumm/he/moonbase/net_main.cpp b/engines/scumm/he/moonbase/net_main.cpp index f2ef1c8cf1..cdc2eef333 100644 --- a/engines/scumm/he/moonbase/net_main.cpp +++ b/engines/scumm/he/moonbase/net_main.cpp @@ -158,6 +158,19 @@ bool Net::initUser() { return false; } +void Net::remoteStartScript(int typeOfSend, int sendTypeParam, int priority, int argsCount, int32 *args) { + warning("STUB: Net::remoteStartScript(%d, %d, %d, %d, ...)", typeOfSend, sendTypeParam, priority, argsCount); // PN_RemoteStartScriptCommand +} + +void Net::remoteSendArray(int typeOfSend, int sendTypeParam, int priority, int arrayIndex) { + warning("STUB: Net::remoteSendArray(%d, %d, %d, %d)", typeOfSend, sendTypeParam, priority, arrayIndex); // PN_RemoteSendArrayCommand +} + +int Net::remoteStartScriptFunction(int typeOfSend, int sendTypeParam, int priority, int defaultReturnValue, int argsCount, int32 *args) { + warning("STUB: Net::remoteStartScriptFunction(%d, %d, %d, %d, %d, ...)", typeOfSend, sendTypeParam, priority, defaultReturnValue, argsCount); // PN_RemoteStartScriptFunction + return 0; +} + bool Net::getHostName(char *hostname, int length) { warning("STUB: Net::getHostName(\"%s\", %d)", hostname, length); // PN_GetHostName return false; diff --git a/engines/scumm/he/moonbase/net_main.h b/engines/scumm/he/moonbase/net_main.h index dbfe08d40f..8350904fcd 100644 --- a/engines/scumm/he/moonbase/net_main.h +++ b/engines/scumm/he/moonbase/net_main.h @@ -59,6 +59,9 @@ public: bool initProvider(); bool initSession(); bool initUser(); + void remoteStartScript(int typeOfSend, int sendTypeParam, int priority, int argsCount, int32 *args); + void remoteSendArray(int typeOfSend, int sendTypeParam, int priority, int arrayIndex); + int remoteStartScriptFunction(int typeOfSend, int sendTypeParam, int priority, int defaultReturnValue, int argsCount, int32 *args); private: |