;****************************************************************************
;*
;* PALETTES.INC
;*
;* Logical colour equates.
;*
;* 31.10.1990 - KJB
;*
;****************************************************************************

;------------------------------------------------
;* colours ranges which require special treatment
;------------------------------------------------

;* fogs affects all visual colours

FOG_COL_START	EQU	8
FOG_COL_COUNT	EQU	104

;* night affects all visual colours except special night colours

NIGHT_COL_START	EQU	24
NIGHT_COL_COUNT	EQU	88

;* infra-red image affects all visual colours

IR_COL_START	EQU	8
IR_COL_COUNT	EQU	104

;--------------------------------
;* subset of standard EGA colours
;--------------------------------

COL_BLACK	EQU	0
COL_LT_RED	EQU	1
COL_YELLOW	EQU	2
COL_LT_CYAN	EQU	3
COL_WHITE	EQU	4

;-----------------------------
;* external panel text colours
;-----------------------------

COL_TEXT_NORM1	EQU	5
COL_TEXT_NORM2	EQU	6
COL_TEXT_ALERT	EQU	7

;-----------------------
;* special night colours
;-----------------------

COL_NT_WHITE1	EQU	8

COL_NT_GREY1	EQU	9
COL_NT_GREY2	EQU	10
COL_NT_GREY3	EQU	11
COL_NT_GREY4	EQU	12

COL_NT_RED1	EQU	13
COL_NT_RED2	EQU	14
COL_NT_RED3	EQU	15

COL_NT_BLUE1	EQU	16
COL_NT_BLUE2	EQU	17

COL_NT_YELLOW1	EQU	18

COL_NT_AMBER1	EQU	19
COL_NT_AMBER2	EQU	20

COL_NT_GREEN1	EQU	21

COL_NT_R_WHITE1	EQU	22

COL_NT_B_WHITE1	EQU	23

;--------------------------------
;* general purpose visual colours
;--------------------------------

COL_WHITE1	EQU	24
COL_GREY1	EQU	25
COL_GREY2	EQU	26
COL_GREY3	EQU	27
COL_GREY4	EQU	28
COL_BLACK1	EQU	29

COL_CYAN_GREY1	EQU	30
COL_CYAN_GREY2	EQU	31
COL_CYAN_GREY3	EQU	32
COL_CYAN_GREY4	EQU	33
COL_CYAN_GREY5	EQU	34
COL_CYAN_GREY6	EQU	35

COL_SAND1	EQU	36
COL_SAND2	EQU	37
COL_SAND3	EQU	38
COL_SAND4	EQU	39
COL_SAND5	EQU	40
			  
COL_RUST1	EQU	41
COL_RUST2	EQU	42
COL_RUST3	EQU	43
COL_RUST4	EQU	44
COL_RUST5	EQU	45

COL_NEW_GREY1	EQU	46
COL_NEW_GREY2	EQU	47
COL_NEW_GREY3	EQU	48
COL_NEW_GREY4	EQU	49

COL_YELLOW1	EQU	50
COL_AMBER1	EQU	51
COL_AMBER2	EQU	52
COL_AMBER3	EQU	53
COL_AMBER4	EQU	54
COL_RED1	EQU	55

COL_GREEN1	EQU	56
COL_GREEN2	EQU	57
COL_GREEN3	EQU	58
COL_GREEN4	EQU	59

COL_DK_CYAN1	EQU	60
COL_DK_CYAN2	EQU	61
COL_DK_CYAN3	EQU	62
COL_DK_CYAN4	EQU	63

COL_OLIVE1	EQU	64
COL_OLIVE2	EQU	65
COL_OLIVE3	EQU	66
COL_OLIVE4	EQU	67
COL_OLIVE5	EQU	68
COL_OLIVE6	EQU	69 

COL_NEAR_WHITE1	EQU	70

COL_SMOKE_GREY1	EQU	71
COL_SMOKE_GREY2	EQU	72

;------------------------
;* special visual colours
;------------------------

COL_ROAD1	EQU	73

COL_RWY1	EQU	74

COL_GND1	EQU	75
COL_GND2	EQU	76

COL_RAIL1	EQU	77
COL_RAIL2	EQU	78

COL_RIVER1	EQU	79

;---------------------
;* visual hill colours
;---------------------

COL_HILL1	EQU	80
COL_HILL2	EQU	81
COL_HILL3	EQU	82
COL_HILL4	EQU	83
COL_HILL5	EQU	84
COL_HILL6	EQU	85
COL_HILL7	EQU	86
COL_HILL8	EQU	87
COL_HILL9	EQU	88
COL_HILL10	EQU	89
COL_HILL11	EQU	90
COL_HILL12	EQU	91
COL_HILL13	EQU	92
COL_HILL14	EQU	93
COL_HILL15	EQU	94
COL_HILL16	EQU	95

