X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Fmaptest.c;h=ee033104774ebb4a01d9cc4c4176f2c096d32757;hb=26444a1f2a6670976e67509ac92c8420bf9c7fdc;hp=1f7e03fc232864ddf8fe779a7c661bbca32caa35;hpb=2bab9c38c2b93c18474dd9189f1801eb13508a5e;p=16.git diff --git a/src/maptest.c b/src/maptest.c index 1f7e03fc..ee033104 100644 --- a/src/maptest.c +++ b/src/maptest.c @@ -8,9 +8,7 @@ main(int argc, char *argv[]) { map_t map; short i; - //int lm; loadmap("data/test.map", &map); - //fprintf(stdout, "loadmap= %d\n\n", lm); #ifdef DUMP fprintf(stdout, "map.width= %d\n", map.width); fprintf(stdout, "map.height= %d\n", map.height); @@ -20,6 +18,13 @@ main(int argc, char *argv[]) fprintf(stdout, "%04d[%02d]", i, map.data[i]); if(i && !(i%map.width)) fprintf(stdout, "\n"); } + fprintf(stdout, "\n"); #endif + fprintf(stdout, "&map==%Fp\n", &map); + fprintf(stdout, "&map.tiles==%Fp\n", map.tiles); + fprintf(stdout, "&map.width==%Fp\n", map.width); + fprintf(stdout, "&map.height==%Fp\n", map.height); + fprintf(stdout, "&map.data==%Fp\n", map.data); #endif + fprintf(stdout, "okies~\n"); }