]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - clvm_cmds.h
Add CSQC rendering support to the menu (uses the same interface as the CSQC VM).
[xonotic/darkplaces.git] / clvm_cmds.h
index 58928c2f938865e3bb742995d8f721797a26de83..8ec577425895b8cb840d65b108159c9d9e2cfc73 100644 (file)
@@ -3,4 +3,25 @@
 
 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();
+
 #endif /* __CLVM_CMDS_H__ */