;--------------------
;* visual sky colours
;--------------------

COL_SKY1	EQU	96
COL_SKY2	EQU	97
COL_SKY3	EQU	98
COL_SKY4	EQU	99
COL_SKY5	EQU	100
COL_SKY6	EQU	101
COL_SKY7	EQU	102
COL_SKY8	EQU	103
COL_SKY9	EQU	104
COL_SKY10	EQU	105
COL_SKY11	EQU	106
COL_SKY12	EQU	107
COL_SKY13	EQU	108
COL_SKY14	EQU	109
COL_SKY15	EQU	110
COL_SKY16	EQU	111

;-------------------------
;* moving map hill colours
;-------------------------

COL_MAP_HILL1	EQU	112
COL_MAP_HILL2	EQU	113
COL_MAP_HILL3	EQU	114
COL_MAP_HILL4	EQU	115
COL_MAP_HILL5	EQU	116
COL_MAP_HILL6	EQU	117
COL_MAP_HILL7	EQU	118
COL_MAP_HILL8	EQU	119
COL_MAP_HILL9	EQU	120
COL_MAP_HILL10	EQU	121
COL_MAP_HILL11	EQU	122
COL_MAP_HILL12	EQU	123
COL_MAP_HILL13	EQU	124
COL_MAP_HILL14	EQU	125
COL_MAP_HILL15	EQU	126
COL_MAP_HILL16	EQU	127

;----------------------------------
;* panel / instrument / HUD colours
;----------------------------------

COL_NEEDLE	EQU	128
COL_COUNTER	EQU	129
COL_RED_NEEDLE	EQU	130
COL_ADI_SKY	EQU	131
COL_ADI_GND	EQU	132
COL_HUD		EQU	133
COL_BUG		EQU	134
COL_AOA		EQU	135
COL_KNEE_PAD	EQU	136
COL_KNEE_INK1	EQU	137
COL_KNEE_INK2	EQU	138
COL_KNEE_PEN	EQU	139
COL_KNEE_NUM	EQU	140
COL_SIGHT	EQU	141

;* TIALD symbology

COL_TIALD_SYM	EQU	COL_BLACK

;* moving map symbology

COL_MAP_SYM	EQU	COL_BLACK

;* reference map symbology

COL_REF_SYM	EQU	COL_BLACK

;* radar mask

COL_RADAR_MASK	EQU	COL_BLACK

;* RWR colours

COL_RAD_MISS	EQU	COL_MAP_ENEMY
COL_IR_MISS	EQU	COL_CRT_RED

;* HSI localiser needle (BEWARE! uses colours from panel range)

COL_LOCAL1	EQU	209		;day
COL_LOCAL2	EQU	213
COL_LOCAL3	EQU	215
COL_LOCAL4	EQU	218
COL_LOCAL5	EQU	220

COL_NT_LOCAL1	EQU	233		;night
COL_NT_LOCAL2	EQU	234
COL_NT_LOCAL3	EQU	235
COL_NT_LOCAL4	EQU	236
COL_NT_LOCAL5	EQU	255

;* HSI glide slope needle (BEWARE! uses colours from panel range)

COL_GLIDE1	EQU	210		;day
COL_GLIDE2	EQU	216
COL_GLIDE3	EQU	220

COL_NT_GLIDE1	EQU	234		;night
COL_NT_GLIDE2	EQU	235
COL_NT_GLIDE3	EQU	236

;---------------------
;* extra panel colours
;---------------------

;* colours 142 and 143 now used for panel

;--------------------
;* moving map colours
;--------------------

COL_MAP_GND1	EQU	144
COL_MAP_ROAD1	EQU	145
COL_MAP_RAIL1	EQU	146
COL_MAP_RWY1	EQU	147
COL_MAP_RIVER1	EQU	148
COL_MAP_GREEN1	EQU	149
COL_MAP_GREEN2	EQU	150
COL_MAP_COMPASS	EQU	151
COL_MAP_LOCATOR	EQU	152
COL_MAP_ALLIED	EQU	153
COL_MAP_BORDER	EQU	154
COL_COMPASS	EQU	155
COL_LOCATOR	EQU	156
COL_MAP_RWY2	EQU	157
COL_MAP_ENEMY	EQU	158

;-------------
;* CRT colours
;-------------

COL_CRT_RED	EQU	159
COL_CRT1	EQU	160
COL_CRT2	EQU	161
COL_CRT3	EQU	162
COL_CRT4	EQU	163
COL_CRT5	EQU	164
COL_CRT6	EQU	165
COL_CRT7	EQU	166
COL_CRT8	EQU	167
COL_CRT9	EQU	168
COL_CRT10	EQU	169
COL_CRT11	EQU	170
COL_CRT12	EQU	171
COL_CRT13	EQU	172
COL_CRT14	EQU	173
COL_CRT15	EQU	174
COL_CRT16	EQU	175

