File: COLOR.h

package info (click to toggle)
7kaa 2.15.6%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 131,312 kB
  • sloc: cpp: 134,790; asm: 3,523; ansic: 1,949; perl: 1,665; makefile: 1,181; sh: 126; pascal: 27
file content (72 lines) | stat: -rw-r--r-- 2,214 bytes parent folder | download | duplicates (8)
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
/*
 * Seven Kingdoms: Ancient Adversaries
 *
 * Copyright 1997,1998 Enlight Software Ltd.
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 *
 */

//Filename    : COLOR.H
//Description : Game Color Definition

#ifndef __COLOR_H
#define __COLOR_H

//--------- Define color codes ----------//

#define VGA_RED 					0xA0
#define VGA_LIGHT_BLUE			0xA4
#define VGA_DARK_BLUE			0xC4
#define VGA_LIGHT_GREEN			0xA8
#define VGA_DARK_GREEN			0xC8
#define VGA_PURPLE				0xAC
#define VGA_ORANGE				0xD0
#define VGA_YELLOW				0xB4
#define VGA_BROWN					0xB8
#define VGA_GRAY					0x90

#define V_BLACK              	0x00       // single color only
#define V_WHITE              	0x9F
#define V_RED                	VGA_RED+1
#define V_LIGHT_BLUE				VGA_LIGHT_BLUE+1
#define V_DARK_BLUE				VGA_DARK_BLUE+1
#define V_LIGHT_GREEN         VGA_LIGHT_GREEN+1
#define V_DARK_GREEN          VGA_DARK_GREEN+3
#define V_PURPLE					VGA_PURPLE+1
#define V_ORANGE					VGA_ORANGE
#define V_YELLOW					VGA_YELLOW
#define V_BROWN					VGA_BROWN+2

#define V_BACKGROUND         	0xFF               // background color, pixels of this color are not put in VGAputIcon

//---------- Define Game Colors --------------//

#define OWN_SELECT_FRAME_COLOR		V_YELLOW
#define ENEMY_SELECT_FRAME_COLOR		V_RED

#define UNEXPLORED_COLOR				V_BLACK

#define SITE_COLOR						V_BLACK
#define WALL_COLOR						VGA_GRAY+6
#define HILL_COLOR						VGA_BROWN+3
#define FIRE_COLOR						V_RED
#define TORNADO_COLOR1					VGA_GRAY+7
#define TORNADO_COLOR2					VGA_GRAY+8

#define INDEPENDENT_NATION_COLOR		V_WHITE

//---------------------------------------------//

#endif