]> 4ch.mooo.com Git - 16.git/blobdiff - src/lib/16_map.h
db.exe added as a utility
[16.git] / src / lib / 16_map.h
index bf87c8753c0aa1c14192698beaa715c14bbf3ba3..bac162c9371df7e9545c9c7e02e3883408bc4355 100755 (executable)
 #ifndef _16_MAP__H_\r
 #define _16_MAP__H_\r
 \r
+#include "src/lib/16_head.h"\r
 #include "src/lib/jsmn/jsmn.h"\r
 //#include "stdio.h" included in 16_head.h\r
 //#include "stdlib.h" included in 16_head.h\r
 #include "src/lib/16_vl.h"\r
-#include "src/lib/16_head.h"\r
 #include "src/lib/16_ca.h"\r
 #include "src/lib/16_mm.h"\r
 \r
@@ -39,10 +39,10 @@ typedef struct {
        word tileWidth;\r
        unsigned int rows;\r
        unsigned int cols;\r
-#ifdef __DEBUG__\r
+       #ifdef __DEBUG__\r
        boolean debug_text;     //show the value of the tile! wwww\r
        byte *debug_data;\r
-#endif\r
+       #endif\r
 } tiles_t;\r
 \r
 //TODO: 16_mm and 16_ca must handle this\r
@@ -52,7 +52,7 @@ typedef struct {
        //unsigned      planelength[3];\r
        byte    * huge *data;   //TODO: 16_mm and 16_ca must handle this\r
        tiles_t **tiles;                //TODO: 16_mm and 16_ca must handle this\r
-       int width, height;              //this has to be signed!\r
+       unsigned int width, height;             //this has to be positive\r
        char            name[16];\r
 } map_t;\r
 \r