Hosting and domain costs until October 2024 have been generously sponsored by dumptruck_ds. Thank you!

Editing EXT CSQC System Globals Fields and Builtins List

From Quake Wiki

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 36: Line 36:
 
void() CSQC_Init;
 
void() CSQC_Init;
 
void() CSQC_Shutdown;
 
void() CSQC_Shutdown;
float(float f, float t, float n) CSQC_InputEvent;
+
float(float f, float t) CSQC_InputEvent;
 
void() CSQC_UpdateView;
 
void() CSQC_UpdateView;
 
float(string s) CSQC_ConsoleCommand;
 
float(string s) CSQC_ConsoleCommand;
Line 113: Line 113:
 
* writebyte
 
* writebyte
 
* writechar
 
* writechar
* writeshort
+
* wruteshort
 
* writelong
 
* writelong
 
* writecoord
 
* writecoord
Line 147: Line 147:
 
void(string s) precache_sound = #19;
 
void(string s) precache_sound = #19;
 
void(string s) precache_model = #20;
 
void(string s) precache_model = #20;
 +
void(entity client, string s, ...) stuffcmd = #21;
 
entity(vector org, float rad) findradius = #22;
 
entity(vector org, float rad) findradius = #22;
  
Line 203: Line 204:
 
void(float width, vector pos1, vector pos2, float flag) drawline = #315;
 
void(float width, vector pos1, vector pos2, float flag) drawline = #315;
 
float(string name) iscachedpic = #316;
 
float(string name) iscachedpic = #316;
string(string name) precache_pic = #317;
+
string(string name, float trywad) precache_pic = #317;
 
vector(string picname) draw_getimagesize = #318;
 
vector(string picname) draw_getimagesize = #318;
 
void(string name) freepic = #319;
 
void(string name) freepic = #319;
Line 276: Line 277:
 
float VF_MIN_Y              = 3;    //(float)
 
float VF_MIN_Y              = 3;    //(float)
 
float VF_SIZE              = 4;    //(vector) (viewport size)
 
float VF_SIZE              = 4;    //(vector) (viewport size)
float VF_SIZE_X             = 5;    //(float)
+
float VF_SIZE_Y             = 5;    //(float)
float VF_SIZE_Y             = 6;    //(float)
+
float VF_SIZE_X             = 6;    //(float)
 
float VF_VIEWPORT          = 7;    //(vector, vector)
 
float VF_VIEWPORT          = 7;    //(vector, vector)
 
float VF_FOV                = 8;    //(vector)
 
float VF_FOV                = 8;    //(vector)
Line 319: Line 320:
 
float STAT_MONSTERS        = 14; // bumped by svc_killedmonster
 
float STAT_MONSTERS        = 14; // bumped by svc_killedmonster
 
float STAT_ITEMS            = 15; // self.items bitmask from server
 
float STAT_ITEMS            = 15; // self.items bitmask from server
float STAT_VIEWHEIGHT      = 16;
 
  
 
// buttons for input_buttons
 
// buttons for input_buttons
Line 330: Line 330:
 
float BUTTON_7              = 64;
 
float BUTTON_7              = 64;
 
float BUTTON_8              = 128;
 
float BUTTON_8              = 128;
// supported by DarkPlaces
 
float BUTTON_USE            = 256;
 
float BUTTON_CHAT          = 512;
 
float BUTTON_PRYDONCURSOR  = 1024;
 
float BUTTON_9              = 2048;
 
float BUTTON_10            = 4096;
 
float BUTTON_11            = 8192;
 
float BUTTON_12            = 16384;
 
float BUTTON_13            = 32768;
 
float BUTTON_14            = 65536;
 
float BUTTON_15            = 131072;
 
float BUTTON_16            = 262;
 
 
</pre>
 
</pre>
 
 
==Non-System Fields and Globals==
 
==Non-System Fields and Globals==
 
<pre>
 
<pre>
 
float  intermission; // initially FALSE, set to TRUE when the server sends the SVC_INTERMISSION command
 
float  intermission; // initially FALSE, set to TRUE when the server sends the SVC_INTERMISSION command
 
</pre>
 
</pre>
[[Category:DarkPlaces]]
 

Please note that all contributions to Quake Wiki are considered to be released under the GNU Free Documentation License 1.3 or later (see Quake Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel | Editing help (opens in new window)