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);
60 void ClientDisconnect();
68 void SV_PausedTic(float elapsed);
73 void SV_ChangeTeam(int color);
95 void PutClientInServer();
97 // return false to remove
98 .bool SendEntity(entity to, int sf);
103 void SV_OnEntityPreSpawnFunction();
108 void SV_OnEntityNoSpawnFunction();
113 void SV_OnEntityPostSpawnFunction();
123 .bool customizeentityforclient();
130 void SetChangeParms();
141 // trace_endpos: self.origin
142 // trace_plane_normal
145 // trace_dpstartcontents
146 // trace_dphitcontents
147 // trace_dphitq3surfaceflags
148 // trace_dphittexturename
151 // when .watertype changes:
152 .void contentstransition(int prev, int current);
163 .void movetypesteplandevent(vector vel);
168 void PlayerPreThink();
173 void PlayerPostThink();
187 void SV_PlayerPhysics();
192 void SV_ParseClientCommand(string cmd);
200 void m_keydown(int key, int ascii);
202 void m_keyup(int key, int ascii);
204 void m_draw(int width, int height);
206 void m_toggle(int mode);
208 int m_gethostcachecategory(int entry);
220 void URI_Get_Callback(int id, int status, string data);
222 void GameCommand(string cmd);