diff options
author | Eugene Sandulenko | 2019-10-22 13:26:03 +0300 |
---|---|---|
committer | Eugene Sandulenko | 2019-10-22 21:13:54 +0200 |
commit | 4ba4884c37fc2f5644c7ecb0b353f61e88a0330f (patch) | |
tree | 756f7685fb950dd92cb42f5d30fea83c69df3acf /engines/scumm/he/moonbase/net_main.h | |
parent | 4f54a3361a7ed69f7928a13b883c2aaa21d2d791 (diff) | |
download | scummvm-rg350-4ba4884c37fc2f5644c7ecb0b353f61e88a0330f.tar.gz scummvm-rg350-4ba4884c37fc2f5644c7ecb0b353f61e88a0330f.tar.bz2 scummvm-rg350-4ba4884c37fc2f5644c7ecb0b353f61e88a0330f.zip |
SCUMM HE: More work on the Moonbase networking. Getting in-game
Diffstat (limited to 'engines/scumm/he/moonbase/net_main.h')
-rw-r--r-- | engines/scumm/he/moonbase/net_main.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/engines/scumm/he/moonbase/net_main.h b/engines/scumm/he/moonbase/net_main.h index ad1da0613f..7fbae3417c 100644 --- a/engines/scumm/he/moonbase/net_main.h +++ b/engines/scumm/he/moonbase/net_main.h @@ -30,6 +30,7 @@ class ScummEngine_v100he; class Net { public: Net(ScummEngine_v100he *vm); + ~Net(); int hostGame(char *sessionName, char *userName); int joinGame(char *IP, char *userName); @@ -58,7 +59,7 @@ public: bool initSession(); bool initUser(); void remoteStartScript(int typeOfSend, int sendTypeParam, int priority, int argsCount, int32 *args); - void remoteSendData(int type, byte *data, int len); + int remoteSendData(int typeOfSend, int sendTypeParam, int type, byte *data, int len, int defaultRes); void remoteSendArray(int typeOfSend, int sendTypeParam, int priority, int arrayIndex); int remoteStartScriptFunction(int typeOfSend, int sendTypeParam, int priority, int defaultReturnValue, int argsCount, int32 *args); @@ -81,6 +82,10 @@ public: bool _fakeLatency; ScummEngine_v100he *_vm; + + byte *_packbuffer; + byte *_tmpbuffer; + }; } // End of namespace Scumm |