/* 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
boolean headless;
};
+struct NetworkInfo
+{
+ boolean enabled;
+ boolean connected;
+ boolean serveronly;
+
+ char *server_host;
+ int server_port;
+
+};
+
struct OptionInfo
{
char *server_host;
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;
int volume_loops;
int volume_music;
+ boolean network_mode;
+ int network_player_nr;
+
struct SetupAutoSetupInfo auto_setup;
struct SetupEditorInfo editor;
struct SetupEditorCascadeInfo editor_cascade;
int direction; /* needed for panel time/health graphics */
int class; /* needed for panel time/health graphics */
int style; /* needed for panel time/health graphics */
+
+ int tile_size; /* special case for list of network players */
};
struct MouseActionInfo
/* ========================================================================= */
extern struct ProgramInfo program;
+extern struct NetworkInfo network;
extern struct OptionInfo options;
extern struct VideoSystemInfo video;
extern struct AudioSystemInfo audio;
void InitProgramInfo(char *, char *, char *, char *, char *, char *, char *,
char *, int);
+void InitNetworkInfo(boolean, boolean, boolean, char *, int);
void InitScoresInfo();
void SetWindowTitle();