File: const.h

package info (click to toggle)
dangen 0.5-7
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 2,868 kB
  • sloc: ansic: 49,744; sh: 999; yacc: 494; makefile: 273; lex: 142
file content (31 lines) | stat: -rw-r--r-- 808 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/* $Id: const.h,v 1.33 2011/08/23 09:46:02 oohara Exp $ */

#ifndef __DANGEN_CONST_H__
#define __DANGEN_CONST_H__

#define COPYRIGHT_STRING "Copyright (C) 2005, 2011 Oohara Yuuma"

#define WINDOW_WIDTH 640
#define WINDOW_HEIGHT 480

/* attribute
 * these values must be one of 2^n
 */
#define ATTR_PLAYER 1
#define ATTR_PLAYER_SHOT 2
/* this object is not killed automatically when the stage target is dead */
#define ATTR_BOSS 4
#define ATTR_ENEMY 8
#define ATTR_ENEMY_SHOT 16
/* "weak" enemy gets hit by it */
#define ATTR_OBSTACLE 32
/* normal enemy shot cannot go through it */
#define ATTR_OPAQUE 64

/* background color */
/* pure white is bad for your eyes */
#define DEFAULT_BACKGROUND_RED 255
#define DEFAULT_BACKGROUND_GREEN 245
#define DEFAULT_BACKGROUND_BLUE 192

#endif /* __DANGEN_CONST_H__ */