Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2008-03-25 18:51:27 +0000
committerStijn Buys <ingar@osirion.org>2008-03-25 18:51:27 +0000
commita29aa1ee2935857f616351a23578311f514516d4 (patch)
tree5d9f241b0bb1facc6dc31a4ae4e26a4182641c3b /src/core/cvar.h
parentf2c7b3846468461d3d88a797b4cc006ee4d3b624 (diff)
screenshots
Diffstat (limited to 'src/core/cvar.h')
-rw-r--r--src/core/cvar.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/cvar.h b/src/core/cvar.h
index 21f2601..8ced7a4 100644
--- a/src/core/cvar.h
+++ b/src/core/cvar.h
@@ -103,10 +103,11 @@ public:
static Cvar *sv_dedicated; // dedicated server
static Cvar *sv_private; // client with private server
static Cvar *sv_framerate; // server framerate
+
static Cvar *net_host; // network server ip (default binds to all interfaces)
static Cvar *net_port; // network port
- static Cvar *net_maxclients; // maximum number of connected clients
-
+ static Cvar *net_maxclients;// maximum number of connected clients
+ static Cvar *net_timeout; // network timeout in seconds
private:
std::string cvar_name;
std::string cvar_str;