]> icculus.org git repositories - divverent/nexuiz.git/blob - attic/TeamNexuiz/game/gamec/builtins.h
moved navnodeedit & TeamNexuiz to attic
[divverent/nexuiz.git] / attic / TeamNexuiz / game / gamec / builtins.h
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) sound = #8;\r
10 vector  normalize (vector v)                                                                                                                                    = #9;\r
11 void    error (string e)                                                                                                                                                = #10;\r
12 void    objerror (string e)                                                                                                                                             = #11;\r
13 float   vlen (vector v)                                                                                                                                                 = #12;\r
14 float   vectoyaw (vector v)                                                                                                                                             = #13;\r
15 entity  spawn (void)                                                                                                                                                    = #14;\r
16 //entity        spawn_real (void)                                                                                                                                               = #14;\r
17 // spawn redirect function\r
18 //entity        spawn ();\r
19 void    remove (entity e)                                                                                                                                               = #15;\r
20 void    traceline (vector v1, vector v2, float nomonst, entity forent)                                                  = #16;\r
21 entity  checkclient (void)                                                                                                                                              = #17;\r
22 entity  find (entity start, .string fld, string match)                                                                                  = #18;\r
23 string  precache_sound (string s)                                                                                                                               = #19;\r
24 string  precache_model (string s)                                                                                                                               = #20;\r
25 void(entity client, string s)stuffcmd = #21;\r
26 entity  findradius (vector org, float rad)                                                                                                              = #22;\r
27 void    bprint (string s, ...)                                                                                                                                  = #23;\r
28 void(entity client, string s) sprint = #24;\r
29 void    dprint (string s, ...)                                                                                                                                  = #25;\r
30 string  ftos (float f)                                                                                                                                                  = #26;\r
31 string  vtos (vector v)                                                                                                                                                 = #27;\r
32 void    coredump (void)                                                                                                                                                 = #28;\r
33 void    traceon (void)                                                                                                                                                  = #29;\r
34 void    traceoff (void)                                                                                                                                                 = #30;\r
35 void    eprint (entity e)                                                                                                                                               = #31;\r
36 float   walkmove (float yaw, float dist)                                                                                                                = #32;\r
37 \r
38 float   droptofloor (float yaw, float dist)                                                                                                             = #34;\r
39 void    lightstyle (float style, string value)                                                                                                  = #35;\r
40 float   rint (float v)                                                                                                                                                  = #36;\r
41 float   floor (float v)                                                                                                                                                 = #37;\r
42 float   ceil (float v)                                                                                                                                                  = #38;\r
43 \r
44 float   checkbottom (entity e)                                                                                                                                  = #40;\r
45 float   pointcontents (vector v)                                                                                                                                = #41;\r
46 \r
47 float   fabs (float f)                                                                                                                                                  = #43;\r
48 vector(entity e, float speed) aim = #44;\r
49 float   cvar (string s)                                                                                                                                                 = #45;\r
50 void    localcmd (string s)                                                                                                                                             = #46;\r
51 entity  nextent (entity e)                                                                                                                                              = #47;\r
52 void    particle (vector v, vector d, float colour, float count)                                                                = #48;\r
53 void    ChangeYaw (void)                                                                                                                                                = #49;\r
54 \r
55 vector  vectoangles (vector v)                                                                                                                                  = #51;\r
56 //void(float to, float f) WriteByte             = #52;\r
57 //void(float to, float f) WriteCoord            = #56;\r
58 void(float to, float f) WriteByte = #52;\r
59 void(float to, float f) WriteChar = #53;\r
60 void(float to, float f) WriteShort = #54;\r
61 void(float to, float f) WriteLong = #55;\r
62 void(float to, float f) WriteCoord = #56;\r
63 void(float to, float f) WriteAngle = #57;\r
64 void(float to, string s) WriteString    = #58;\r
65 void(float to, entity s) WriteEntity    = #59;\r
66 void    movetogoal (float step)                                                                                                                                 = #67;\r
67 string  precache_file (string s)                                                                                                                                = #68;\r
68 void    makestatic (entity e)                                                                                                                                   = #69;\r
69 void    changelevel (string s)                                                                                                                                  = #70;\r
70 \r
71 void    cvar_set (string var, string val)                                                                                                               = #72;\r
72 void(entity client, string s) centerprint = #73;\r
73 void    ambientsound (vector pos, string samp, float vol, float atten)                                                  = #74;\r
74 string  precache_model2 (string s)                                                                                                                              = #75;\r
75 string  precache_sound2 (string s)                                                                                                                              = #76;\r
76 string  precache_file2 (string s)                                                                                                                               = #77;\r