removed unused code for writable game data directory
[rocksndiamonds.git] / src / libgame / system.h
index 796db13e1450291c5bf079b80ff994ecf6fa318d..e93122a8099b33d9daf44d567e7faf2020ff7227 100644 (file)
 #define RO_GAME_DIR            "."
 #endif
 
-#ifndef RW_GAME_DIR
-#define RW_GAME_DIR            "."
-#endif
-
 #define RO_BASE_PATH           RO_GAME_DIR
-#define RW_BASE_PATH           RW_GAME_DIR
 
 // directory names
 #define GRAPHICS_DIRECTORY     "graphics"
@@ -1017,9 +1012,6 @@ struct ProgramInfo
   void (*exit_message_function)(char *, va_list);
   void (*exit_function)(int);
 
-  boolean global_scores;
-  boolean many_scores_per_name;
-
   boolean headless;
 };
 
@@ -1039,6 +1031,8 @@ struct NetworkInfo
 struct RuntimeInfo
 {
   boolean uses_touch_device;
+
+  boolean api_server;
 };
 
 struct OptionInfo
@@ -1047,7 +1041,6 @@ struct OptionInfo
   int server_port;
 
   char *ro_base_directory;
-  char *rw_base_directory;
   char *level_directory;
   char *graphics_directory;
   char *sounds_directory;
@@ -1480,6 +1473,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;
@@ -1496,6 +1490,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;
 
@@ -1869,7 +1866,6 @@ void InitProgramInfo(char *, char *, char *, char *, char *, char *, char *,
 void InitNetworkInfo(boolean, boolean, boolean, char *, int);
 void InitRuntimeInfo(void);
 
-void InitScoresInfo(void);
 void SetWindowTitle(void);
 
 void InitWindowTitleFunction(char *(*window_title_function)(void));