added setup option to force showing local scores only
[rocksndiamonds.git] / src / libgame / system.h
index 8265773358ca9d1806dc39e69b3c78f39a9cf61e..77c6c367601a1d6b8e304e374be19cd8ef7fba04 100644 (file)
 #define API_SERVER_PORT                        80
 #define API_SERVER_METHOD              "POST"
 #define API_SERVER_URI_ADD             "/api/scores/add"
+#define API_SERVER_URI_GET             "/api/scores/get"
 
 // values for touch control
 #define TOUCH_CONTROL_OFF              "off"
@@ -1038,6 +1039,8 @@ struct NetworkInfo
 struct RuntimeInfo
 {
   boolean uses_touch_device;
+
+  boolean api_server;
 };
 
 struct OptionInfo
@@ -1479,6 +1482,7 @@ struct SetupInfo
   boolean sp_show_border_elements;
   boolean small_game_graphics;
   boolean show_snapshot_buttons;
+  boolean only_show_local_scores;
 
   char *graphics_set;
   char *sounds_set;
@@ -1495,6 +1499,9 @@ struct SetupInfo
   int network_player_nr;
   char *network_server_hostname;
 
+  boolean api_server;
+  char *api_server_hostname;
+
   struct SetupAutoSetupInfo auto_setup;
   struct SetupLevelSetupInfo level_setup;