14 // 0 = keydown, key, character (EXT_CSQC)
15 // 1 = keyup, key, character (EXT_CSQC)
16 // 2 = mousemove relative, x, y (EXT_CSQC)
17 // 3 = mousemove absolute, x, y (DP_CSQC)
18 bool CSQC_InputEvent(int eventtype, int x, int y);
20 void CSQC_UpdateView(int width, int height);
21 bool CSQC_ConsoleCommand(string cmd);
22 bool CSQC_Parse_TempEntity();
23 bool CSQC_Parse_StuffCmd(string msg);
24 bool CSQC_Parse_Print(string msg);
25 bool CSQC_Parse_CenterPrint(string msg);
26 bool CSQC_Event_Sound(int ent, int channel, string sample, float volume, float attenuation, vector pos, float speed, int flags);
28 entity CSQC_Ent_Spawn(int entnum);
29 void CSQC_Ent_Update(bool isnew);
30 void CSQC_Ent_Remove();
46 // trace_endpos: visorigin
47 .vector camera_transform(vector pos, vector ang);
49 // control start position of sound()
50 // calculated as ofs = time - sound_starttime
51 float sound_starttime;
64 void ClientDisconnect();
72 void SV_PausedTic(float elapsed);
77 void SV_ChangeTeam(int color);
89 // Called when a client connects to the server
96 // Called when a client spawns in the server
101 void PutClientInServer();
103 // return false to remove
104 .bool SendEntity(entity to, int sf);
109 void SV_OnEntityPreSpawnFunction();
114 void SV_OnEntityNoSpawnFunction();
119 void SV_OnEntityPostSpawnFunction();
130 .bool customizeentityforclient();
137 void SetChangeParms();
148 // trace_endpos: self.origin
149 // trace_plane_normal
152 // trace_dpstartcontents
153 // trace_dphitcontents
154 // trace_dphitq3surfaceflags
155 // trace_dphittexturename
158 // when .watertype changes:
159 .void contentstransition(int prev, int current);
170 .void movetypesteplandevent(vector vel);
175 void PlayerPreThink();
180 void PlayerPostThink();
194 void SV_PlayerPhysics();
199 void SV_ParseClientCommand(string cmd);
207 void m_keydown(int key, int ascii);
209 void m_keyup(int key, int ascii);
211 void m_draw(int width, int height);
213 void m_toggle(int mode);
215 int m_gethostcachecategory(int entry);
227 void URI_Get_Callback(int id, int status, string data);
229 void GameCommand(string cmd);