From 588e08908734985a4bf259afbc1aec62aeb33d87 Mon Sep 17 00:00:00 2001 From: sparky4 Date: Wed, 15 Feb 2017 16:42:34 -0600 Subject: [PATCH] ==== INITIAL LAYER MAP STUFF DONE, added mapdraw layer ontop of bg, going to implement actors [objects and shit] into the code next, then make support for tilesets, checker did not work unknown reason why it draws junk==== --- data/G.PAL | Bin 768 -> 768 bytes pee | 0 src/lib/scroll16.c | 4 ++-- 3 files changed, 2 insertions(+), 2 deletions(-) delete mode 100755 pee diff --git a/data/G.PAL b/data/G.PAL index 8092380af954e11b165eae773d83f03429619756..d453ea3551f3fad803eed197d05e4ebbf5b74915 100755 GIT binary patch literal 768 zcmWO42ev~%002NGI>G9qZL}bI)K%_(tN*VsZ|DoJ1oTGwe1?Yy8T{@8bC8)lW1Nyb zoYK?~prC!|M!PiW%Oy5jjNSPeI*uIPb3?9@v|pK<&`+@*zDg0xzrxi@^C~JQ z(p3*Jdaj*-)aewe_`2qI|B#Fq7LrC%utzxKu4YjJ7>LnROlT%G!FxUp3lc#2Rc2r4 zz1gbPBa-3=+BMnJQ>iNj9T|Q}YOKa+lCDg_XKaKrw>CxL$U(1i0@BX#Zqjr@lG=)@ zIOy(en-QvQzgGp0s+_OGpmv?NvIhqRg zr9OWv!;^2o(YgG1?l<=N%0tN!1U3ZtZ#9ei+-+5W;=2d_0;g*fjy_&giAk>>rU89V z%*^?}h8HLO>J2t>WUmw2e;(d*e!loLX^&9T+-zldhMUDmVO1WBWE9ReMb+?dpM>u7 zO$c@*q;rCWlv$E@FO`p548mdAmdHBLi5lVmNuI{6Z7^1}QDOX<3qWG!t4R_dJdlqj l`>k>J5INoOGH|IBX3t+UB?eNes2wfiKP=`_Zf=0){ mapDrawTile(mv[id].map->MAPTILESPTR, mv[id].map->layerdata[0].data[i], mv[id].page, mv[id].dx, y); for(z=1;z<=2;z++){ - if(mv[id].map->layerdata[z].data[i] && mv->dymap->height){ + if(mv[id].map->layerdata[z].data[i]){ sprintf(global_temp_status_text2, "%u", mv[id].map->layerdata[z].data[i]); modexprint(mv[id].page, mv[id].dx, y, 1, 0, PALMAPDRAWW, z+2, global_temp_status_text2); //mapDrawTile(mv[id].map->MAPTILESPTR, mv[id].map->layerdata[z].data[i], mv[id].page, mv[id].dx, y); } @@ -629,7 +629,7 @@ if(pagedelayrendermap){ sprintf(global_temp_status_text, "%-3u", mv[id].dy); mod if(i>=0){ mapDrawTile(mv[id].map->MAPTILESPTR, mv[id].map->layerdata[0].data[i], mv[id].page, x, mv[id].dy); for(z=1;z<=2;z++){ - if(mv[id].map->layerdata[z].data[i] && mv->dxmap->width){ + if(mv[id].map->layerdata[z].data[i]){ sprintf(global_temp_status_text2, "%u", mv[id].map->layerdata[z].data[i]); modexprint(mv[id].page, x, mv[id].dy, 1, 0, PALMAPDRAWW, z+2, global_temp_status_text2); //mapDrawTile(mv[id].map->MAPTILESPTR, mv[id].map->layerdata[z].data[i], mv[id].page, x, mv[id].dy); } -- 2.39.5