]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
expose R_SetView (aka setproperty) as builtin 309 as well (FTEQW's
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 16 Aug 2011 11:56:43 +0000 (11:56 +0000)
committerRudolf Polzer <divVerent@xonotic.org>
Tue, 16 Aug 2011 20:41:13 +0000 (22:41 +0200)
getproperty builtin), this should be compatible

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11278 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=ec053bc360893d1ca41497fa47b616c2db0c22fc

clvm_cmds.c

index 0b61025e16b405dd46b1ac08c544db295f3e1792..1f980462ebeee46175fcc87f9bf8b6ab17835f96 100644 (file)
@@ -790,6 +790,8 @@ void VM_CL_R_AddEntity (void)
 //#303 float(float property, ...) setproperty (EXT_CSQC)
 //#303 float(float property) getproperty
 //#303 vector(float property) getpropertyvec
+//#309 float(float property) getproperty
+//#309 vector(float property) getpropertyvec
 // VorteX: make this function be able to return previously set property if new value is not given
 void VM_CL_R_SetView (void)
 {
@@ -4375,7 +4377,7 @@ VM_CL_R_AddDynamicLight,          // #305 void(vector org, float radius, vector lightcol
 VM_CL_R_PolygonBegin,                  // #306 void(string texturename, float flag, float is2d[NYI: , float lines]) R_BeginPolygon
 VM_CL_R_PolygonVertex,                 // #307 void(vector org, vector texcoords, vector rgb, float alpha) R_PolygonVertex
 VM_CL_R_PolygonEnd,                            // #308 void() R_EndPolygon
-NULL /* R_LoadWorldModel in menu VM, should stay unassigned in client*/, // #309
+VM_CL_R_SetView,                               // #309 float(float property) getproperty (EXT_CSQC)
 VM_CL_unproject,                               // #310 vector (vector v) cs_unproject (EXT_CSQC)
 VM_CL_project,                                 // #311 vector (vector v) cs_project (EXT_CSQC)
 NULL,                                                  // #312