#ifndef CONFIG_H #define CONFIG_H #define USB_FEATURE 0 #define DEBUGMODE 0 #define PRECISION 8 #include /* Enable GrayMode on either FX and FX_G3A targets */ #if GINT_RENDER_MONO && defined(COLOR2BIT) #define GRAYMODEOK 1 #endif #define SLOT_NUM 9 #define SLOT_COLUMNS 3 #if GINT_RENDER_RGB /* The tile size */ #define T_HEIGHT 16 #define T_WIDTH 16 /* The size of a pixel */ #define PXSIZE 2 #define PATH_COLOR C_RED /* The size of the player */ #define P_WIDTH 16 #define P_HEIGHT 16 /*Max number of dynamic NPCs.*/ #define NPC_STACK_SIZE 256 #else /* The tile size */ #define T_HEIGHT 8 #define T_WIDTH 8 /* The pixel size */ #define PXSIZE 1 #define PATH_COLOR C_BLACK /* The player size */ #define P_WIDTH 8 #define P_HEIGHT 8 /*Max number of "dynamic" NPCs. We are starved for static ram on fx !*/ #define NPC_STACK_SIZE 32 #endif /* SPEED should NOT be 8 or bigger: it may cause bugs when handling * collisions! */ #define SPEED (PXSIZE * 2) /* The face size (in the dialogs) */ #define F_WIDTH (32 * PXSIZE) #define F_HEIGHT (32 * PXSIZE) /* the color of the text to go to the next dialog phase */ /* it improves readability to have something lighter */ #if GRAYMODEOK || (GINT_RENDER_RGB && !defined(COLOR1BIT)) #define NEXT_COLOR C_DARK #else #define NEXT_COLOR C_BLACK #endif #endif