From: divverent Date: Sat, 26 Nov 2011 10:40:54 +0000 (+0000) Subject: we need max with ... X-Git-Tag: xonotic-v0.6.0~147 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=014ca2daaa9409461c1b49a8e0069e9b3ba3f767;p=xonotic%2Fdarkplaces.git we need max with ... git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11575 d7cf8633-e32d-0410-b094-e92efae38249 ::stable-branch::merge=be105201614c8df23b83958dfff868d2030f54fd --- diff --git a/dpdefs/dpextensions.qc b/dpdefs/dpextensions.qc index 8d214884..9f2911a1 100644 --- a/dpdefs/dpextensions.qc +++ b/dpdefs/dpextensions.qc @@ -943,14 +943,14 @@ float log(float f) = #532; //idea: LordHavoc //darkplaces implementation: LordHavoc //builtin definitions: -float(float a, float b) min = #94; +float(float a, float b, ...) min = #94; float(float a, float b, float c) min3 = #94; float(float a, float b, float c, float d) min4 = #94; float(float a, float b, float c, float d, float e) min5 = #94; float(float a, float b, float c, float d, float e, float f) min6 = #94; float(float a, float b, float c, float d, float e, float f, float g) min7 = #94; float(float a, float b, float c, float d, float e, float f, float g, float h) min8 = #94; -float(float a, float b) max = #95; +float(float a, float b, ...) max = #95; float(float a, float b, float c) max3 = #95; float(float a, float b, float c, float d) max4 = #95; float(float a, float b, float c, float d, float e) max5 = #95;