]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
added getproperty and getpropertyvec
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 14 Oct 2011 13:11:14 +0000 (13:11 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 14 Oct 2011 13:11:14 +0000 (13:11 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11409 d7cf8633-e32d-0410-b094-e92efae38249

dpdefs/csprogsdefs.qc

index bf284e05387e31a4b024704d50154bd543fab314..cca16019d9c6fc30bcbb91a0a230f6febca43ce2 100644 (file)
@@ -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;