8 #define max(a, b) ((a) > (b) ? (a) : (b))
12 #define min(a, b) ((a) < (b) ? (a) : (b))
16 #define abs(a) ((a)<=0 ? -(a) : (a))
19 #define CONDERROR(a) if((a)) {initerror = strdup(SDL_GetError());return 1;}
20 #define NULLERROR(a) CONDERROR((a) == NULL)
26 #endif // VOR_COMMON_H