From: havoc Date: Tue, 16 Aug 2011 11:56:43 +0000 (+0000) Subject: expose R_SetView (aka setproperty) as builtin 309 as well (FTEQW's X-Git-Tag: xonotic-v0.6.0~163^2~274 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=ec053bc360893d1ca41497fa47b616c2db0c22fc;p=xonotic%2Fdarkplaces.git expose R_SetView (aka setproperty) as builtin 309 as well (FTEQW's getproperty builtin), this should be compatible git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11278 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/clvm_cmds.c b/clvm_cmds.c index 9856f21c..5397c8bb 100644 --- a/clvm_cmds.c +++ b/clvm_cmds.c @@ -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