null_client.c 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. /*
  2. ===========================================================================
  3. Copyright (C) 1999-2005 Id Software, Inc.
  4. This file is part of Quake III Arena source code.
  5. Quake III Arena source code is free software; you can redistribute it
  6. and/or modify it under the terms of the GNU General Public License as
  7. published by the Free Software Foundation; either version 2 of the License,
  8. or (at your option) any later version.
  9. Quake III Arena source code is distributed in the hope that it will be
  10. useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. GNU General Public License for more details.
  13. You should have received a copy of the GNU General Public License
  14. along with Foobar; if not, write to the Free Software
  15. Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
  16. ===========================================================================
  17. */
  18. #include "../client/client.h"
  19. cvar_t *cl_shownet;
  20. void CL_Shutdown( void ) {
  21. }
  22. void CL_Init( void ) {
  23. cl_shownet = Cvar_Get ("cl_shownet", "0", CVAR_TEMP );
  24. }
  25. void CL_MouseEvent( int dx, int dy, int time ) {
  26. }
  27. void Key_WriteBindings( fileHandle_t f ) {
  28. }
  29. void CL_Frame ( int msec ) {
  30. }
  31. void CL_PacketEvent( netadr_t from, msg_t *msg ) {
  32. }
  33. void CL_CharEvent( int key ) {
  34. }
  35. void CL_Disconnect( qboolean showMainMenu ) {
  36. }
  37. void CL_MapLoading( void ) {
  38. }
  39. qboolean CL_GameCommand( void ) {
  40. return qfalse; // bk001204 - non-void
  41. }
  42. void CL_KeyEvent (int key, qboolean down, unsigned time) {
  43. }
  44. qboolean UI_GameCommand( void ) {
  45. return qfalse;
  46. }
  47. void CL_ForwardCommandToServer( const char *string ) {
  48. }
  49. void CL_ConsolePrint( char *txt ) {
  50. }
  51. void CL_JoystickEvent( int axis, int value, int time ) {
  52. }
  53. void CL_InitKeyCommands( void ) {
  54. }
  55. void CL_CDDialog( void ) {
  56. }
  57. void CL_FlushMemory( void ) {
  58. }
  59. void CL_StartHunkUsers( void ) {
  60. }
  61. // bk001119 - added new dummy for sv_init.c
  62. void CL_ShutdownAll(void) {};
  63. // bk001208 - added new dummy (RC4)
  64. qboolean CL_CDKeyValidate( const char *key, const char *checksum ) { return qtrue; }