diff options
author | Eugene Sandulenko | 2019-10-22 21:13:31 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2019-10-22 21:13:54 +0200 |
commit | 614858eb4b8e60d35e9b89d2be1e420a159c39cd (patch) | |
tree | 8310ac4b79ec0e6d8b5050604868fa71dab61a56 /engines/scumm/he/logic/moonbase_logic.cpp | |
parent | 41f81bf02e313aa92e91f528a3dad2d06cb43d31 (diff) | |
download | scummvm-rg350-614858eb4b8e60d35e9b89d2be1e420a159c39cd.tar.gz scummvm-rg350-614858eb4b8e60d35e9b89d2be1e420a159c39cd.tar.bz2 scummvm-rg350-614858eb4b8e60d35e9b89d2be1e420a159c39cd.zip |
SCUMM HE: Work on receiving part of Moonbase Commander networking
Diffstat (limited to 'engines/scumm/he/logic/moonbase_logic.cpp')
-rw-r--r-- | engines/scumm/he/logic/moonbase_logic.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/engines/scumm/he/logic/moonbase_logic.cpp b/engines/scumm/he/logic/moonbase_logic.cpp index 8e4b5c9cc7..d16f8f9cf1 100644 --- a/engines/scumm/he/logic/moonbase_logic.cpp +++ b/engines/scumm/he/logic/moonbase_logic.cpp @@ -41,6 +41,8 @@ public: int versionID(); + int startOfFrame(); + int32 dispatch(int op, int numArgs, int32 *args); private: @@ -162,6 +164,11 @@ int LogicHEmoonbase::versionID() { #define OP_NET_ENABLE_SESSION_PLAYER_JOIN 1564 #define OP_NET_SET_AI_PLAYER_COUNT 1565 +int LogicHEmoonbase::startOfFrame() { + _vm1->_moonbase->_net->doNetworkOnceAFrame(15); // Value should be passed in... + + return 0; +} int32 LogicHEmoonbase::dispatch(int op, int numArgs, int32 *args) { switch (op) { |