]> de.git.xonotic.org Git - voretournament/voretournament.git/blob - data/qcsrc/server/builtins.qh
Include gmqcc binaries for Windows and Linux
[voretournament/voretournament.git] / data / qcsrc / server / builtins.qh
1 \r
2 void    makevectors (vector ang)                                                        = #1;\r
3 void    setorigin (entity e, vector o)                                                  = #2;\r
4 void    setmodel (entity e, string m)                                                   = #3;\r
5 void    setsize (entity e, vector min, vector max)                                      = #4;\r
6 \r
7 void    crash (void)                                                                    = #6;\r
8 float   random (void)                                                                   = #7;\r
9 void (entity e, float chan, string samp, float vol, float atten, float pitchshift, float flags) sound7 = #8;\r
10 vector  normalize (vector v)                                                            = #9;\r
11 void    error (string e)                                                                = #10;\r
12 void    objerror_builtin (string e)                                                             = #11; // do not call, use objerror wrapper\r
13 float   vlen (vector v)                                                                 = #12;\r
14 float   vectoyaw (vector v)                                                             = #13;\r
15 entity  spawn (void)                                                                    = #14;\r
16 void    remove_builtin (entity e)                                                               = #15;\r
17 void    traceline (vector v1, vector v2, float nomonst, entity forent)                  = #16;\r
18 entity  checkclient (void)                                                              = #17;\r
19 entity  find (entity start, .string fld, string match)                                  = #18;\r
20 //string        precache_sound (string s)                                                       = #19;\r
21 string  precache_model (string s)                                                       = #20;\r
22 void(entity client, string s) stuffcmd = #21;\r
23 entity  findradius (vector org, float rad)                                              = #22;\r
24 void    bprint (string s, ...)                                                          = #23;\r
25 void(entity client, string s) sprint = #24;\r
26 void    dprint (string s, ...)                                                          = #25;\r
27 string  ftos (float f)                                                                  = #26;\r
28 string  vtos (vector v)                                                                 = #27;\r
29 void    coredump (void)                                                                 = #28;\r
30 void    traceon (void)                                                                  = #29;\r
31 void    traceoff (void)                                                                 = #30;\r
32 void    eprint (entity e)                                                               = #31;\r
33 float   walkmove (float yaw, float dist)                                                = #32;\r
34 \r
35 float   droptofloor_builtin ()                                          = #34;\r
36 void    lightstyle (float style, string value)                                          = #35;\r
37 float   rint (float v)                                                                  = #36;\r
38 float   floor (float v)                                                                 = #37;\r
39 float   ceil (float v)                                                                  = #38;\r
40 \r
41 float   checkbottom (entity e)                                                          = #40;\r
42 float   pointcontents (vector v)                                                        = #41;\r
43 \r
44 float   fabs (float f)                                                                  = #43;\r
45 vector(entity e, float speed) aim = #44;\r
46 float   cvar (string s)                                                                 = #45;\r
47 void    localcmd (string s, ...)                                                        = #46;\r
48 entity  nextent (entity e)                                                              = #47;\r
49 void    particle (vector v, vector d, float colour, float count)                        = #48;\r
50 void    ChangeYaw (void)                                                                = #49;\r
51 \r
52 vector  vectoangles (vector v, ...)                                                             = #51;\r
53 void(float to, float f)         WriteByte = #52;\r
54 void(float to, float f)         WriteChar = #53;\r
55 void(float to, float f)         WriteShort = #54;\r
56 void(float to, float f)         WriteLong = #55;\r
57 void(float to, float f)         WriteCoord = #56;\r
58 void(float to, float f)         WriteAngle = #57;\r
59 void(float to, string s)        WriteString     = #58;\r
60 void(float to, entity s)        WriteEntity     = #59;\r
61 void    movetogoal (float step)                                                         = #67;\r
62 string  precache_file (string s)                                                        = #68;\r
63 void    makestatic (entity e)                                                           = #69;\r
64 void    changelevel (string s)                                                          = #70;\r
65 \r
66 void    cvar_set (string var, string val)                                               = #72;\r
67 //void(entity client, string s) centerprint = #73;\r
68 void    ambientsound (vector pos, string samp, float vol, float atten)                  = #74;\r
69 string  precache_model2 (string s)                                                      = #75;\r
70 string  precache_sound2 (string s)                                                      = #76;\r
71 string  precache_file2 (string s)                                                       = #77;\r
72 void(entity e) setspawnparms = #78;\r