-
Notifications
You must be signed in to change notification settings - Fork 4
/
colors.py
138 lines (121 loc) · 3.57 KB
/
colors.py
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
import libtcodpy
import palette
################################
# Color definitions
################################
## DawnBringer 16 Palette.
#DB1 = libtcod.Color(20, 12, 28)
#DB2 = libtcod.Color(68, 36, 52)
#DB3 = libtcod.Color(48, 52, 109)
#DB4 = libtcod.Color(78, 74, 78)
#DB5 = libtcod.Color(133, 76, 48)
#DB6 = libtcod.Color(52, 101, 36)
#DB7 = libtcod.Color(208, 70, 72)
#DB8 = libtcod.Color(117, 113, 97)
#DB9 = libtcod.Color(89, 125, 206)
#DB10 = libtcod.Color(210, 125, 44)
#DB11 = libtcod.Color(133, 149, 161)
#DB12 = libtcod.Color(109, 170, 44)
#DB13 = libtcod.Color(210, 170, 153)
#DB14 = libtcod.Color(109, 194, 202)
#DB15 = libtcod.Color(218, 212, 94)
#DB16 = libtcod.Color(222, 238, 214)
#
## DawnBringer 32 Palette.
#DB_BLACK = libtcod.Color(0, 0, 0)
#DB_VALHALLA = libtcod.Color(34, 32, 52)
#DB_LOULOU = libtcod.Color(69, 40, 60)
#DB_OILED_CEDAR = libtcod.Color(102, 57, 49)
#DB_ROPE = libtcod.Color(143, 86, 59)
#DB_TAHITI_GOLD = libtcod.Color(223, 113, 38)
#DB_TWINE = libtcod.Color(217, 160, 102)
#DB_PANCHO = libtcod.Color(238, 195, 154)
#
#DB_GOLDEN_FIZZ = libtcod.Color(251, 242, 54)
#DB_ATLANTIS = libtcod.Color(153, 229, 80)
#DB_CHRISTI = libtcod.Color(106, 190, 48)
#DB_ELF_GREEN = libtcod.Color(55, 148, 110)
#DB_DELL = libtcod.Color(75, 105, 47)
#DB_VERDIGRIS = libtcod.Color(82, 75, 36)
#DB_OPAL = libtcod.Color(50, 60, 57)
#DB_DEEP_KOAMARU = libtcod.Color(63, 63, 116)
#
#DB_VENICE_BLUE = libtcod.Color(48, 96, 130)
#DB_ROYAL_BLUE = libtcod.Color(91, 110, 225)
#DB_CORNFLOWER = libtcod.Color(99, 155, 255)
#DB_VIKING = libtcod.Color(95, 205, 228)
#DB_LIGHT_STEEL_BLUE = libtcod.Color(203, 219, 252)
#DB_WHITE = libtcod.Color(255, 255, 255)
#DB_HEATHER = libtcod.Color(155, 173, 183)
#DB_TOPAZ = libtcod.Color(132, 126, 135)
#
#DB_DIM_GRAY = libtcod.Color(105, 106, 106)
#DB_SMOKEY_ASH = libtcod.Color(89, 86, 82)
#DB_CLAIRVOYANT = libtcod.Color(118, 66, 138)
#DB_BROWN = libtcod.Color(172, 50, 50)
#DB_MANDY = libtcod.Color(217, 87, 99)
#DB_PLUM = libtcod.Color(215, 123, 186)
#DB_RAIN_FOREST = libtcod.Color(143, 151, 74)
#DB_STINGER = libtcod.Color(138, 111, 48)
LIGHT_ORANGE = palette.LIGHT_ORANGE
LIGHT_GREEN = palette.LIGHT_GREEN
LIGHT_BLUE = palette.LIGHT_BLUE
LIGHT_PINK = palette.LIGHT_PINK
RED = palette.RED
RED_D = palette.RED_D
ORANGE = palette.ORANGE
ORANGE_D = palette.ORANGE_D
YELLOW = palette.YELLOW
YELLOW_D = palette.YELLOW_D
GREEN = palette.GREEN
GREEN_D = palette.GREEN_D
CYAN = palette.CYAN
CYAN_D = palette.CYAN_D
BLUE = palette.BLUE
BLUE_D = palette.BLUE_D
PURPLE = palette.PURPLE
PURPLE_D = palette.PURPLE_D
PINK = palette.PINK
PINK_D = palette.PINK_D
DARK_BROWN = palette.DARK_BROWN
DARK_GREEN = palette.DARK_GREEN
DARK_BLUE = palette.DARK_BLUE
DARK_PURPLE = palette.DARK_PURPLE
WHITE = palette.WHITE
GRAY = palette.GRAY
GRAY_D = palette.GRAY_D
CHAMPAGNE = palette.CHAMPAGNE
CHAMPAGNE_D = palette.CHAMPAGNE_D
BLACK = palette.BLACK
DARKNESS = palette.DARKNESS
DARK_GRAY = libtcodpy.Color(17, 19, 22)
################################
# Color Assignments
################################
UNINITIALIZED_BG = LIGHT_PINK
UNINITIALIZED_FG = DARK_PURPLE
UNSEEN_BG = DARK_GRAY
UNSEEN_FG = BLUE_D
FLOOR_BG = DARK_BROWN
FLOOR_FG = ORANGE_D
WALL_FG = GRAY_D
WATER_BG = BLUE_D
WATER_FG = CYAN_D
TEXT_SELECTED = WHITE
TEXT_UNSELECTED = GRAY
TEXT_ACTIVE = WHITE
TEXT_INACTIVE = GRAY_D
TEXT_NEW = WHITE
TEXT_OLD = GRAY
INTERFACE_BG = DARK_BLUE
INTERFACE_FG = GRAY_D
INACTIVE_GAME_FG = DARK_BLUE
NOT_EQUIPPED_FG = CYAN_D
HP_BAR_FULL = RED
HP_BAR_EMPTY = DARK_PURPLE
SANITY_BAR_FULL = BLUE
SANITY_BAR_EMPTY = DARK_GREEN
INVENTORY_HEADING = ORANGE
CURSOR = YELLOW
PATH = WHITE
BLOCKED_PATH = RED