]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - clvm_cmds.h
make getsurface* functions shared between VMs
[xonotic/darkplaces.git] / clvm_cmds.h
index 8ec577425895b8cb840d65b108159c9d9e2cfc73..8835dae65d4c0accc6ee6c7c93343d96150caa0d 100644 (file)
@@ -1,7 +1,9 @@
 #ifndef __CLVM_CMDS_H__
 #define __CLVM_CMDS_H__
 
+int CL_GetPitchSign(prvm_edict_t *ent);
 int CL_GetTagMatrix (matrix4x4_t *out, prvm_edict_t *ent, int tagindex);
+void CL_GetEntityMatrix (prvm_edict_t *ent, matrix4x4_t *out, qboolean viewmatrix);
 
 /* These are VM built-ins that originate in the client-side programs support
    but are reused by the other programs (usually the menu). */
@@ -22,6 +24,10 @@ 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 VM_Polygons_Reset(void);
+
+void VM_CL_setattachment(void);
+void VM_CL_gettagindex(void);
+void VM_CL_gettaginfo(void);
 
 #endif /* __CLVM_CMDS_H__ */