]> icculus.org git repositories - divverent/darkplaces.git/blob - clvm_cmds.h
reworked transparent sorting of MATERIALFLAG_BLENDED to not sort water
[divverent/darkplaces.git] / clvm_cmds.h
1 #ifndef __CLVM_CMDS_H__
2 #define __CLVM_CMDS_H__
3
4 int CL_GetTagMatrix (matrix4x4_t *out, prvm_edict_t *ent, int tagindex);
5
6 /* These are VM built-ins that originate in the client-side programs support
7    but are reused by the other programs (usually the menu). */
8
9 void VM_CL_setmodel (void);
10 void VM_CL_precache_model (void);
11 void VM_CL_setorigin (void);
12
13 void VM_CL_R_AddDynamicLight (void);
14 void VM_CL_R_ClearScene (void);
15 void VM_CL_R_AddEntities (void);
16 void VM_CL_R_AddEntity (void);
17 void VM_CL_R_SetView (void);
18 void VM_CL_R_RenderScene (void);
19 void VM_CL_R_LoadWorldModel (void);
20
21 void VM_CL_R_PolygonBegin (void);
22 void VM_CL_R_PolygonVertex (void);
23 void VM_CL_R_PolygonEnd (void);
24 /* VMs exposing the polygon calls must call this on Init/Reset */
25 void VM_Polygons_Reset();
26
27 #endif /* __CLVM_CMDS_H__ */