]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - prvm_cmds.h
Fixed the embedded lhfont some more.
[xonotic/darkplaces.git] / prvm_cmds.h
index 9b0e1d413423865854044ed6b8088ee25f939d46..ef95c4f25c7f1aeb68a3e86722bcc266057e37a2 100644 (file)
@@ -187,12 +187,15 @@ float     getserverlistindexforkey(string key)
 #define VM_SAFEPARMCOUNT(p,f)
 #endif
 
-#define        VM_RETURN_EDICT(e)              (((int *)prog->globals)[OFS_RETURN] = PRVM_EDICT_TO_PROG(e))
+#define        VM_RETURN_EDICT(e)              (((int *)prog->globals.generic)[OFS_RETURN] = PRVM_EDICT_TO_PROG(e))
 
-#define e10 0,0,0,0,0,0,0,0,0,0
+#define e10 NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL
 #define e100 e10,e10,e10,e10,e10,e10,e10,e10,e10,e10
 #define e1000 e100,e100,e100,e100,e100,e100,e100,e100,e100,e100
 
+#define VM_STRINGTEMP_BUFFERS 16
+#define VM_STRINGTEMP_LENGTH 4096
+
 // builtins and other general functions
 
 char *VM_GetTempString(void);
@@ -333,4 +336,4 @@ void VM_altstr_set( void );
 void VM_altstr_ins(void);
 
 void VM_Cmd_Init(void);
-void VM_Cmd_Reset(void);
\ No newline at end of file
+void VM_Cmd_Reset(void);