projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bonusblock is a sprite and not a tile in the new design. Renamend messagebox.png...
[supertux.git]
/
src
/
object
/
tilemap.cpp
diff --git
a/src/object/tilemap.cpp
b/src/object/tilemap.cpp
index
7fad234
..
e845a2d
100644
(file)
--- a/
src/object/tilemap.cpp
+++ b/
src/object/tilemap.cpp
@@
-30,10
+30,10
@@
#include "tile.h"
#include "resources.h"
#include "tile_manager.h"
#include "tile.h"
#include "resources.h"
#include "tile_manager.h"
-#include "app/globals.h"
#include "lisp/lisp.h"
#include "lisp/writer.h"
#include "object_factory.h"
#include "lisp/lisp.h"
#include "lisp/writer.h"
#include "object_factory.h"
+#include "main.h"
TileMap::TileMap()
: solid(false), speed(1), width(0), height(0), layer(LAYER_TILES),
TileMap::TileMap()
: solid(false), speed(1), width(0), height(0), layer(LAYER_TILES),
@@
-169,6
+169,7
@@
TileMap::draw(DrawingContext& context)
}
}
}
}
+#if 0
if (debug_grid)
{
for (pos.x = start_x; pos.x < end_x; pos.x += 32)
if (debug_grid)
{
for (pos.x = start_x; pos.x < end_x; pos.x += 32)
@@
-183,6
+184,7
@@
TileMap::draw(DrawingContext& context)
Color(225, 225, 225), LAYER_GUI-50);
}
}
Color(225, 225, 225), LAYER_GUI-50);
}
}
+#endif
context.pop_transform();
}
context.pop_transform();
}