webperimental: killstack decides stack protects.
[freeciv.git] / data / hexemplio.tilespec
blobbf4eff64e6fcbafc49b1ac9f04e0652b247dc941
1 \r
2 [tilespec]\r
3 \r
4 ; Format and options of this tilespec file:\r
5 options = "+Freeciv-tilespec-Devel-2016-Jun-07"\r
6 \r
7 ; A simple name for the tileset specified by this file:\r
8 name = "Hexemplio"\r
9 ; Based on amplio2hexgbig by GriffonSpade\r
11 priority = 3\r
13 ; There`s no separate versioning in tilesets part of main freeciv distribution\r
14 ;version = ""\r
16 ; Summary and full description of the tileset.\r
17 summary = _("Basic large hex tileset")\r
18 ;description = ""\r
20 ; TODO: add more overall information fields on tiles, \r
21 ; eg, authors, colors, etc.\r
23 ; What is the primary ruleset this tileset is meant for.\r
24 ;for_ruleset = ""\r
26 ; Basic tile sizes:\r
27 normal_tile_width  = 126\r
28 normal_tile_height = 64\r
29 small_tile_width   = 15\r
30 small_tile_height  = 20\r
32 ; Basic tile style.\r
33 hex_side = 16\r
34 is_hex = TRUE\r
35 type = "isometric"\r
37 ; Use old iso style\r
38 fog_style      = "Auto"\r
40 ; Was darkness style "IsoRect" (single-sprite)\r
41 darkness_style = "CardinalSingle"\r
43 ; offset the flags by this amount when drawing units\r
44 unit_flag_offset_x = 45\r
45 unit_flag_offset_y = 39\r
46 city_flag_offset_x = 41\r
47 city_flag_offset_y = 10\r
49 ; offset the city occupied sprite by this amount\r
50 occupied_offset_x = 0\r
51 occupied_offset_y = 0\r
53 ; offset the units by this amount\r
54 unit_offset_x = 34\r
55 unit_offset_y = 38\r
57 ; offset of the normal activity icons\r
58 activity_offset_x = 74\r
59 activity_offset_y = 28\r
61 ; offset of the selected unit sprites\r
62 select_offset_x = 0\r
63 select_offset_y = 21\r
65 ; offset the cities by this amount\r
66 city_offset_x = 15\r
67 city_offset_y = 20\r
69 ; offset the city size number by this amount\r
70 ; This is relative to full sprite origin.\r
71 city_size_offset_x = 0\r
72 city_size_offset_y = 0\r
74 ; offset the city bar text by this amount (from the city tile origin)\r
75 citybar_offset_y = 40\r
77 ; offset the tile label text by this amount\r
78 tilelabel_offset_y = 20\r
80 ; offset the upkeep icons by this amount from the top of the unit itself.\r
81 ; The default is the normal tile height, which means that the upkeep icons\r
82 ; appear below the unit icon if the unit icons are equal to tile height\r
83 ; (typical in overhead tileset), or overlay lower part of the unit icon,\r
84 ; if unit icon is higher than tiles (typical in iso tilesets)\r
85 ;unit_upkeep_offset_y = 0\r
87 ; Like unit_upkeep_offset_y, but to be used in case there`s only small\r
88 ; space for the overall icon produced. Defaults to unit_upkeep_offset_y -\r
89 ; not having alternative layout.\r
90 ;unit_upkeep_small_offset_y = 0\r
92 ; Font size (points) to use to draw city names and productions:\r
93 city_names_font_size = 10\r
94 city_productions_font_size = 10\r
96 ; For tilesets with oriented units, the directional sprite to use to\r
97 ; represent a unit type rather than a specific unit from the map\r
98 ; (e.g., in worklists, editor, and online help). Does not have to be a\r
99 ; valid direction for the tileset.\r
100 ;unit_default_orientation = "s"\r
102 ; The map is rendered in "layers", just like any decent image editor\r
103 ; supports. The setting below allows to change the layer drawing order. The\r
104 ; first layer in the list will be drawn below the others; the second on top\r
105 ; of it, and so on. No layer can be omitted from the list, nor can new ones\r
106 ; be added.\r
107 layer_order =\r
108   "Background", ; Background color (if enabled, the player color where there\r
109                 ; are units or cities). You probably want to leave this\r
110                 ; first.\r
111   "Terrain1",   ; The three terrain layers. See sections [layerN] below.\r
112   "Terrain2",\r
113   "Darkness",   ; Darkness (unseen tiles)\r
114   "Terrain3",\r
115   "Water",      ; All extras with "River" style.\r
116   "Roads",      ; All extras with style "RoadAllSeparate",\r
117                 ; "RoadParityCombined" or "RoadAllCombined".\r
118   "Special1",   ; 1st layer for extras with style "3Layers", "Single2" or\r
119                 ; "Single1".\r
120   "Grid1",      ; Grid layer for isometric tilesets.\r
121   "City1",      ; City and walls.\r
122   "Special2",   ; 2nd layer for extras with "3Layers" and "Single2" styles.\r
123   "Fog",        ; Fog of war (on tiles one knows but doesn`t see).\r
124   "Unit",       ; Units except the selected one(s).\r
125   "Special3",   ; 3rd layer for extras with "3Layers" style, and base flags.\r
126   "City2",      ; City size when the city bar is disabled.\r
127   "Grid2",      ; Second grid layer (overhead tilesets only).\r
128   "Overlays",   ; Tile output sprites.\r
129   "TileLabel",  ; Tile labels ("Scorched spot").\r
130   "CityBar",    ; The city bar with name, production, food, ...\r
131   "FocusUnit",  ; The focused unit(s).\r
132   "Goto",       ; Goto turn count and intermediate points, *not* goto lines.\r
133   "WorkerTask", ; The unit task indicators ("G", "S", ...).\r
134   "Editor"      ; Editor stuff (selected tile and start points).\r
136 ; This is special because it gets freed and reloaded as required:\r
137 main_intro_file    = "misc/intro"\r
139 ; Below, the graphics spec files; must be somewhere (anywhere) in \r
140 ; the data path. Order may be important for color allocation on \r
141 ; low-color systems, and if there are any duplicate tags (lattermost\r
142 ; tag is used).\r
144 files =\r
145   "misc/overlays.spec",\r
146   "misc/citybar.spec",\r
147   "misc/small.spec",\r
148   "misc/governments.spec",\r
149   "misc/specialists.spec",\r
150   "misc/events.spec",\r
151   "misc/buildings-large.spec",\r
152   "misc/wonders-large.spec",\r
153   "misc/flags-large.spec",\r
154   "misc/shields-large.spec",\r
155   "misc/cursors.spec",\r
156   "misc/space.spec",\r
157   "misc/techs.spec",\r
158   "misc/treaty.spec",\r
159   "misc/icons.spec",\r
160   "misc/editor.spec",\r
161   "amplio2/units.spec",\r
162   "amplio2/nuke.spec",\r
163   "amplio2/explosions.spec",\r
164   "amplio2/cities.spec",\r
165   "hexemplio/activities.spec",\r
166   "hexemplio/bases.spec",\r
167   "hexemplio/grid.spec",\r
168   "hexemplio/embellishments.spec",\r
169   "hexemplio/forests.spec",\r
170   "hexemplio/hills.spec",\r
171   "hexemplio/mountains.spec",\r
172   "hexemplio/rivers.spec",\r
173   "hexemplio/roads.spec",\r
174   "hexemplio/roads-rails.spec",\r
175   "hexemplio/roads-maglevs.spec",\r
176   "hexemplio/select.spec",\r
177   "hexemplio/terrain.spec",\r
178   "hexemplio/tiles.spec",\r
179   "hexemplio/unitcost.spec",\r
180   "hexemplio/unitextras.spec",\r
181   "hexemplio/water1.spec",\r
182   "hexemplio/water2.spec",\r
183   "hexemplio/water3.spec"\r
185 ; Include color definitions\r
186 *include "misc/colors.tilespec"\r
188 ; Terrain info - see README.graphics\r
190 [layer0]\r
191 match_types = "floor", "coast", "lake"\r
193 [layer1]\r
194 match_types = "water", "land"\r
196 [layer2]\r
197 match_types = "hills", "foliage"\r
199 ; Water graphics referenced by terrain.ruleset\r
202 [tile_lake]\r
203 tag = "lake"\r
204 blend_layer = 2\r
205 num_layers = 2\r
206 layer0_match_type = "lake"\r
207 layer0_match_with = "lake"\r
208 layer0_sprite_type = "corner"\r
209 layer1_match_type = "water"\r
210 layer1_match_with = "water"\r
211 layer1_sprite_type = "corner"\r
213 [tile_coast]\r
214 tag = "coast"\r
215 blend_layer = 2\r
216 num_layers = 2\r
217 layer0_match_type = "coast"\r
218 layer1_match_type = "water"\r
219 layer1_match_with = "water"\r
220 layer1_sprite_type = "corner"\r
222 [tile_floor]\r
223 tag = "floor"\r
224 blend_layer = 2\r
225 num_layers = 2\r
226 layer0_match_type = "floor"\r
227 layer0_match_with = "floor"\r
228 layer0_sprite_type = "corner"\r
229 layer1_match_type = "water"\r
230 layer1_match_with = "water"\r
231 layer1_sprite_type = "corner"\r
233 [tile_inaccessible]\r
234 tag = "inaccessible"\r
235 blend_layer = 0\r
236 num_layers = 2\r
237 layer0_match_type = "floor"\r
238 layer1_match_type = "land"\r
240 ; Land graphics referenced by terrain.ruleset\r
243 [tile_arctic]\r
244 tag = "arctic"\r
245 blend_layer = 0\r
246 num_layers = 2\r
247 layer0_match_type = "lake"\r
248 layer1_match_type = "water"\r
250 [tile_desert]\r
251 tag = "desert"\r
252 blend_layer = 1\r
253 num_layers = 2\r
254 layer1_match_type = "land"\r
256 [tile_forest]\r
257 tag = "forest"\r
258 blend_layer = 1\r
259 num_layers = 3\r
260 layer1_match_type = "land"\r
261 layer2_match_type = "foliage"\r
262 layer2_match_with = "foliage"\r
264 [tile_grassland]\r
265 tag = "grassland"\r
266 blend_layer = 1\r
267 num_layers = 2\r
268 layer1_match_type = "land"\r
270 [tile_hills]\r
271 tag = "hills"\r
272 blend_layer = 1\r
273 num_layers = 3\r
274 layer1_match_type = "land"\r
275 layer2_match_type = "hills"\r
276 layer2_match_with = "hills"\r
278 [tile_jungle]\r
279 tag = "jungle"\r
280 blend_layer = 1\r
281 num_layers = 3\r
282 layer1_match_type = "land"\r
283 layer2_match_type = "foliage"\r
284 layer2_match_with = "foliage"\r
286 [tile_mountains]\r
287 tag = "mountains"\r
288 blend_layer = 1\r
289 num_layers = 3\r
290 layer1_match_type = "land"\r
291 layer2_match_type = "hills"\r
292 layer2_match_with = "hills"\r
294 [tile_plains]\r
295 tag = "plains"\r
296 blend_layer = 1\r
297 num_layers = 2\r
298 layer1_match_type = "land"\r
300 [tile_swamp]\r
301 tag = "swamp"\r
302 blend_layer = 1\r
303 num_layers = 2\r
304 layer1_match_type = "land"\r
306 [tile_tundra]\r
307 tag = "tundra"\r
308 blend_layer = 1\r
309 num_layers = 2\r
310 layer1_match_type = "land"\r
312 [extras]\r
313 styles =\r
314     { "name",          "style"\r
315       "road.road",     "RoadAllSeparate"\r
316       "road.rail",     "RoadAllCombined"\r
317       "road.maglev",   "RoadAllCombined"\r
318       "road.pave",     "RoadAllSeparate"\r
319       "road.river",    "River"\r
320       "tx.irrigation", "River"\r
321       "tx.farmland",   "River"\r
322       "tx.mine",       "Single1"\r
323       "tx.oil_mine",   "Single1"\r
324       "tx.pollution",  "Single2"\r
325       "tx.fallout",    "Single2"\r
326       "tx.village",    "Single1"\r
327       "base.outpost",  "3Layer"\r
328       "base.fortress", "3Layer"\r
329       "base.airfield", "3Layer"\r
330       "base.airbase",  "3layer"\r
331       "base.buoy",     "3layer"\r
332       "extra.ruins",   "3layer"\r
333       "ts.gold",       "Single1"\r
334       "ts.iron",       "Single1"\r
335       "ts.tundra_game", "Single1"\r
336       "ts.furs",       "Single1"\r
337       "ts.coal",       "Single1"\r
338       "ts.fish",       "Single1"\r
339       "ts.fruit",      "Single1"\r
340       "ts.gems",       "Single1"\r
341       "ts.buffalo",    "Single1"\r
342       "ts.wheat",      "Single1"\r
343       "ts.oasis",      "Single1"\r
344       "ts.peat",       "Single1"\r
345       "ts.pheasant",   "Single1"\r
346       "ts.grassland_resources", "Single1"\r
347       "ts.arctic_ivory", "Single1"\r
348       "ts.silk",       "Single1"\r
349       "ts.spice",      "Single1"\r
350       "ts.whales",     "Single1"\r
351       "ts.wine",       "Single1"\r
352       "ts.oil",        "Single1"\r
353       "ts.horses",     "Single1"\r
354       "ts.seals",      "Single1"\r
355     }\r