From acfed5e0361917f332322756bc09a23f5c59bf06 Mon Sep 17 00:00:00 2001 From: havoc Date: Fri, 14 Oct 2011 13:11:14 +0000 Subject: [PATCH] added getproperty and getpropertyvec git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11409 d7cf8633-e32d-0410-b094-e92efae38249 --- dpdefs/csprogsdefs.qc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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; -- 2.39.2