From ef26d240acfb5bcd254b698b5ef4c37125281fcb Mon Sep 17 00:00:00 2001 From: Derek Stevens Date: Fri, 15 Mar 2019 00:13:49 -0700 Subject: [PATCH] now using unrestricted font --- Engine.c | 4 ++-- assets/charriot.ttf | Bin 16240 -> 0 bytes assets/kong.ttf | Bin 0 -> 10280 bytes 3 files changed, 2 insertions(+), 2 deletions(-) delete mode 100644 assets/charriot.ttf create mode 100644 assets/kong.ttf diff --git a/Engine.c b/Engine.c index 36c7d32..d28e49b 100644 --- a/Engine.c +++ b/Engine.c @@ -266,8 +266,8 @@ int init(int argc, char* args[]) bg = loadImage("assets/seethruzone.png"); hpwedge = loadImage("assets/hp.png"); - font = TTF_OpenFont("assets/charriot.ttf", 10); - font2 = TTF_OpenFont("assets/charriot.ttf", 20); + font = TTF_OpenFont("assets/kong.ttf", 8); + font2 = TTF_OpenFont("assets/kong.ttf", 16); player = newCatbug(35, 90); stuff = malloc(10*sizeof(Pickup*)); diff --git a/assets/charriot.ttf b/assets/charriot.ttf deleted file mode 100644 index 88df6fef3ac1134636e1ead8b29a1a220c029e8b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 16240 zcmbtbYiu3Ibw2mOhe(PdMN*VxOI}7&B-=Diy=D3Rh^$1itk8p#~rhuB}M{DGVQ4~$n0!5M^LC~sgfT&i# z@0>Ziv&(z0E|n!`XLe?G&Ue0Z=Ird_N=Zbz<+4;{{MqO3-}CM-{?>7k(jnBIo;+W> z@cX}W@hOo?AL=G%YD*Vx-V~hi=sC1^&dgmpyS-!VA(6ISBKyYAP1mOW{cry6RkU42 zI&cmZ?cb>WEy~xCwx2t{{Q3u%QIgUXq|0*)leLA5lY=7FDO7&*eC_oM)$hsI(6$lB z$$ahnbk`TQyf5;=8ORvDu&}h;`NK8e5_#lJwEr8CFkM~T`d=@vd+5KVyYd6n$a@oi z@deBO{;MK44^^d&hh5sAC7e^f`r&sW_Zp6_Rkel<>Gq2DeMK%yqIG5Ill$cfoY52d zl*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t$;R=k^5Y`4*bx~Gt(y13H7jT_*SHWZPQuB`$u{Xy~(|Zv&zdD z%tv;ocDd=Z6zyQWbbhrEhgR)Z9#2j93jgAxs8*S3$?rWz2LIAK29E>$28-7AW9E*C zBylscVn~6;{2hAuwj9p^^6Nug&(Sut0~4QlxsCd9%(BT*alV5P{1={`gm24Nu9xSpS!*6?{|IQ@)|)HkAAD>r2+RvtGWV1szbC5i3HVQ4x-fmVHaVSqCE0ap;kCtNa^d`i+We)v$C5qc;|Io)$LHpf ziP@QR%S*|`^wRX=#p$Vu>6zE&YKu>vt1T|hE-W8DJ-xUzyD*>Z9vdHz%gHmf#mRHY z-rb`*)@U+2Kf63zn@bj_=ca2*)2GhOE+uCd=9iPt*OrpW#p&Ae^i=ZN((L?9a)i}S zvT9*5**`X(oLyWvpBx2{`;ITn%ubF0C%&M2RW6m*%Cvk==H-V-3$iHZr6zOuebF-V zdHlMehPtWB7b{<@{8idVew(+9aTnpc ziR_Va{2kD?$1(OC>LzgB48~Z-SA0C0M$Y~hv7geOYjL%CMiEV;$61u-L+_f(HFSs&1|Bt{$sCU40n)2h!H>W2||ce*)+)B2D3FK^}*sMQCA` z(cf0$USp@|@3t8{bK5I8s^DpL8=_1HV&EG1MmJ*HTCBX+A@20!3-1BE1s}pM>4s&a zY?96R72ut+MYiG@MgnVp1iy6LE<5C-c$ctC?v{J-tH)8WFb3Zlho$zwUi-k;0o*Gd zk_X^b56VOGusnj_L_P+zPk`H}j;)`2@WDIP84_@6u1oC*e)c!TUc2-*{fm a$fxB6c~M@H&)^rYFUu>?np=s#mHmH}5T`5v diff --git a/assets/kong.ttf b/assets/kong.ttf new file mode 100644 index 0000000000000000000000000000000000000000..5e4d65fd1e059a159342d62f86c374da152df7f5 GIT binary patch literal 10280 zcmd^FX^<7w6+ZpeSp!cPHWA)1GNK5~@EAlE1!PfC*>OWCuYW*i0t*9OED_qbHz zg8PQzE-D&g42g+GQxZ$X=v1Orn#5G%mXdO2@_pyr?)Tn6Mav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