1 /* 2 * Seven Kingdoms: Ancient Adversaries 3 * 4 * Copyright 1997,1998 Enlight Software Ltd. 5 * 6 * This program is free software: you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License as published by 8 * the Free Software Foundation, either version 2 of the License, or 9 * (at your option) any later version. 10 * 11 * This program is distributed in the hope that it will be useful, 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 * GNU General Public License for more details. 15 * 16 * You should have received a copy of the GNU General Public License 17 * along with this program. If not, see <http://www.gnu.org/licenses/>. 18 * 19 */ 20 21 //Filename : COLOR.H 22 //Description : Game Color Definition 23 24 #ifndef __COLOR_H 25 #define __COLOR_H 26 27 //--------- Define color codes ----------// 28 29 #define VGA_RED 0xA0 30 #define VGA_LIGHT_BLUE 0xA4 31 #define VGA_DARK_BLUE 0xC4 32 #define VGA_LIGHT_GREEN 0xA8 33 #define VGA_DARK_GREEN 0xC8 34 #define VGA_PURPLE 0xAC 35 #define VGA_ORANGE 0xD0 36 #define VGA_YELLOW 0xB4 37 #define VGA_BROWN 0xB8 38 #define VGA_GRAY 0x90 39 40 #define V_BLACK 0x00 // single color only 41 #define V_WHITE 0x9F 42 #define V_RED VGA_RED+1 43 #define V_LIGHT_BLUE VGA_LIGHT_BLUE+1 44 #define V_DARK_BLUE VGA_DARK_BLUE+1 45 #define V_LIGHT_GREEN VGA_LIGHT_GREEN+1 46 #define V_DARK_GREEN VGA_DARK_GREEN+3 47 #define V_PURPLE VGA_PURPLE+1 48 #define V_ORANGE VGA_ORANGE 49 #define V_YELLOW VGA_YELLOW 50 #define V_BROWN VGA_BROWN+2 51 52 #define V_BACKGROUND 0xFF // background color, pixels of this color are not put in VGAputIcon 53 54 //---------- Define Game Colors --------------// 55 56 #define OWN_SELECT_FRAME_COLOR V_YELLOW 57 #define ENEMY_SELECT_FRAME_COLOR V_RED 58 59 #define UNEXPLORED_COLOR V_BLACK 60 61 #define SITE_COLOR V_BLACK 62 #define WALL_COLOR VGA_GRAY+6 63 #define HILL_COLOR VGA_BROWN+3 64 #define FIRE_COLOR V_RED 65 #define TORNADO_COLOR1 VGA_GRAY+7 66 #define TORNADO_COLOR2 VGA_GRAY+8 67 68 #define INDEPENDENT_NATION_COLOR V_WHITE 69 70 //---------------------------------------------// 71 72 #endif 73