lilium-voyager/code/null/null_client.c
Thilo Schulz dee3724a13 - 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()
2011-06-21 11:18:35 +00:00

102 lines
2.1 KiB
C

/*
===========================================================================
Copyright (C) 1999-2005 Id Software, Inc.
This file is part of Quake III Arena source code.
Quake III Arena source code is free software; you can redistribute it
and/or modify it under the terms of the GNU General Public License as
published by the Free Software Foundation; either version 2 of the License,
or (at your option) any later version.
Quake III Arena source code is distributed in the hope that it will be
useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Quake III Arena source code; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
===========================================================================
*/
#include "../qcommon/q_shared.h"
#include "../qcommon/qcommon.h"
cvar_t *cl_shownet;
void CL_Shutdown(char *finalmsg, qboolean disconnect)
{
}
void CL_Init( void ) {
cl_shownet = Cvar_Get ("cl_shownet", "0", CVAR_TEMP );
}
void CL_MouseEvent( int dx, int dy, int time ) {
}
void Key_WriteBindings( fileHandle_t f ) {
}
void CL_Frame ( int msec ) {
}
void CL_PacketEvent( netadr_t from, msg_t *msg ) {
}
void CL_CharEvent( int key ) {
}
void CL_Disconnect( qboolean showMainMenu ) {
}
void CL_MapLoading( void ) {
}
qboolean CL_GameCommand( void ) {
return qfalse;
}
void CL_KeyEvent (int key, qboolean down, unsigned time) {
}
qboolean UI_GameCommand( void ) {
return qfalse;
}
void CL_ForwardCommandToServer( const char *string ) {
}
void CL_ConsolePrint( char *txt ) {
}
void CL_JoystickEvent( int axis, int value, int time ) {
}
void CL_InitKeyCommands( void ) {
}
void CL_CDDialog( void ) {
}
void CL_FlushMemory(void)
{
}
void CL_ShutdownAll(qboolean shutdownRef)
{
}
void CL_StartHunkUsers( qboolean rendererOnly ) {
}
void CL_InitRef(void)
{
}
void CL_Snd_Shutdown(void)
{
}
qboolean CL_CDKeyValidate( const char *key, const char *checksum ) { return qtrue; }