Author: cazfi
Date: Thu Feb 11 19:49:27 2016
New Revision: 31880

URL: http://svn.gna.org/viewcvs/freeciv?rev=31880&view=rev
Log:
Fixed unused entry warnings seen in supplied tilesets in S2_5.

See bug #24219

Modified:
    branches/S2_5/client/tilespec.c
    branches/S2_5/data/hex2t.tilespec
    branches/S2_5/data/isophex.tilespec
    branches/S2_5/data/trident/fog.spec

Modified: branches/S2_5/client/tilespec.c
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_5/client/tilespec.c?rev=31880&r1=31879&r2=31880&view=diff
==============================================================================
--- branches/S2_5/client/tilespec.c     (original)
+++ branches/S2_5/client/tilespec.c     Thu Feb 11 19:49:27 2016
@@ -1384,8 +1384,11 @@
     tileset_error(LOG_FATAL, _("Specfile %s has incompatible capabilities"), 
sf->file_name);
   }
 
-  /* currently unused */
+  /* Currently unused */
   (void) secfile_entry_lookup(file, "info.artists");
+
+  /* Not used here */
+  (void) secfile_entry_lookup(file, "file.gfx");
 
   if ((sections = secfile_sections_by_name_prefix(file, "grid_"))) {
     section_list_iterate(sections, psection) {

Modified: branches/S2_5/data/hex2t.tilespec
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_5/data/hex2t.tilespec?rev=31880&r1=31879&r2=31880&view=diff
==============================================================================
--- branches/S2_5/data/hex2t.tilespec   (original)
+++ branches/S2_5/data/hex2t.tilespec   Thu Feb 11 19:49:27 2016
@@ -45,12 +45,6 @@
 
 ; offset the tile label text by this amount
 tilelabel_offset_y = 28
-
-; Font to use to draw city names:
-city_names_font = "6x13bold"
-
-; Font to use to draw city productions:
-city_productions_font = "6x13"
 
 ; Font size (points) to use to draw city names and productions:
 city_names_font_size = 10

Modified: branches/S2_5/data/isophex.tilespec
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_5/data/isophex.tilespec?rev=31880&r1=31879&r2=31880&view=diff
==============================================================================
--- branches/S2_5/data/isophex.tilespec (original)
+++ branches/S2_5/data/isophex.tilespec Thu Feb 11 19:49:27 2016
@@ -45,12 +45,6 @@
 
 ; offset the tile label text by this amount
 tilelabel_offset_y = 10
-
-; Font to use to draw city names:
-city_names_font = "9x15bold"
-
-; Font to use to draw city productions:
-city_productions_font = "6x13"
 
 ; Font size (points) to use to draw city names and productions:
 city_names_font_size = 10

Modified: branches/S2_5/data/trident/fog.spec
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_5/data/trident/fog.spec?rev=31880&r1=31879&r2=31880&view=diff
==============================================================================
--- branches/S2_5/data/trident/fog.spec (original)
+++ branches/S2_5/data/trident/fog.spec Thu Feb 11 19:49:27 2016
@@ -1,6 +1,9 @@
 [spec]
 
+; Format and options of this spec file:
 options = "+Freeciv-2.5-spec"
+
+[info]
 
 artists = "unknown"
 


_______________________________________________
Freeciv-commits mailing list
Freeciv-commits@gna.org
https://mail.gna.org/listinfo/freeciv-commits

Reply via email to