X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=blobdiff_plain;f=clvm_cmds.h;h=f081381265b61dfd0f4e82547c26cbfacf67340e;hp=58928c2f938865e3bb742995d8f721797a26de83;hb=1f38eee898a31c94cd3b9931ea3af6e83d51c2c4;hpb=706ba4402b7f21c59c9894bd8d5ade30f1b9860e diff --git a/clvm_cmds.h b/clvm_cmds.h index 58928c2f..f0813812 100644 --- a/clvm_cmds.h +++ b/clvm_cmds.h @@ -3,4 +3,29 @@ int CL_GetTagMatrix (matrix4x4_t *out, prvm_edict_t *ent, int tagindex); +/* These are VM built-ins that originate in the client-side programs support + but are reused by the other programs (usually the menu). */ + +void VM_CL_setmodel (void); +void VM_CL_precache_model (void); +void VM_CL_setorigin (void); + +void VM_CL_R_AddDynamicLight (void); +void VM_CL_R_ClearScene (void); +void VM_CL_R_AddEntities (void); +void VM_CL_R_AddEntity (void); +void VM_CL_R_SetView (void); +void VM_CL_R_RenderScene (void); +void VM_CL_R_LoadWorldModel (void); + +void VM_CL_R_PolygonBegin (void); +void VM_CL_R_PolygonVertex (void); +void VM_CL_R_PolygonEnd (void); +/* VMs exposing the polygon calls must call this on Init/Reset */ +void VM_Polygons_Reset(void); + +void VM_CL_setattachment(void); +void VM_CL_gettagindex(void); +void VM_CL_gettaginfo(void); + #endif /* __CLVM_CMDS_H__ */