forked from quozl/netrek-client-cow
-
Notifications
You must be signed in to change notification settings - Fork 0
/
colors.c
45 lines (41 loc) · 747 Bytes
/
colors.c
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
/* colors.c
*
* Kevin P. Smith 6/11/89
*
*/
#include "config.h"
#include "copyright2.h"
#include <stdio.h>
#include <string.h>
#include "Wlib.h"
#include "defs.h"
#include "struct.h"
#include "data.h"
#define TRUE 1
#define FALSE 0
void getColorDefs(void)
{
borderColor = W_Grey;
backColor = W_Black;
foreColor = W_White;
textColor = W_White;
#ifdef RACE_COLORS
shipCol[0] = W_Ind;
shipCol[1] = W_Fed;
shipCol[2] = W_Rom;
shipCol[3] = W_Kli;
shipCol[4] = W_Ori;
#else
shipCol[0] = W_Grey;
shipCol[1] = W_Yellow;
shipCol[2] = W_Red;
shipCol[3] = W_Green;
shipCol[4] = W_Cyan;
#endif
warningColor = W_Red;
unColor = W_Grey;
rColor = W_Red;
yColor = W_Yellow;
gColor = W_Green;
myColor = W_White;
}