From 1393586d1e5639ac8f1e9fc8183644050dd54165 Mon Sep 17 00:00:00 2001 From: Charles Date: Tue, 13 Apr 2010 05:12:26 +0000 Subject: [PATCH] Map drawing implemented. Test map API's implemented. git-svn-id: https://bd85.net/svn/cs3505_group@67 92bb83a3-7c8f-8a45-bc97-515c4e399668 --- CarFire/CarFire/CarFire.suo | Bin 45568 -> 50176 bytes .../CarFire/Content/Content.contentproj | 7 + CarFire/CarFire/CarFire/Map.cs | 324 +++++++++++++++++- CarFire/CarFire/CarFire/MapReader.cs | 215 +++++++----- CarFire/CarFire/CarFire/Parse.cs | 13 +- CarFire/CarFire/CarFire/XnaGame.cs | 17 + 6 files changed, 472 insertions(+), 104 deletions(-) diff --git a/CarFire/CarFire/CarFire.suo b/CarFire/CarFire/CarFire.suo index 153a3e4100f5796d979125a3bce9213fc1c94218..a29eeb84ea67b47fa78dc58d715ab8b38e6d701d 100644 GIT binary patch delta 3171 zcmb7GeN0=|6~EU!8{2#t>QFvRuz@;hN{Agkl0X0h1`t&ocr#%=bU$*Lm#R_r<3MFDqe$Qs&!jzjIlDpI)a_>Su`3Is3f_L&`GEw zY#?kTY$8+>3JIGDwFF_01=T_Ll8tHmi0~48LUC@#L|AI)sjx_e>9&ctUw`|zH+d3i zSS7}#o7{j8>I-3$44BtS7*lUk@yxqaC|$yW+9$P>Il49Nd^=v$8|Q^r ziT2_d<%E@=uen8b#qlDaB7T_!kt;D6WXn5hp>4vuMRr_WrN?}cV}rPl5-#$k zPkK(J7rP!&G0IwOY#ew}+&nhS{V`c5|I?;R!eqHswpQhFgjR)Q$A;Y;w{zEEupkG9 zYBS8$2J$gWEjEVX*lY=}xgjos$Qn1--@RV&p(*qfSQEAw(gv8H4YFY-lE<*!RF1*i zJg5SbXj}WQSgeC(Zfz+kR||u?=__;NP05Dfx)7hjC+pr*e{`_xwT$>t>EPX~q1sdg zkEs;yP5VSvWXq;XPGPKrBcLZA8b!H_f$x?V^Al(&s6TX!mf|IPislo9lkxS_G@p*k z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4P8-BPX8jTW?WKQMp`Rb&Rp?#0(8I!xlv=+9%Si z)payzi>EM$mZ}>=$++IZ(qvXp$XKgq@oZQXIifsL4JO&NzEVNXoK_{D$!20Xo2c%& z2&C4`>OH}dYjP=e*-rMNH*_Z3M@^YKDAul}yEVP64fZm**+j jOc-u;bz1!Sb;z$MUmV%qB{8hpP2FZGbhzEstqJ}cICssr diff --git a/CarFire/CarFire/CarFire/Content/Content.contentproj b/CarFire/CarFire/CarFire/Content/Content.contentproj index 077c9a1..59b77ca 100644 --- a/CarFire/CarFire/CarFire/Content/Content.contentproj +++ b/CarFire/CarFire/CarFire/Content/Content.contentproj @@ -115,6 +115,13 @@ sandbox + + + default + TextureImporter + TextureProcessor + +