]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - progs.h
optimized AngleVectors calls (pass NULL for vectors that should not be generated)
[xonotic/darkplaces.git] / progs.h
diff --git a/progs.h b/progs.h
index 2d39385a6e76a55a8f9231478440ed0e0044b366..4d4ce0ad18fa008edb27a86e28d1051d6a604b2b 100644 (file)
--- a/progs.h
+++ b/progs.h
@@ -89,6 +89,7 @@ extern int eval_colormod;
 extern int eval_ping;
 extern int eval_movement;
 extern int eval_pmodel;
+extern int eval_punchvector;
 
 #define GETEDICTFIELDVALUE(ed, fieldoffset) (fieldoffset ? (eval_t*)((char*)&ed->v + fieldoffset) : NULL)
 
@@ -110,7 +111,7 @@ extern      int                             pr_edictareasize; // LordHavoc: for bounds checking
 
 void PR_Init (void);
 
-void PR_ExecuteProgram (func_t fnum);
+void PR_ExecuteProgram (func_t fnum, char *errormessage);
 void PR_LoadProgs (void);
 
 void PR_Profile_f (void);