Added menu item to let user decide, if he wants to use new not-yet-fully-supported...
[supertux.git] / tools / tilemanager / TileSet.cs
index 9300135..ad10cdf 100644 (file)
@@ -49,12 +49,12 @@ public class TileSet {
     public const int TILE_WIDTH = 32;
     public const int TILE_HEIGHT = 32;
 
-    private bool tooNew = false;
+    private bool isNew = false;
 
     /// <summary>Whether version of tileset file is too new</summary>
-    public bool TooNew {
+    public bool IsNew {
        get {
-               return tooNew;
+               return isNew;
        }
     }
 
@@ -104,7 +104,7 @@ public class TileSet {
     }
 
     public void ParseTiles(Lisp.Parser parser) {
-       tooNew = false;
+       isNew = false;
         int d = parser.Depth;
         while(parser.Parse() && parser.Depth >= d) {
             if(parser.Depth == d && parser.Type != Parser.LispType.START_LIST) {
@@ -135,11 +135,7 @@ public class TileSet {
                         break;
                     case "tiles":
                        ParseMoreTiles(parser);
-                       tooNew = true;
-                       Console.WriteLine(
-                               "Warning: new syntax of \"More tiles in one image\" file isn't currently supported");
-                       Console.WriteLine(
-                               "And this means: YOU WON'T BE ABLE TO SAVE YOUR CHANGES !!!");
+                       isNew = true;
                         break;
                    default:
                         throw new Exception("Unexpected listentry: " +