From 5af9cc14b70f907f0d10a75aa28ad04bbd65ec0d Mon Sep 17 00:00:00 2001 From: "N.N." Date: Fri, 10 Dec 2004 20:47:06 +0000 Subject: restricted debug garbage to krzYszcz, few fixes in toxy svn path=/trunk/externals/miXed/; revision=2364 --- cyclone/hammer/Table.c | 2 ++ cyclone/hammer/coll.c | 4 +++- cyclone/hammer/comment.c | 2 ++ cyclone/hammer/mtr.c | 4 +++- cyclone/hammer/prob.c | 4 +++- cyclone/hammer/seq.c | 2 ++ cyclone/hammer/sprintf.c | 2 ++ cyclone/hammer/zl.c | 2 ++ cyclone/shadow/dummies.c | 2 ++ cyclone/sickle/Line.c | 2 ++ cyclone/sickle/Scope.c | 2 ++ cyclone/sickle/bitshift.c | 2 ++ cyclone/sickle/curve.c | 2 ++ cyclone/sickle/pong.c | 2 ++ 14 files changed, 31 insertions(+), 3 deletions(-) (limited to 'cyclone') diff --git a/cyclone/hammer/Table.c b/cyclone/hammer/Table.c index e613293..66543e3 100644 --- a/cyclone/hammer/Table.c +++ b/cyclone/hammer/Table.c @@ -15,7 +15,9 @@ #include "common/rand.h" #include "hammer/file.h" +#ifdef KRZYSZCZ #define TABLE_DEBUG +#endif #define TABLE_INISIZE 256 /* LATER rethink */ #define TABLE_DEFLENGTH 128 /* CHECKED */ diff --git a/cyclone/hammer/coll.c b/cyclone/hammer/coll.c index 031f6c6..ee2da0c 100644 --- a/cyclone/hammer/coll.c +++ b/cyclone/hammer/coll.c @@ -14,7 +14,9 @@ /* LATER make sure that ``reentrancy protection hack'' is really working... */ /* CHECKME default fname for 'write' -- c_filename, x_name, nothing? */ -#define COLL_DEBUG +#ifdef KRZYSZCZ +//#define COLL_DEBUG +#endif enum { COLL_HEADRESET, COLL_HEADNEXT, COLL_HEADPREV, /* distinction not used, currently */ diff --git a/cyclone/hammer/comment.c b/cyclone/hammer/comment.c index 03d4d03..567c5b1 100644 --- a/cyclone/hammer/comment.c +++ b/cyclone/hammer/comment.c @@ -20,7 +20,9 @@ /* our proxy of the text_class (not in the API), LATER do not cheat */ static t_class *makeshift_class; +#ifdef KRZYSZCZ //#define COMMENT_DEBUG +#endif #define COMMENT_LMARGIN 1 #define COMMENT_RMARGIN 1 diff --git a/cyclone/hammer/mtr.c b/cyclone/hammer/mtr.c index 51ba856..8b1b220 100644 --- a/cyclone/hammer/mtr.c +++ b/cyclone/hammer/mtr.c @@ -12,7 +12,9 @@ #include "common/loud.h" #include "hammer/file.h" -#define MTR_DEBUG +#ifdef KRZYSZCZ +//#define MTR_DEBUG +#endif #define MTR_C74MAXTRACKS 32 #define MTR_FILEBUFSIZE 4096 diff --git a/cyclone/hammer/prob.c b/cyclone/hammer/prob.c index 114a41d..6053808 100644 --- a/cyclone/hammer/prob.c +++ b/cyclone/hammer/prob.c @@ -12,7 +12,9 @@ were added to the list's head, and new transition-entries were added to the sublist's head. No sorting of any kind. */ -#define PROB_DEBUG 0 +#ifdef KRZYSZCZ +//#define PROB_DEBUG +#endif typedef struct _probtrans { diff --git a/cyclone/hammer/seq.c b/cyclone/hammer/seq.c index f29c803..c239478 100644 --- a/cyclone/hammer/seq.c +++ b/cyclone/hammer/seq.c @@ -15,7 +15,9 @@ #include "unstable/forky.h" #include "hammer/file.h" +#ifdef KRZYSZCZ #define SEQ_DEBUG +#endif #define SEQ_INISEQSIZE 256 /* LATER rethink */ #define SEQ_INITEMPOMAPSIZE 128 /* LATER rethink */ diff --git a/cyclone/hammer/sprintf.c b/cyclone/hammer/sprintf.c index cc9f2a7..47d94ec 100644 --- a/cyclone/hammer/sprintf.c +++ b/cyclone/hammer/sprintf.c @@ -7,7 +7,9 @@ #include "m_pd.h" #include "common/loud.h" +#ifdef KRZYSZCZ //#define SPRINTF_DEBUG +#endif /* Pattern types. These are the parsing routine's return values. If returned value is >= SPRINTF_MINSLOTTYPE, then another slot diff --git a/cyclone/hammer/zl.c b/cyclone/hammer/zl.c index 994eef9..7a5d471 100644 --- a/cyclone/hammer/zl.c +++ b/cyclone/hammer/zl.c @@ -12,7 +12,9 @@ /* CHECKME bang behaviour (every mode) */ /* LATER test reentrancy, tune speedwise */ +#ifdef KRZYSZCZ #define ZL_DEBUG +#endif #define ZL_INISIZE 32 /* LATER rethink */ #define ZL_MAXSIZE 256 diff --git a/cyclone/shadow/dummies.c b/cyclone/shadow/dummies.c index 7e26e25..0a3c218 100644 --- a/cyclone/shadow/dummies.c +++ b/cyclone/shadow/dummies.c @@ -13,7 +13,9 @@ #include "common/loud.h" #include "common/port.h" +#ifdef KRZYSZCZ //#define DUMMIES_DEBUG +#endif static t_class *ccdummies_class; static int dummy_nclasses = 0; diff --git a/cyclone/sickle/Line.c b/cyclone/sickle/Line.c index 1b9e76c..20a81d2 100644 --- a/cyclone/sickle/Line.c +++ b/cyclone/sickle/Line.c @@ -8,7 +8,9 @@ #include "common/loud.h" #include "sickle/sic.h" +#ifdef KRZYSZCZ //#define LINE_DEBUG +#endif #define LINE_INISIZE 64 /* LATER rethink */ #define LINE_MAXSIZE 64 diff --git a/cyclone/sickle/Scope.c b/cyclone/sickle/Scope.c index adfa51b..adc4888 100644 --- a/cyclone/sickle/Scope.c +++ b/cyclone/sickle/Scope.c @@ -19,7 +19,9 @@ #include "unstable/forky.h" #include "sickle/sic.h" +#ifdef KRZYSZCZ //#define SCOPE_DEBUG +#endif /* these are powers of 2 + margins */ #define SCOPE_DEFWIDTH 130 /* CHECKED */ diff --git a/cyclone/sickle/bitshift.c b/cyclone/sickle/bitshift.c index db30fcd..28ee744 100644 --- a/cyclone/sickle/bitshift.c +++ b/cyclone/sickle/bitshift.c @@ -10,7 +10,9 @@ #include "m_pd.h" #include "sickle/sic.h" +#ifdef KRZYSZCZ //#define BITSHIFT_DEBUG +#endif typedef struct _bitshift { diff --git a/cyclone/sickle/curve.c b/cyclone/sickle/curve.c index 2bad587..78f1427 100644 --- a/cyclone/sickle/curve.c +++ b/cyclone/sickle/curve.c @@ -10,7 +10,9 @@ #include "common/clc.h" #include "sickle/sic.h" +#ifdef KRZYSZCZ //#define CURVE_DEBUG +#endif /* CHECKED apparently c74's formula has not been carefully tuned (yet?). It has 5% deviation from the straight line for ccinput = 0 at half-domain, diff --git a/cyclone/sickle/pong.c b/cyclone/sickle/pong.c index d52ed44..2878842 100644 --- a/cyclone/sickle/pong.c +++ b/cyclone/sickle/pong.c @@ -8,7 +8,9 @@ #include "unstable/forky.h" #include "sickle/sic.h" +#ifdef KRZYSZCZ //#define PONG_DEBUG +#endif #define PONG_DEFLO 0. #define PONG_DEFHI 1. -- cgit v1.2.1