summaryrefslogtreecommitdiff
path: root/src/null
diff options
context:
space:
mode:
authorThilo Schulz <arny@ats.s.bawue.de>2011-06-21 11:18:35 +0000
committerTim Angus <tim@ngus.net>2013-01-10 21:47:33 +0000
commit555eaebb1b7cb7c4a5e1036892b0effbd62766ae (patch)
tree1038802c3629c85c47a62a5013f2a7271d485bec /src/null
parente09392335162f87cd16257506e600268c2cd8ec9 (diff)
- Improve game_restart: * differing screen resolutions and network settings are now honoured when changing fs_game * Fix hunk memory leak on game_restart * Move cls.state and cls.servername to clc so connection state is fully preserved over game_restart * Revert back to previous fs_game after disconnecting from a server that triggered a game_restart * Fix error dialog popping up after every game_restart if an error happened previously (reported by Ensiform) - Fixed that not all commands added by CL_Init() would be removed by CL_Shutdown()
Diffstat (limited to 'src/null')
-rw-r--r--src/null/null_client.c16
1 files changed, 12 insertions, 4 deletions
diff --git a/src/null/null_client.c b/src/null/null_client.c
index 87f72629..cfb35c13 100644
--- a/src/null/null_client.c
+++ b/src/null/null_client.c
@@ -26,7 +26,8 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
cvar_t *cl_shownet;
-void CL_Shutdown( char *finalmsg ) {
+void CL_Shutdown(char *finalmsg, qboolean disconnect)
+{
}
void CL_Init( void ) {
@@ -80,14 +81,21 @@ void CL_InitKeyCommands( void ) {
void CL_CDDialog( void ) {
}
-void CL_FlushMemory( void ) {
+void CL_FlushMemory(void)
+{
+}
+
+void CL_ShutdownAll(qboolean shutdownRef)
+{
}
void CL_StartHunkUsers( qboolean rendererOnly ) {
}
-void CL_Snd_Shutdown(void)
+void CL_InitRef(void)
{
}
-void CL_ShutdownAll(void) {}
+void CL_Snd_Shutdown(void)
+{
+}