From f3b652bfcea809d0acf09534d00687aafaf5001e Mon Sep 17 00:00:00 2001 From: "Wolfgang (Blub) Bumiller" Date: Thu, 23 Aug 2012 11:30:25 +0200 Subject: [PATCH] Removing print2 and print3 from data/parsing.qc, replaced by variadic print --- data/parsing.qc | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) 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 = { -- 2.39.2