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);
99 void PutClientInServer();
101 // return false to remove
102 .bool SendEntity(entity to, int sf);
107 void SV_OnEntityPreSpawnFunction();
112 void SV_OnEntityNoSpawnFunction();
117 void SV_OnEntityPostSpawnFunction();
127 .bool customizeentityforclient();
134 void SetChangeParms();
145 // trace_endpos: self.origin
146 // trace_plane_normal
149 // trace_dpstartcontents
150 // trace_dphitcontents
151 // trace_dphitq3surfaceflags
152 // trace_dphittexturename
155 // when .watertype changes:
156 .void contentstransition(int prev, int current);
167 .void movetypesteplandevent(vector vel);
172 void PlayerPreThink();
177 void PlayerPostThink();
191 void SV_PlayerPhysics();
196 void SV_ParseClientCommand(string cmd);
204 void m_keydown(int key, int ascii);
206 void m_keyup(int key, int ascii);
208 void m_draw(int width, int height);
210 void m_toggle(int mode);
212 int m_gethostcachecategory(int entry);
224 void URI_Get_Callback(int id, int status, string data);
226 void GameCommand(string cmd);