From 8f2f66a7b90f97911bbffce3ccc8c7ad01ba61ad Mon Sep 17 00:00:00 2001 From: Clyne Sullivan Date: Tue, 13 Oct 2015 08:24:04 -0400 Subject: cleaning source --- include/common.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include') diff --git a/include/common.h b/include/common.h index 7df147f..b2ef8a3 100644 --- a/include/common.h +++ b/include/common.h @@ -39,7 +39,9 @@ enum GENDER{ #define initRand(s) srand(s) #define getRand() rand() -template //this fuction returns the size of any array +#define DEBUG_printf( message, ...) DEBUG_prints(__FILE__, __LINE__, message, __VA_ARGS__ ) + +template //this fuction returns the size of any array int eAmt(T (&)[N]){return N;} extern bool gameRunning; @@ -55,6 +57,4 @@ extern Mix_Chunk *horn; GLuint loadTexture(const char *fileName); void DEBUG_prints(const char* file, int line, const char *s,...); -#define DEBUG_printf( message, ...) DEBUG_prints(__FILE__, __LINE__, message, __VA_ARGS__) //IF THERE IS NO VA_ARGS AT THE END OF A CALL, SUBSTITUTE IT WITH [ NULL ] - #endif // COMMON_H -- cgit v1.2.3