projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added separate network info structure for network options and setup values
[rocksndiamonds.git]
/
src
/
libgame
/
system.h
diff --git
a/src/libgame/system.h
b/src/libgame/system.h
index 23bb94d41042398ac7353fcafd954c3946d89f4d..d2a8d2874234b5c605632c845cb22fb77ad2bc61 100644
(file)
--- a/
src/libgame/system.h
+++ b/
src/libgame/system.h
@@
-865,6
+865,17
@@
struct ProgramInfo
boolean headless;
};
boolean headless;
};
+struct NetworkInfo
+{
+ boolean enabled;
+ boolean connected;
+ boolean serveronly;
+
+ char *server_host;
+ int server_port;
+
+};
+
struct OptionInfo
{
char *server_host;
struct OptionInfo
{
char *server_host;
@@
-1559,6
+1570,7
@@
struct LevelStats
/* ========================================================================= */
extern struct ProgramInfo program;
/* ========================================================================= */
extern struct ProgramInfo program;
+extern struct NetworkInfo network;
extern struct OptionInfo options;
extern struct VideoSystemInfo video;
extern struct AudioSystemInfo audio;
extern struct OptionInfo options;
extern struct VideoSystemInfo video;
extern struct AudioSystemInfo audio;
@@
-1597,6
+1609,7
@@
extern int FrameCounter;
void InitProgramInfo(char *, char *, char *, char *, char *, char *, char *,
char *, int);
void InitProgramInfo(char *, char *, char *, char *, char *, char *, char *,
char *, int);
+void InitNetworkInfo(boolean, boolean, boolean, char *, int);
void InitScoresInfo();
void SetWindowTitle();
void InitScoresInfo();
void SetWindowTitle();