summaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2013-02-19 22:53:23 (EST)
committer P. J. McDermott <pjm@nac.net>2013-02-19 22:53:23 (EST)
commit3675829c3fadbec2080d04404865a698b5bc3082 (patch)
tree51e3aca0ed342cde9da8ff44e39c5d796f5d9984 /src/main.c
parent35226d81ac2db45ce514f07d9be60b1dee5d88fe (diff)
downloadoverworld-rpg-3675829c3fadbec2080d04404865a698b5bc3082.zip
overworld-rpg-3675829c3fadbec2080d04404865a698b5bc3082.tar.gz
overworld-rpg-3675829c3fadbec2080d04404865a698b5bc3082.tar.bz2
Clean up some "#if 0" conditions.
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;