diff options
author | Simon Howard | 2008-09-11 21:03:48 +0000 |
---|---|---|
committer | Simon Howard | 2008-09-11 21:03:48 +0000 |
commit | b868352951acee0e556d702e5e90aa67d9a2b39e (patch) | |
tree | b07b281ae6be155d2b80fdc09c2daa3c3132d238 /src/net_client.c | |
parent | d863f019a2d19f1146d92c4db71883ab2ead87ec (diff) | |
download | chocolate-doom-b868352951acee0e556d702e5e90aa67d9a2b39e.tar.gz chocolate-doom-b868352951acee0e556d702e5e90aa67d9a2b39e.tar.bz2 chocolate-doom-b868352951acee0e556d702e5e90aa67d9a2b39e.zip |
Refactor configuration file system to allow configuration file variables
to be bound in a distributed fashion around the program. Remove
dependency of m_config.c on doom/.
Subversion-branch: /branches/raven-branch
Subversion-revision: 1222
Diffstat (limited to 'src/net_client.c')
-rw-r--r-- | src/net_client.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/net_client.c b/src/net_client.c index f85f2b94..d53b35ac 100644 --- a/src/net_client.c +++ b/src/net_client.c @@ -34,6 +34,7 @@ #include "i_system.h" #include "i_timer.h" #include "m_argv.h" +#include "m_config.h" #include "net_client.h" #include "net_common.h" #include "net_defs.h" @@ -1282,3 +1283,8 @@ void NET_Init(void) NET_CL_Init(); } +void NET_BindVariables(void) +{ + M_BindVariable("player_name", &net_player_name); +} + |