1 /* $Id: const.h,v 1.33 2011/08/23 09:46:02 oohara Exp $ */ 2 3 #ifndef __DANGEN_CONST_H__ 4 #define __DANGEN_CONST_H__ 5 6 #define COPYRIGHT_STRING "Copyright (C) 2005, 2011 Oohara Yuuma" 7 8 #define WINDOW_WIDTH 640 9 #define WINDOW_HEIGHT 480 10 11 /* attribute 12 * these values must be one of 2^n 13 */ 14 #define ATTR_PLAYER 1 15 #define ATTR_PLAYER_SHOT 2 16 /* this object is not killed automatically when the stage target is dead */ 17 #define ATTR_BOSS 4 18 #define ATTR_ENEMY 8 19 #define ATTR_ENEMY_SHOT 16 20 /* "weak" enemy gets hit by it */ 21 #define ATTR_OBSTACLE 32 22 /* normal enemy shot cannot go through it */ 23 #define ATTR_OPAQUE 64 24 25 /* background color */ 26 /* pure white is bad for your eyes */ 27 #define DEFAULT_BACKGROUND_RED 255 28 #define DEFAULT_BACKGROUND_GREEN 245 29 #define DEFAULT_BACKGROUND_BLUE 192 30 31 #endif /* __DANGEN_CONST_H__ */ 32