projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added menu item to let user decide, if he wants to use new not-yet-fully-supported...
[supertux.git]
/
tools
/
tilemanager
/
TileSet.cs
diff --git
a/tools/tilemanager/TileSet.cs
b/tools/tilemanager/TileSet.cs
index
9300135
..
ad10cdf
100644
(file)
--- a/
tools/tilemanager/TileSet.cs
+++ b/
tools/tilemanager/TileSet.cs
@@
-49,12
+49,12
@@
public class TileSet {
public const int TILE_WIDTH = 32;
public const int TILE_HEIGHT = 32;
public const int TILE_WIDTH = 32;
public const int TILE_HEIGHT = 32;
- private bool
too
New = false;
+ private bool
is
New = false;
/// <summary>Whether version of tileset file is too new</summary>
/// <summary>Whether version of tileset file is too new</summary>
- public bool
Too
New {
+ public bool
Is
New {
get {
get {
- return
too
New;
+ return
is
New;
}
}
}
}
@@
-104,7
+104,7
@@
public class TileSet {
}
public void ParseTiles(Lisp.Parser parser) {
}
public void ParseTiles(Lisp.Parser parser) {
-
too
New = false;
+
is
New = false;
int d = parser.Depth;
while(parser.Parse() && parser.Depth >= d) {
if(parser.Depth == d && parser.Type != Parser.LispType.START_LIST) {
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);
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: " +
break;
default:
throw new Exception("Unexpected listentry: " +