URL: <http://gna.org/patch/?1391>
Summary: new code to generate stats (graphics) Project: Freeciv Submitted by: syntron Submitted on: Sunday 12/20/2009 at 00:23 Category: general Priority: 3 - Low Status: None Privacy: Public Assigned to: None Originator Email: Open/Closed: Open Discussion Lock: Any Planned Release: None Planned Release: _______________________________________________________ Details: If freeciv is played statistics are interesting, most of all as images. The attached patch adds a new binary called civstats which reads a savegame and creates a ppm images with * the map (ocean / land) * cities and units * border The code was tested for all topologies available. It will be extended to * return a ppm image of the map (terrain) * return a txt file with statistics (can be easily interpreted by a script to generate graphs) using a small bash script and ppmtogif and convert animated gif images can be created. _______________________________________________________ File Attachments: ------------------------------------------------------- Date: Sunday 12/20/2009 at 00:23 Name: civstats.patch Size: 39kB By: syntron <http://gna.org/patch/download.php?file_id=7526> ------------------------------------------------------- Date: Sunday 12/20/2009 at 00:23 Name: civstats2gif.bin Size: 528B By: syntron <http://gna.org/patch/download.php?file_id=7527> _______________________________________________________ Reply to this item at: <http://gna.org/patch/?1391> _______________________________________________ Message sent via/by Gna! http://gna.org/ _______________________________________________ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev