Complete.Org: Mailing Lists: Archives: freeciv-dev: January 2003:
[Freeciv-Dev] Data reorganization patch
Home

[Freeciv-Dev] Data reorganization patch

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: rt@xxxxxxxxxxxxxx, freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Data reorganization patch
From: "Eric S. Raymond" <esr@xxxxxxxxxxx>
Date: Mon, 27 Jan 2003 20:04:07 -0500
Reply-to: esr@xxxxxxxxxxx

This is the stage 1 data reorganization patch.

This patch eliminates graphics spec files and sprite-array PNGs.  Instead,
sprites are stored one per file, in files named after the sprite tag, under
data/graphics.

I have tested this patch.  It looked horribly broken until I fixed imagehack
to pass transparency information from the parent PNG through to the extracted
sprites, at which point it started working perfectly.  That is, the main 
display looks exactly as it did before.

Only one C file is touched.  Everything else is data changes.

To apply it:

1. cd to the top-level directory of the source distribution

2. Apply patch -p0 <PATCH

3. Unpack the enclosed tarball to create the data/graphics directory.

To revert to the old organization, simply reverse PATCH.  This
patch leaves the graphics specfiles and image grids in place.  Those
will be removed by a cleanup patch once this one proves out.
-- 
                <a href="http://www.tuxedo.org/~esr/";>Eric S. Raymond</a>

Attachment: PATCH
Description: Text document

Attachment: graphics.tgz
Description: GNU Zip compressed data


[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] Data reorganization patch, Eric S. Raymond <=