projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added text input setup option to configure network server hostname
[rocksndiamonds.git]
/
src
/
libgame
/
system.h
diff --git
a/src/libgame/system.h
b/src/libgame/system.h
index 464cb761ca340f53b76663526b644f19cda65092..ae23c9240cddb235b0cc4333cfa9d97fb3bcb18c 100644
(file)
--- a/
src/libgame/system.h
+++ b/
src/libgame/system.h
@@
-95,6
+95,10
@@
#define VSYNC_MODE_DEFAULT VSYNC_MODE_OFF
#define VSYNC_MODE_DEFAULT VSYNC_MODE_OFF
+/* values for network server settings */
+#define STR_NETWORK_AUTO_DETECT "auto_detect_network_server"
+#define STR_NETWORK_AUTO_DETECT_SETUP "(auto detect network server)"
+
/* values for touch control */
#define TOUCH_CONTROL_OFF "off"
#define TOUCH_CONTROL_VIRTUAL_BUTTONS "virtual_buttons"
/* values for touch control */
#define TOUCH_CONTROL_OFF "off"
#define TOUCH_CONTROL_VIRTUAL_BUTTONS "virtual_buttons"
@@
-1303,6
+1307,7
@@
struct SetupInfo
boolean network_mode;
int network_player_nr;
boolean network_mode;
int network_player_nr;
+ char *network_server_hostname;
struct SetupAutoSetupInfo auto_setup;
struct SetupEditorInfo editor;
struct SetupAutoSetupInfo auto_setup;
struct SetupEditorInfo editor;