X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Flib%2F16_map.h;h=bac162c9371df7e9545c9c7e02e3883408bc4355;hb=bee28e8a01c70bae522ef12947c296f837110dbe;hp=bf87c8753c0aa1c14192698beaa715c14bbf3ba3;hpb=f4c6f3f670e78f2d160fcf10f954155797ef67ef;p=16.git diff --git a/src/lib/16_map.h b/src/lib/16_map.h index bf87c875..bac162c9 100755 --- a/src/lib/16_map.h +++ b/src/lib/16_map.h @@ -23,11 +23,11 @@ #ifndef _16_MAP__H_ #define _16_MAP__H_ +#include "src/lib/16_head.h" #include "src/lib/jsmn/jsmn.h" //#include "stdio.h" included in 16_head.h //#include "stdlib.h" included in 16_head.h #include "src/lib/16_vl.h" -#include "src/lib/16_head.h" #include "src/lib/16_ca.h" #include "src/lib/16_mm.h" @@ -39,10 +39,10 @@ typedef struct { word tileWidth; unsigned int rows; unsigned int cols; -#ifdef __DEBUG__ + #ifdef __DEBUG__ boolean debug_text; //show the value of the tile! wwww byte *debug_data; -#endif + #endif } tiles_t; //TODO: 16_mm and 16_ca must handle this @@ -52,7 +52,7 @@ typedef struct { //unsigned planelength[3]; byte * huge *data; //TODO: 16_mm and 16_ca must handle this tiles_t **tiles; //TODO: 16_mm and 16_ca must handle this - int width, height; //this has to be signed! + unsigned int width, height; //this has to be positive char name[16]; } map_t;