1. #ifndef _COMMON_H
  2. #define _COMMON_H
  3. #include "types.h"
  4.  
  5. //For some strange reason there was no round defined in math.h
  6. #define round(a) (a<0)?(int)(a - 0.5f):(int)(a + 0.5f)
  7.  
  8.  
  9. #endif