/* Configuration file. */ /* TODO: Move to root or Shared/ folder? */ #ifndef COM_CFG_H #define COM_CFG_H /* Render resolution. */ #define COM_CFG_WIDTH 640 #define COM_CFG_HEIGHT 480 #if COM_DEF_TARGET == COM_DEF_TARGET_WASM #define COM_CFG_COLORS 4 #else #define COM_CFG_COLORS 3 #endif #define COM_CFG_FBSIZE (COM_CFG_WIDTH * COM_CFG_HEIGHT * COM_CFG_COLORS) #endif