aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/he/logic
diff options
context:
space:
mode:
authorEugene Sandulenko2019-10-24 00:14:08 +0200
committerEugene Sandulenko2019-10-24 00:15:33 +0200
commite15428c43fc62f3e139d6b97e61624941f7e08ba (patch)
tree0d5d1af7e3876c264f0da13c675bbea306128678 /engines/scumm/he/logic
parent2c5ae963561eead1dcfdd5885e1f1ebc8d9293eb (diff)
downloadscummvm-rg350-e15428c43fc62f3e139d6b97e61624941f7e08ba.tar.gz
scummvm-rg350-e15428c43fc62f3e139d6b97e61624941f7e08ba.tar.bz2
scummvm-rg350-e15428c43fc62f3e139d6b97e61624941f7e08ba.zip
SCUMM HE: Fix libcurl compilation checks
Diffstat (limited to 'engines/scumm/he/logic')
-rw-r--r--engines/scumm/he/logic/moonbase_logic.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/scumm/he/logic/moonbase_logic.cpp b/engines/scumm/he/logic/moonbase_logic.cpp
index 8b288d429e..880d86d017 100644
--- a/engines/scumm/he/logic/moonbase_logic.cpp
+++ b/engines/scumm/he/logic/moonbase_logic.cpp
@@ -24,7 +24,7 @@
#include "scumm/he/logic_he.h"
#include "scumm/he/moonbase/moonbase.h"
#include "scumm/he/moonbase/ai_main.h"
-#ifdef USE_CURL
+#ifdef USE_LIBCURL
#include "scumm/he/moonbase/net_main.h"
#include "scumm/he/moonbase/net_defines.h"
#endif
@@ -60,7 +60,7 @@ private:
void op_ai_set_type(int op, int numArgs, int32 *args);
void op_ai_clean_up(int op, int numArgs, int32 *args);
-#ifdef USE_CURL
+#ifdef USE_LIBCURL
void op_net_remote_start_script(int op, int numArgs, int32 *args);
void op_net_remote_send_array(int op, int numArgs, int32 *args);
int op_net_remote_start_function(int op, int numArgs, int32 *args);
@@ -165,7 +165,7 @@ int LogicHEmoonbase::versionID() {
#define OP_NET_SET_AI_PLAYER_COUNT 1565
int LogicHEmoonbase::startOfFrame() {
-#ifdef USE_CURL
+#ifdef USE_LIBCURL
_vm1->_moonbase->_net->doNetworkOnceAFrame(15); // Value should be passed in...
#endif
@@ -210,7 +210,7 @@ int32 LogicHEmoonbase::dispatch(int op, int numArgs, int32 *args) {
op_ai_clean_up(op, numArgs, args);
break;
-#ifdef USE_CURL
+#ifdef USE_LIBCURL
case OP_NET_REMOTE_START_SCRIPT:
op_net_remote_start_script(op, numArgs, args);
break;
@@ -381,7 +381,7 @@ void LogicHEmoonbase::op_ai_clean_up(int op, int numArgs, int32 *args) {
_vm1->_moonbase->_ai->cleanUpAI();
}
-#ifdef USE_CURL
+#ifdef USE_LIBCURL
void LogicHEmoonbase::op_net_remote_start_script(int op, int numArgs, int32 *args) {
_vm1->_moonbase->_net->remoteStartScript(args[0], args[1], args[2], numArgs - 3, &args[3]);
}