X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Flibgame%2Fsystem.h;h=039f328e1a3fbdafca496c64585c377b4dc270e6;hb=951e6d0a5b07999e3c919b1c689c71c108e45411;hp=e396a369212db4e87817f1a6f8b7e8d5e063ff80;hpb=d3e7f0533cacbe8dc912a702bf51109ede78820b;p=rocksndiamonds.git diff --git a/src/libgame/system.h b/src/libgame/system.h index e396a369..039f328e 100644 --- a/src/libgame/system.h +++ b/src/libgame/system.h @@ -332,6 +332,7 @@ /* values for special event handling style (used for global animation) */ #define STYLE_PASSTHROUGH (1 << 3) +#define STYLE_MULTIPLE_ACTIONS (1 << 4) #define STYLE_DEFAULT STYLE_NONE @@ -864,6 +865,17 @@ struct ProgramInfo boolean headless; }; +struct NetworkInfo +{ + boolean enabled; + boolean connected; + boolean serveronly; + + char *server_host; + int server_port; + +}; + struct OptionInfo { char *server_host; @@ -1245,6 +1257,8 @@ struct SetupInfo boolean handicap; boolean skip_levels; boolean increment_levels; + boolean auto_play_next_level; + boolean skip_scores_after_game; boolean time_limit; boolean fullscreen; int window_scaling_percent; @@ -1271,6 +1285,9 @@ struct SetupInfo int volume_loops; int volume_music; + boolean network_mode; + int network_player_nr; + struct SetupAutoSetupInfo auto_setup; struct SetupEditorInfo editor; struct SetupEditorCascadeInfo editor_cascade; @@ -1555,6 +1572,7 @@ struct LevelStats /* ========================================================================= */ extern struct ProgramInfo program; +extern struct NetworkInfo network; extern struct OptionInfo options; extern struct VideoSystemInfo video; extern struct AudioSystemInfo audio; @@ -1593,6 +1611,7 @@ extern int FrameCounter; void InitProgramInfo(char *, char *, char *, char *, char *, char *, char *, char *, int); +void InitNetworkInfo(boolean, boolean, boolean, char *, int); void InitScoresInfo(); void SetWindowTitle();