Complete.Org: Mailing Lists: Archives: freeciv-dev: November 2002:
[Freeciv-Dev] (PR#2344) XPM->PNG for documentation
Home

[Freeciv-Dev] (PR#2344) XPM->PNG for documentation

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients:;
Subject: [Freeciv-Dev] (PR#2344) XPM->PNG for documentation
From: "Jason Short via RT" <rt@xxxxxxxxxxxxxx>
Date: Thu, 14 Nov 2002 20:19:46 -0800
Reply-to: rt@xxxxxxxxxxxxxx

Attached is a patch that changes the text in doc/ (untranslated/English 
only) to reflect the PNG->XPM change.

Comments?

jason

Index: doc//BUGS
===================================================================
RCS file: /home/freeciv/CVS/freeciv/doc/BUGS,v
retrieving revision 1.10
diff -u -r1.10 BUGS
--- doc//BUGS   2002/10/28 17:47:33     1.10
+++ doc//BUGS   2002/11/15 04:16:24
@@ -133,9 +133,9 @@
          (if you know them) of your Gtk+, glib, and imlib libraries.
 
        - If you are using the Xaw client, the version numbers (if you
-         know them) of the X libraries, the Xpm library, and the Xaw
-         library, and particularly whether it is standard Xaw, or a
-         variant such as Xaw3d, Xaw95, or Nextaw.
+         know them) of the X libraries, the PNG library, the Z library,
+         and the Xaw library, and particularly whether it is standard
+         Xaw, or a variant such as Xaw3d, Xaw95, or Nextaw.
 
        - If you're compiling from source code, the name
          and version number of the compiler.
Index: doc//HACKING
===================================================================
RCS file: /home/freeciv/CVS/freeciv/doc/HACKING,v
retrieving revision 1.5
diff -u -r1.5 HACKING
--- doc//HACKING        2002/09/19 14:39:39     1.5
+++ doc//HACKING        2002/11/15 04:16:24
@@ -310,22 +310,24 @@
 =========================================================================
 Graphics
 =========================================================================
-Currently the graphics is stored in the xpm fileformat, and accordingly
-loaded using libxpm.
+Currently the graphics is stored in the PNG file format (other formats
+may be readible by some clients).
 
-If you alter the graphics, then notice that after saving the new xpm
-file, you must manually mark the first color as transparent. Look at
-the original xpm-files, to see how this is done. Failing to do this
-results in crash(the mask-pixmaps will not be generated).
+If you alter the graphics, then make sure that the background remains
+transparent.  Failing to do this means the mask-pixmaps will not be
+generated properly, which will certainly not give any good results.
 
 Each terrain tile is drawn in 16 versions, all the combinations with
 with a green border in one of the main directions. Hills, mountains,
 forests and rivers are treated in special cases.
 
-[IMO we should have gotten rid of libxpm long ago. The graphics should
-be drawn in 24bit, and then quantized runtime, if the client is displayed
-on a pseudocolor display. 
-The current tile system should be converted to something like civ2's.
+The XAW client requires that the graphics be stored in "paletted" PNGs,
+which for graphics with few colors is probably a good idea anyway. It also
+has a limited number of colors available, although it will try to match
+similar-looking colors after the existing supply has been exhausted.  Of
+course, not every tileset has to be usable by the XAW client.
+
+[The current tile system should be converted to something like civ2's.
 They get away with drawing way less tiles, and it looks better. -PU]
 
 =========================================================================
Index: doc//README.graphics
===================================================================
RCS file: /home/freeciv/CVS/freeciv/doc/README.graphics,v
retrieving revision 1.1
diff -u -r1.1 README.graphics
--- doc//README.graphics        2002/04/11 10:32:16     1.1
+++ doc//README.graphics        2002/11/15 04:16:25
@@ -57,11 +57,11 @@
 Individual spec files:
 ----------------------
 
-Each spec file describes one graphics file (currently xpm format only)
-as specified in the spec file.  The graphics file must be in the
-Freeciv data path, but not necessarily "near" the spec file.  (Thus
-you could have multiple spec files using a single graphics file in
-different ways.)
+Each spec file describes one graphics file (PNG format is standard,
+although some clients may accept other formats as well) as specified in
+the spec file.  The graphics file must be in the Freeciv data path, but
+not necessarily "near" the spec file.  (Thus you could have multiple spec 
+files using a single graphics file in different ways.)
 
 The main data described in the spec file is in sections named
 [grid_*], where * is some arbitrary tag (but unique within each file).

[Prev in Thread] Current Thread [Next in Thread]