10 #define max(a, b) ((a) > (b) ? (a) : (b))
14 #define min(a, b) ((a) < (b) ? (a) : (b))
18 #define abs(a) ((a)<=0 ? -(a) : (a))
21 #define CONDERROR(a) if((a)) {initerror = strdup(SDL_GetError());return 1;}
22 #define NULLERROR(a) CONDERROR((a) == NULL)
24 #endif // VOR_COMMON_H