]> icculus.org git repositories - divverent/darkplaces.git/blob - clvm_cmds.h
use floats rather than doubles for view matrix stuff
[divverent/darkplaces.git] / clvm_cmds.h
1 #ifndef __CLVM_CMDS_H__
2 #define __CLVM_CMDS_H__
3
4 int CL_GetPitchSign(prvm_edict_t *ent);
5 int CL_GetTagMatrix (matrix4x4_t *out, prvm_edict_t *ent, int tagindex);
6
7 /* These are VM built-ins that originate in the client-side programs support
8    but are reused by the other programs (usually the menu). */
9
10 void VM_CL_setmodel (void);
11 void VM_CL_precache_model (void);
12 void VM_CL_setorigin (void);
13
14 void VM_CL_R_AddDynamicLight (void);
15 void VM_CL_R_ClearScene (void);
16 void VM_CL_R_AddEntities (void);
17 void VM_CL_R_AddEntity (void);
18 void VM_CL_R_SetView (void);
19 void VM_CL_R_RenderScene (void);
20 void VM_CL_R_LoadWorldModel (void);
21
22 void VM_CL_R_PolygonBegin (void);
23 void VM_CL_R_PolygonVertex (void);
24 void VM_CL_R_PolygonEnd (void);
25 /* VMs exposing the polygon calls must call this on Init/Reset */
26 void VM_Polygons_Reset(void);
27
28 void VM_CL_setattachment(void);
29 void VM_CL_gettagindex(void);
30 void VM_CL_gettaginfo(void);
31
32 #endif /* __CLVM_CMDS_H__ */