1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#ifndef _CONFIG_H_ #define _CONFIG_H_ #define DEBUG 1 #define INSTRUCTIONS_PER_SECOND 700 #define GAME_LOAD_LOCATION 0x200 #define FONT_LOAD_LOCATION 0x50 #define PIXEL_RATIO 10 #define dbgprintf(fmt, ...) \ do { if(DEBUG) fprintf (stdout, fmt, ##__VA_ARGS__); } while(0) #endif