From b162e1ba91d66464e5128a3ca0f7049d92bc3acb Mon Sep 17 00:00:00 2001 From: Jerason Banes Date: Mon, 18 Feb 2019 07:07:01 -0600 Subject: [PATCH] Scrolling letters now correctly scroll off-screen for high score entry --- ipkg/control | 2 +- .../apps/gmenu2x/sections/games/drill.lnk | 3 +-- profile/output/dingux/obj/CBmps.gcda | Bin 3264 -> 0 bytes profile/output/dingux/obj/CInput.gcda | Bin 2712 -> 0 bytes profile/output/dingux/obj/CTime.gcda | Bin 2136 -> 0 bytes profile/output/dingux/obj/CWavs.gcda | Bin 3044 -> 0 bytes profile/output/dingux/obj/Cffont.gcda | Bin 2448 -> 2352 bytes profile/output/dingux/obj/drill.gcda | Bin 12356 -> 15348 bytes src/Cffont.c | 9 +++++++-- 9 files changed, 9 insertions(+), 5 deletions(-) delete mode 100755 profile/output/dingux/obj/CBmps.gcda delete mode 100755 profile/output/dingux/obj/CInput.gcda delete mode 100755 profile/output/dingux/obj/CTime.gcda delete mode 100755 profile/output/dingux/obj/CWavs.gcda diff --git a/ipkg/control b/ipkg/control index 2c6e42d..f864282 100644 --- a/ipkg/control +++ b/ipkg/control @@ -1,5 +1,5 @@ Package: mrdrillux -Version: 20190217 +Version: 20190218 Description: Clone of Mr. Driller game Section: games Priority: optional diff --git a/ipkg/home/retrofw/apps/gmenu2x/sections/games/drill.lnk b/ipkg/home/retrofw/apps/gmenu2x/sections/games/drill.lnk index e44652a..ef84db7 100644 --- a/ipkg/home/retrofw/apps/gmenu2x/sections/games/drill.lnk +++ b/ipkg/home/retrofw/apps/gmenu2x/sections/games/drill.lnk @@ -1,4 +1,3 @@ title=Mr. Drillux description=See how deep you can drill! -exec=/home/retrofw/games/drill/drill.dge -clock=600 \ No newline at end of file +exec=/home/retrofw/games/drill/drill.dge \ No newline at end of file diff --git a/profile/output/dingux/obj/CBmps.gcda b/profile/output/dingux/obj/CBmps.gcda deleted file mode 100755 index 8ff530b8d62e84dfcdb32e480f5c454abaaacba0..0000000000000000000000000000000000000000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RFxz2BTsIX3bquiY?T?6lm39389D4|F> zhZqg2P|hLNC~s75coiz`Ok4-P%=%q#&eA4wh+Ixjj+gn9&r1d2dm>CP+I8<*;n3q# zYqCWT@(Y#%;W{mC%M5ZudpZFq;^ zZd7!OokJ{M)etEmewe3vb`kX_D%ov8+RWfCeG@xeIO1ITN#ZJ tp#!`n#+FMXLU%M}FMC>a=ow<*Td-uB8byTvkM6q>$cVjT$Edly{{XR!xDNmT diff --git a/profile/output/dingux/obj/CWavs.gcda b/profile/output/dingux/obj/CWavs.gcda deleted file mode 100755 index 3ae4ba1ffe31e0e8d8b079927b95afbaa308bf8d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3044 zcmai0ZA{fw7(bV8zL0vaP~6HFE^jHN?k0B#F@b2P=n~RR$W}=iCF?`_LB@(+wrsX+;+;o%ArY|!DVGxw$DNcLiST(hX!xg;@$-ePEJ zUks3|ny(ysD2N2@2t|k%_LCcZTsb*2BxuLl7Zfoq!~ximk*0{4m*9^b%}B}))V`7p zI94u{^m3Rv9m({#6|6^inR3_`VFNzR=78U9HegSY>LKk28}PkxEe5t7X9M=lQw}ay zu>rdVbuV02vymIKR1f7z59@l#eOfg5&EVP0?9w%qssBNhlRs31cKd3T*S)L=t4$Ru zI|TR57Udkm-ia5L^RLrbVDBIs@X~c%L)i=7Qh95?#)o#8IHKID(^_2UUAv&%&~JLE z&@TKzxiiD+1AkkWsO%84++E5!#O#h%brQ)=$j{W_zP~++=xJNh~PfN3M zv7^g{!>;EtH7nWV_S>nlhFvR9Xg#8P zvxP$}7mM`*ecC!K9Q+20a3eg#-s<7IgzL+z5kv-G4&n7MCT9>Yv%c%SYqW_RB9;%9 zEtU26zl{lEZ%e9Pv{R91ghP+7IJ#EkfIlb&!gbm_P$k^nvoX0nh_AV!Ryc>q;Javp zaK|61ki?;9K07F!LvU9+wc#Ct>uwzpJ%@1K{>5T3@z;U%5{pd!d`iF&Wiq%$)(ug( zxbLJj=R+NGj%Cyo_WS?%xUT!OF>OAahF0GSal_-?i+NIgn=axh9~^5}$!77z%4<9(YJdJP?jY(`XOU!vTd#-Lu`|TEKGTfkdSoCn?x4)GP(cCmU-X!P3Db9J^HP8UBvD=;fIzn)XM zD{s$%&pSS`8i16^L*sqE0zE*__=Wu@m-e8%d=ckF(wbYpUpugv*$Ha*qCb&69PiMWlX9Qq*NuG>aK*PR;>XqK+rWPr#OXg=2Kxp8 diff --git a/profile/output/dingux/obj/Cffont.gcda b/profile/output/dingux/obj/Cffont.gcda index 25dbc37583f92528ecdfbe4709e82379f0bf82e3..8f5e028e04a2c8f71d190cafe6ef46687248bcc0 100755 GIT binary patch literal 2352 zcmbVOSxA&o6u#q9nPs+Vk%^N=wt<*U3ufC(HKyW}W+j?srA0w2l$20ZkdZ_YZInf1 zL5Yb(h$Q$FEl`xSD47vcv_6PSVRpWA&TXb1B04btckXx3dhhvXX4RV2>n0>6xN0LW z8Hq7JVFn`?JOY*(*)%kJVHO_v#^V{R(Z!1|WCqPUH zbVvw&0$4L#rpa{QU)%z=k6T%;o&rf5<650~oS^)A|pA~9{ST^=7 z<&a~L>d}gbg*=cl0j^`1>V=9(HA;1h=wq~UIg04Zsrm^&E?)I2Mbwv|dVlSsFRiC5 zcV0Qfo1@%7Kf6rj*6M-7Znbi!)ecaioJG`Js@w&&!!TS_t^|ikg0M}j8FO9ja2M~C zJB|iOU>>CV_3DdSmMB-LcF0?#wQSw$l# zi8E3Vcd=i&whh7!B?!=bF-wJmxkKy9*d-joKha^U)EtZV&*=dn-YI#@%wioj%-$#+HqQWQ9B$Kf*iJs91xXZr7LH)mq*P1eXkn)gTlfyy zLuv10MDGfgcu2V*Ubw7G@kRJF9k#kQIUrbvX#EzEqunFENm&vP*2fBkE1u!2d7{=Z z`;i<3!Uf!rTClUJSvZT>34AS__pbQjh_8l;{w-1l3wGQ03AfSd z>*MPq;Vi=LREgwE?Do~yTPEC(k#hMszZQ?gIqQ`nf<@>V;UZje`M9#LQ4;4t(O z4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/Cffont.c b/src/Cffont.c index 14b0ac5..286fcf9 100755 --- a/src/Cffont.c +++ b/src/Cffont.c @@ -98,9 +98,14 @@ void CffontFree(Cffont *this){ void CffontBlitxy(Cffont *this,char *string,SDL_Surface *surf,int x,int y){ SDL_Rect dest = { x, y, this->width, this->height }; + for (; *string; string++) { SDL_Rect *psrc = &this->fontarea[(unsigned int)*string]; - SDL_BlitSurface(this->font, psrc, surf, &dest); - dest.x += (dest.w > psrc->w) ? dest.w : psrc->w; + int width = (dest.w > psrc->w) ? dest.w : psrc->w; + + if(dest.x + width > 0) SDL_BlitSurface(this->font, psrc, surf, &dest); + if(dest.w > 0) width = dest.w; + + dest.x += width; } }