summaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c14
1 files changed, 2 insertions, 12 deletions
diff --git a/src/main.c b/src/main.c
index 498bb26..c36a35c 100644
--- a/src/main.c
+++ b/src/main.c
@@ -21,12 +21,9 @@ main(void)
{
struct viewport *vp;
struct map *map;
-#if 0
- struct map_tileset *ts;
- struct map_exit *e;
-#endif
struct area *a;
SDL_Color colors[256];
+ struct map_exit *e;
int i;
Uint32 start, end;
int x, y;
@@ -54,14 +51,8 @@ main(void)
warn("Failed to set palette");
}*/
-#if 0
- debug("Map dimensions: %dx%d", map->width, map->height);
- for (ts = map->tilesets_head; ts != NULL; ts = ts->next) {
- debug("Tileset name: %s", ts->tileset->name);
- debug("Tileset firstgid: %d", ts->firstgid);
- }
for (e = map->map_exits_head; e != NULL; e = e->next) {
- debug("Exit target (size %dx%d) at (%d,%d) "
+ debug("Map exit (size %dx%d) at (%d,%d) "
"to map %s (size %dx%d) at (%d,%d)",
e->width, e->height,
e->x, e->y,
@@ -69,7 +60,6 @@ main(void)
e->target_map->width, e->target_map->height,
e->target_x_coord, e->target_y_coord);
}
-#endif
/* Demo */
i = 0;