From: Wolfgang (Blub) Bumiller Date: Thu, 23 Aug 2012 09:30:25 +0000 (+0200) Subject: Removing print2 and print3 from data/parsing.qc, replaced by variadic print X-Git-Tag: 0.1-rc1~78 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=f3b652bfcea809d0acf09534d00687aafaf5001e;p=xonotic%2Fgmqcc.git Removing print2 and print3 from data/parsing.qc, replaced by variadic print --- diff --git a/data/parsing.qc b/data/parsing.qc index fb0f971..105bb39 100644 --- a/data/parsing.qc +++ b/data/parsing.qc @@ -2,8 +2,6 @@ * constantly adding stuff here to see if things break */ void(string,...) print = #1; -void(string,string) print2 = #1; -void(string,string,string) print3 = #1; string(float) ftos = #2; entity() spawn = #3; void(entity) kill = #4; @@ -48,7 +46,7 @@ void() main = { print("SECOND TEST\n"); for (a = 0; a < 3; a = a + 1) { - print3("LOOP ", ftos(a), "\n"); + print("LOOP ", ftos(a), "\n"); } print("DO-WHILE test\n"); @@ -60,16 +58,16 @@ void() main = { float b; a = 5; - print3("a = ", ftos(a), "\n"); + print("a = ", ftos(a), "\n"); b = a += 7; print("adding\n"); - print3("a = ", ftos(a), "\n"); - print3("b = ", ftos(b), "\n"); + print("a = ", ftos(a), "\n"); + print("b = ", ftos(b), "\n"); - print3("memb = ", ftos(pawn.memb), "\n"); + print("memb = ", ftos(pawn.memb), "\n"); pawn.memb += -1; - print3("memb = ", ftos(pawn.memb), "\n"); - print3("Frame stand3 is ", ftos($stand3), " wooh\n"); + print("memb = ", ftos(pawn.memb), "\n"); + print("Frame stand3 is ", ftos($stand3), " wooh\n"); }; float() exprtest = {