UFO: Alien Invasion
Loading...
Searching...
No Matches
sv_clientstub.cpp
Go to the documentation of this file.
1
7
8/*
9Copyright (C) 1997-2001 Id Software, Inc.
10
11This program is free software; you can redistribute it and/or
12modify it under the terms of the GNU General Public License
13as published by the Free Software Foundation; either version 2
14of the License, or (at your option) any later version.
15
16This program is distributed in the hope that it will be useful,
17but WITHOUT ANY WARRANTY; without even the implied warranty of
18MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
19
20See the GNU General Public License for more details.
21
22You should have received a copy of the GNU General Public License
23along with this program; if not, write to the Free Software
24Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
25
26*/
27
28#ifdef DEDICATED_ONLY
29
30#include "../common/common.h"
31#include "../ports/system.h"
32
33void CL_Init (void)
34{
35}
36
37void CL_InitAfter (void)
38{
39}
40
41void CL_Drop (void)
42{
43}
44
45void Con_Print (const char* txt)
46{
47}
48
49void CL_Shutdown (void)
50{
51}
52
53void CL_Frame (int now, void* data)
54{
55}
56
57void CL_SlowFrame (int now, void* data)
58{
59}
60
61bool CL_ParseClientData (const char* type, const char* name, const char** text)
62{
63 return true;
64}
65
66void Cmd_ForwardToServer (void)
67{
68 const char* cmd;
69
70 cmd = Cmd_Argv(0);
71 Com_Printf("Unknown command \"%s\"\n", cmd);
72}
73
74void SCR_BeginLoadingPlaque (void)
75{
76}
77
78void SCR_EndLoadingPlaque (void)
79{
80}
81
82int CL_Milliseconds (void)
83{
84 return Sys_Milliseconds();
85}
86
87void Key_Init (void)
88{
90}
91
92#endif
void Con_Print(const char *txt)
Handles cursor positioning, line wrapping, etc All console printing must go through this in order to ...
void Key_Init(void)
Definition cl_keys.cpp:776
bool CL_ParseClientData(const char *type, const char *name, const char **text)
Called at client startup.
Definition cl_main.cpp:770
void CL_Drop(void)
Ensures the right menu cvars are set after error drop or map change.
Definition cl_main.cpp:167
void CL_SlowFrame(int now, void *data)
Definition cl_main.cpp:1108
void Cmd_ForwardToServer(void)
adds the current command line as a clc_stringcmd to the client message. things like action,...
Definition cl_main.cpp:98
void CL_Frame(int now, void *data)
Definition cl_main.cpp:1047
void CL_Shutdown(void)
Saves configuration file and shuts the client systems down.
Definition cl_main.cpp:1219
void CL_InitAfter(void)
Init function for clients - called after menu was initialized and ufo-scripts were parsed.
Definition cl_main.cpp:737
void CL_Init(void)
Definition cl_main.cpp:1141
int CL_Milliseconds(void)
Definition cl_main.cpp:1207
void SCR_EndLoadingPlaque(void)
void SCR_BeginLoadingPlaque(void)
const char * Cmd_Argv(int arg)
Returns a given argument.
Definition cmd.cpp:516
void Cmd_Dummy_f(void)
Dummy binding if you don't want unknown commands forwarded to the server.
Definition cmd.cpp:1083
void Cmd_AddCommand(const char *cmdName, xcommand_t function, const char *desc)
Add a new command to the script interface.
Definition cmd.cpp:744
void Com_Printf(const char *const fmt,...)
Definition common.cpp:428
definitions common between client and server, but not game lib
QGL_EXTERN GLsizei const GLvoid * data
Definition r_gl.h:89
QGL_EXTERN GLint GLenum type
Definition r_gl.h:94
QGL_EXTERN GLuint GLsizei GLsizei GLint GLenum GLchar * name
Definition r_gl.h:110
System specific stuff.
int Sys_Milliseconds(void)