X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Flibgame%2Fsystem.h;h=9d44373cf42c54cf0f4d036f98c843fe2b43aed5;hb=380f1f693d72b034d9b56dbc9c974ba8c6c490e7;hp=8265773358ca9d1806dc39e69b3c78f39a9cf61e;hpb=8a2470395f5f3701811ff2da6907c9a4dc95d285;p=rocksndiamonds.git diff --git a/src/libgame/system.h b/src/libgame/system.h index 82657733..9d44373c 100644 --- a/src/libgame/system.h +++ b/src/libgame/system.h @@ -110,6 +110,7 @@ #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" @@ -1016,9 +1017,6 @@ struct ProgramInfo void (*exit_message_function)(char *, va_list); void (*exit_function)(int); - boolean global_scores; - boolean many_scores_per_name; - boolean headless; }; @@ -1038,6 +1036,8 @@ struct NetworkInfo struct RuntimeInfo { boolean uses_touch_device; + + boolean api_server; }; struct OptionInfo @@ -1479,6 +1479,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 +1496,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; @@ -1868,7 +1872,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));