summaryrefslogtreecommitdiff
path: root/src/table/palette_convert.h
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2011-05-04 17:12:37 +0000
committerfrosch <frosch@openttd.org>2011-05-04 17:12:37 +0000
commitbbcd2bab5dabc8eb12c1349aac1c3dfa7a6a036d (patch)
tree5d948cd0e875f2e29ecabecb143749b8c6b40ed9 /src/table/palette_convert.h
parentc7a9c7dc927d60df77fe7824ed03f29bd1b29067 (diff)
downloadopenttd-bbcd2bab5dabc8eb12c1349aac1c3dfa7a6a036d.tar.xz
(svn r22419) -Change: Always use the DOS palette for drawing.
-Remove: the '-i' option for palette selection.
Diffstat (limited to 'src/table/palette_convert.h')
-rw-r--r--src/table/palette_convert.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/table/palette_convert.h b/src/table/palette_convert.h
index 02f4478f3..863216af0 100644
--- a/src/table/palette_convert.h
+++ b/src/table/palette_convert.h
@@ -10,7 +10,7 @@
/** @file palette_convert.h Translation tables from one GRF to another GRF. */
/** Converting from the Windows palette to the DOS palette */
-static const byte _palmap_w2d[] = {
+extern const byte _palmap_w2d[] = {
0, 1, 2, 3, 4, 5, 6, 7, // 0..7
8, 9, 10, 11, 12, 13, 14, 15, // 8..15
16, 17, 18, 19, 20, 21, 22, 23, // 16..23
@@ -46,7 +46,7 @@ static const byte _palmap_w2d[] = {
};
/** Converting from the DOS palette to the Windows palette */
-extern const byte _palmap_d2w[] = {
+static const byte _palmap_d2w[] = {
0, 215, 216, 136, 88, 106, 32, 33, // 0..7
40, 245, 10, 11, 12, 13, 14, 15, // 8..15
16, 17, 18, 19, 20, 21, 22, 23, // 16..23