From: havoc Date: Fri, 14 Oct 2011 13:11:14 +0000 (+0000) Subject: added getproperty and getpropertyvec X-Git-Tag: xonotic-v0.6.0~163^2~147 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=acfed5e0361917f332322756bc09a23f5c59bf06;p=xonotic%2Fdarkplaces.git added getproperty and getpropertyvec git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11409 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/dpdefs/csprogsdefs.qc b/dpdefs/csprogsdefs.qc index bf284e05..cca16019 100644 --- a/dpdefs/csprogsdefs.qc +++ b/dpdefs/csprogsdefs.qc @@ -145,11 +145,11 @@ void end_sys_fields; // flag for structure dumping */ // Additional OPTIONAL Fields and Globals -float intermission; +float intermission; // indicates intermission state (0 = normal, 1 = scores, 2 = finale text) vector view_angles; // same as input_angles -vector view_punchangle; -vector view_punchvector; +vector view_punchangle; // from server +vector view_punchvector; // from server /* ============================================================================== @@ -448,6 +448,8 @@ void() clearscene = #300; void(float mask) addentities = #301; void(entity ent) addentity = #302; float(float property, ...) setproperty = #303; +float(float property) getproperty = #309; +vector(float property) getpropertyvec = #309; void() renderscene = #304; void(vector org, float radius, vector lightcolours) adddynamiclight = #305; void(vector org, float radius, vector lightcolours, float style, string cubemapname, float pflags) adddynamiclight2 = #305;