aboutsummaryrefslogtreecommitdiff
path: root/base
diff options
context:
space:
mode:
authorAlexander Tkachev2016-05-11 22:52:14 +0600
committerAlexander Tkachev2016-08-24 16:07:55 +0600
commitfade746f374cc801870e68934f1dbb3e9c726198 (patch)
tree2cfe2a4e5b571c849ae9cd4525496f3a5838a39d /base
parent6c83930126a2dcb9af4fa631fc7226db1756f801 (diff)
downloadscummvm-rg350-fade746f374cc801870e68934f1dbb3e9c726198.tar.gz
scummvm-rg350-fade746f374cc801870e68934f1dbb3e9c726198.tar.bz2
scummvm-rg350-fade746f374cc801870e68934f1dbb3e9c726198.zip
CLOUD: Add USE_CLOUD feature
Adds USE_CLOUD in both configure and create_project.
Diffstat (limited to 'base')
-rw-r--r--base/main.cpp7
-rw-r--r--base/version.cpp21
2 files changed, 24 insertions, 4 deletions
diff --git a/base/main.cpp b/base/main.cpp
index 001d864355..ac24376e37 100644
--- a/base/main.cpp
+++ b/base/main.cpp
@@ -476,11 +476,10 @@ extern "C" int scummvm_main(int argc, const char * const argv[]) {
dlg.runModal();
}
#endif
-
- //TODO: define USE_CLOUD
-//#ifdef USE_CLOUD
+
+#ifdef USE_CLOUD
system.getCloudManager()->syncSaves();
-//#endif
+#endif
// Unless a game was specified, show the launcher dialog
if (0 == ConfMan.getActiveDomain())
diff --git a/base/version.cpp b/base/version.cpp
index 299e4ce325..b2a7111a87 100644
--- a/base/version.cpp
+++ b/base/version.cpp
@@ -154,4 +154,25 @@ const char *gScummVMFeatures = ""
#ifdef ENABLE_VKEYBD
"virtual keyboard "
#endif
+
+#ifdef USE_CLOUD
+ "cloud ("
+#ifdef USE_LIBCURL
+ "servers"
+#ifdef USE_SDL_NET
+ " "
+#endif
+#endif
+#ifdef USE_SDL_NET
+ "local"
+#endif
+ ") "
+#else
+#ifdef USE_LIBCURL
+ "libcurl "
+#endif
+#ifdef USE_SDL_NET
+ "SDL_net "
+#endif
+#endif
;