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