Freeciv
No edit summary
(Typofix)
Line 3: Line 3:
 
==The ''.tilespec'' file==
 
==The ''.tilespec'' file==
   
* Set tilespec format of every file to <tt>options = "+Freeciv-tilespec-Devel-YYYY.MMM.DD"</tt> during development. For freeciv 2.5 <tt>option = "+Freeciv-2.5-tilespec"</tt> should be used.
+
* Set tilespec format of every file to <tt>options = "+Freeciv-tilespec-Devel-YYYY.MMM.DD"</tt> during development. For freeciv 2.5 <tt>options = "+Freeciv-2.5-tilespec"</tt> should be used.
   
 
===Roadstyle===
 
===Roadstyle===

Revision as of 01:30, 2 February 2013

To update a tileset from 2.4 to 2.4.99 (will be 2.5 in the future) you must add some new graphics and update the file format strings. Currently these instructions go up to compatibility with freeciv revision 22227.

The .tilespec file

  • Set tilespec format of every file to options = "+Freeciv-tilespec-Devel-YYYY.MMM.DD" during development. For freeciv 2.5 options = "+Freeciv-2.5-tilespec" should be used.

Roadstyle

  • The single roadstyle definition affecting all roads has been replaced by per-road-tag definitions. Remove old roadstyle = x setting and add section like this instead
[roads]
styles =
    { "name", "style"
      "road", 0
      "rail", 0
    }

where "name" refers to road gfx tag and style values have same meaning as with old tileset-wide setting.

Tileset type

Old boolean setting is_isometric has been replaced with generic type setting. For tilesets that had is_isometric true:

type = "isometric"

For tilesets that had is_isometric false:

type = "overview"


The .spec files

Removing Rivers as terrain type cruft

Rivers as terrain, not special, like in civ1 has not been supported for a very long time, but our tilesets still contained related obsolete cruft. We've cleaned that from supplied tilesets now. You may want to do the same for your tileset if you have inherited it from the supplied ones. Tags beginning with "t.t_river" are the river as terrain ones.