]> 4ch.mooo.com Git - 16.git/blobdiff - src/lib/mapread.h
add -wx (max warning level) to C make flags.
[16.git] / src / lib / mapread.h
index 0cda1073b8a1617a4bc6a7a4892ee752381cfcb2..d3c26c03ff207407212a1f28d1de7d36265f8fc7 100755 (executable)
@@ -1,10 +1,27 @@
+/* Project 16 Source Code~\r
+ * Copyright (C) 2012-2016 sparky4 & pngwen & andrius4669 & joncampbell123 & yakui-lover\r
+ *\r
+ * This file is part of Project 16.\r
+ *\r
+ * Project 16 is free software; you can redistribute it and/or modify\r
+ * it under the terms of the GNU General Public License as published by\r
+ * the Free Software Foundation; either version 3 of the License, or\r
+ * (at your option) any later version.\r
+ *\r
+ * Project 16 is distributed in the hope that it will be useful,\r
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of\r
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
+ * GNU General Public License for more details.\r
+ *\r
+ * You should have received a copy of the GNU General Public License\r
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>, or\r
+ * write to the Free Software Foundation, Inc., 51 Franklin Street,\r
+ * Fifth Floor, Boston, MA 02110-1301 USA.\r
+ *\r
+ */\r
+\r
 #ifndef _LIBMAPREAD_H_\r
 #define _LIBMAPREAD_H_\r
-//#include <stdlib.h>\r
-//#include <stdio.h>\r
-#include <string.h>\r
-#include <errno.h>\r
-#include <malloc.h>\r
 \r
 #include "src/lib/jsmn/jsmn.h"\r
 #include "src/lib/modex16.h"\r
@@ -17,7 +34,7 @@
 \r
 typedef struct {\r
        bitmap_t huge *btdata;\r
-       planar_buf_t data;\r
+       planar_buf_t huge *data;\r
        word tileHeight;\r
        word tileWidth;\r
        unsigned int rows;\r