From a72e6a89b54620f5b8d591e8768f4ffc3956945b Mon Sep 17 00:00:00 2001 From: sparky4 Date: Wed, 23 Sep 2015 10:47:23 -0500 Subject: [PATCH] i think it can read maps again! modified: scroll.exe modified: scroll.map modified: src/lib/scroll16.c modified: src/lib/scroll16.h modified: src/scroll.c --- scroll.exe | Bin 76962 -> 76978 bytes scroll.map | 726 ++++++++++++++++++++++----------------------- src/lib/scroll16.c | 5 +- src/lib/scroll16.h | 1 - src/scroll.c | 6 +- 5 files changed, 367 insertions(+), 371 deletions(-) diff --git a/scroll.exe b/scroll.exe index 5d5b418cdd09b2e0f6624b50574c52d0f86e4998..3ad8e02d2718825af91c7f6e7d1140f1ad6a62fa 100755 GIT binary patch delta 18969 zcmb`P34Bb~`~UBmER%JTFxh3_6IsTRh{$G{2trU}t5H?7l(s7IZK(-q>2+g-`y~}i zm6n#4YE(zkR>Tsqt0H3GCnymbX)N>moO5R)e1E_H>;L<|{`z{KnYm|s&htFyIp>~x z({*R9e>!We%Ng|(SHit(b%7HUCex92m316<@HLJLz$Z=tyFPIKoKIOOw z&<~skA1~mzKY5P3A#hww5yy=J1zTl#YN6;R`gDo3%9QW@{9CshsZ00x>=mQQoCb$j9=gjXp?(-iYDL4YGx8OJOhTwBL zSPs4e*MM>>$0dNz!1v$}@E36Zk>f6-&PVwC4(tSfgSWRqI31D_upaCJC%~AWIBrN8 z$E`!94d4xYKZ?)D?Hu>Oz;U5FIc_AF4)y_;a*lf)RFTfU1 z1FnM>pmU8>DndX{Fbp&U?$8g+a&|3@pk3(UQ@g~Q;1G-M& zxcT6_iBR7p*zawQ>jKijG_V6a0FLi)Tr~I$tOZ>rb6h4E1Kt5mz~Nnv+dh@!?55$` zG}xcVm!+U1RGa_~z7Nm;faBhp!ExF=2nE)HD&*Ax?~Y1EXV3%m2NOU(SOivqE#MI7 z9EmcUd@*$eHJ3U{Sa(E((EPe3Vn0HWNLiUcqk=zc@;6evBE zic~Nd%my357U1UziNSlI1pEN1!8Ks*rBnog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4uk@)srYY*@{ygh2v;Uz6KAN zkN5NU8`pUfUsS!@lf)*m<_(7y=-6Sm9<4Tnd)+zq)$$yIjFJfGTDV^Kio2rq(v`+3izc`D9CByx5Tp zgxpcyq#tT})0_C~Z4HGg3VmsD)()}S8{NCnmbZU8Kf8gZM$zq`+w|1_DZM=px0=T> z{8>obO8l5r(|q+)ENu!jcJ?9t5@}O;{GkM<7^^&(rr2w5QX64E=Xl)d)Ct;4=($gP zNRJ*gCFZ*-9KA;|GYe=hKWw&&$!}M`fzXb#3Tw3Z5Z^Y-F#4Reo-V_Tdwq#NR7TTu zwaEg9)HaPxW4P$SA7Du+K_!7VWD%(OEY%ROBAE;>9L!M}_CZ?tTNqw}cc0EDc zt6^7>R6eFU+(hEi0Ua?rf37`WWs$e*1T0eNZP+z74X`Z6*Zjx^j5&EH65?)a?_$l> zkLB=hshya&n%IfVgG&DFL?)1h#vw`)+&UIC<~BvmQr#-f#R} zNt6M$O6V06-{|1Y!RHYCK@A^XyOm>XZVvH zjuhfOa=P;wa=g@i3&)WIo@dyX^fNOZ3$LXgD5@(>#d91ynQaNJt7va&F@}9k>t>>K z2$Hf}^(NItoQ1%+8>tUk_coom?$eg~33*LzlT}(%821K{&XBP-fJ`Dj#=V_MwDFD3 zWVrNwuJjRWoDfLH`LZU^N?qwn&p`jS=nlH#Vj#(f2D=22NXcbsZsHwp18#S5TYhx0 z1J;T)rRg8CU>{!5d%_7+rWQ~3UWQ{ITf_5rVe zjo{otE{J;?{g-grgI&#FpWIaRBH)62f68NqT$-A5KCJzK)Pw+(f^JQ3nxHfOI6}$z=L`>Sl!A Jtiles->tileWidth = 16; map->tiles->rows = 1; map->tiles->cols = 1; -#ifndef TILESPRITE map->tiles->debug_text = true; -#else - map->tiles->debug_text = false; -#endif } + else map->tiles->debug_text = false; return 0; } diff --git a/src/lib/scroll16.h b/src/lib/scroll16.h index e02df3a5..d5a9a284 100755 --- a/src/lib/scroll16.h +++ b/src/lib/scroll16.h @@ -33,7 +33,6 @@ #include "src/lib/timer.h" #define SPRITE -//#define TILESPRITE //#define BMPTYPE typedef struct { diff --git a/src/scroll.c b/src/scroll.c index ed1498ff..7009da24 100755 --- a/src/scroll.c +++ b/src/scroll.c @@ -67,9 +67,9 @@ void main() /* create the map */ fprintf(stderr, "testing map load~\n"); -//++++ loadmap("data/test.map", &map); - map.width=0; - map.height=0; + loadmap("data/test.map", &map); +//0000 map.width=0; +//0000 map.height=0; chkmap(&map, 1); printf("chkmap ok\n"); fprintf(stderr, "yay map loaded~~\n"); -- 2.39.5