#pragma once #include #include #define LOG(str, args...)(fprintf(stdout, str"\n", ## args)) #define WARN(str, args...)(fprintf(stderr, "[%d] "str"\n", SDL_GetTicks(), ## args)) #ifdef DEBUG # undef DEBUG # define DEBUG(str, args...) LOG(str, ## args) # define DEBUGGING #else # define DEBUG(str, args...) do {;} while(0) #endif