Complete.Org: Mailing Lists: Archives: freeciv-dev: March 2001:
[Freeciv-Dev] PATCH: Hires data fix
Home

[Freeciv-Dev] PATCH: Hires data fix

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv development list <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] PATCH: Hires data fix
From: Dirk Stoecker <stoecker@xxxxxxxx>
Date: Sun, 11 Mar 2001 10:25:32 +0100 (MET)

Hi,

attached is a little patch for hires data. It removes lots of unused color
entries. This patch is necessary to get the mask information working on Amiga
(it reduces the color number to <= 256). The current file does not allow mask
information, as it is handled a true-color without palette if more than 256
colors.

When using converter prograas to create XPM, could you please take care not
to add multiple useless entries in future?

Ciao
 ____  _ _  ____  _ _    _ _  ____
|    |  |  |    |  | \  / |  |    | the cool Gremlin from Bischofswerda
|  __   |   ____|  |  \/  |  |    | WWW: http://www.dstoecker.de/
|    |  |  |       |      |  |    | PGP key available on www page.
|____| _|_ |____| _|_    _|_ |____| I hope AMIGA never stops making fun!

************************************************************************
* snail-mail: Dirk Stoecker              * e-mail:                     *
*             Geschwister-Scholl-Str. 10 * stoecker@xxxxxxxx           *
*             01877 Bischofswerda        * phone:                      *
*             GERMANY                    * GERMANY +49 (0)3594/706666  *
************************************************************************
diff -ur ../../freeciv-cvs/freeciv/data/hires/terrain2.xpm 
./data/hires/terrain2.xpm
--- ../../freeciv-cvs/freeciv/data/hires/terrain2.xpm   Sat Mar  3 14:35:12 2001
+++ ./data/hires/terrain2.xpm   Sat Mar  3 21:36:06 2001
@@ -1,6 +1,6 @@
 /* XPM */
 static char * terrain2_xpm[] = {
-"640 480 257 2",
+"640 480 199 2",
 "      c None",
 ".     c #000000",
 "+     c #0B0B0B",
@@ -194,64 +194,6 @@
 "%+    c #A79373",
 "&+    c #9F8B6B",
 "*+    c #978367",
-"=+    c #000000",
-"-+    c #000000",
-";+    c #000000",
-">+    c #000000",
-",+    c #000000",
-"'+    c #000000",
-")+    c #000000",
-"!+    c #000000",
-"~+    c #000000",
-"{+    c #000000",
-"]+    c #000000",
-"^+    c #000000",
-"/+    c #000000",
-"(+    c #000000",
-"_+    c #000000",
-":+    c #000000",
-"<+    c #000000",
-"[+    c #000000",
-"}+    c #000000",
-"|+    c #000000",
-"1+    c #000000",
-"2+    c #000000",
-"3+    c #000000",
-"4+    c #000000",
-"5+    c #000000",
-"6+    c #000000",
-"7+    c #000000",
-"8+    c #000000",
-"9+    c #000000",
-"0+    c #000000",
-"a+    c #000000",
-"b+    c #000000",
-"c+    c #000000",
-"d+    c #000000",
-"e+    c #000000",
-"f+    c #000000",
-"g+    c #000000",
-"h+    c #000000",
-"i+    c #000000",
-"j+    c #000000",
-"k+    c #000000",
-"l+    c #000000",
-"m+    c #000000",
-"n+    c #000000",
-"o+    c #00FFFF",
-"p+    c #00FFFF",
-"q+    c #00FFFF",
-"r+    c #00FFFF",
-"s+    c #00FFFF",
-"t+    c #00FFFF",
-"u+    c #00FFFF",
-"v+    c #00FFFF",
-"w+    c #00FFFF",
-"x+    c #00FFFF",
-"y+    c #00FFFF",
-"z+    c #00FFFF",
-"A+    c #00FFFF",
-"B+    c #00FFFF",
 "C+    c #0000FF",
 "D+    c #7F0000",
 "E+    c #FF0000",

[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] PATCH: Hires data fix, Dirk Stoecker <=