changeset 26:2183f90be87f

Cleanups
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 09 Dec 2006 22:04:53 +0000
parents fc18ed89cfc1
children a49a85e4a043
files mkmap.c
diffstat 1 files changed, 3 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/mkmap.c	Sat Dec 09 20:31:33 2006 +0000
+++ b/mkmap.c	Sat Dec 09 22:04:53 2006 +0000
@@ -1,5 +1,7 @@
 /*
- * mkmap - Compute complete ASCII map by stitching pieces together
+ * mkmap - Compute complete ASCII map by stitching pieces
+ * together with a semi-heuristic+fallback bruteforce algorithm
+ *
  * Programmed by Matti 'ccr' Hämäläinen (Ggr Pupunen)
  * (C) Copyright 2006 Tecnic Software productions (TNSP)
  */
@@ -248,8 +250,6 @@
 }
 
 
-/*
- */
 DINT putBlock(mapblock_t **map, mapblock_t *b, DINT ox, DINT oy)
 {
 	mapblock_t *tmp;
@@ -276,15 +276,11 @@
 		return -2;
 	}
 
-//fprintf(stderr, "(%d,%d - %d,%d)\n--- map[%d,%d]\n", x0, y0, x1, y1, mx, my);printBlock(stderr, tmp);
-
 	if (putBlockDo(tmp, b, ox, oy) < 0) {
 		th_free(tmp);
 		return -3;
 	}
 	
-//fprintf(stderr, "(%d,%d - %d,%d)\n--- map[%d,%d]\n", x0, y0, x1, y1, mx, my);printBlock(stderr, tmp);
-
 	/* Out with the old, in with the new */
 	freeBlock(*map);
 	*map = tmp;