Complete.Org:
Mailing Lists:
Archives:
freeciv-dev:
January 2003: [Freeciv-Dev] Data reorganization patch |
[Freeciv-Dev] Data reorganization patch[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
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>
PATCH
graphics.tgz
|