]> Dogcows Code - chaz/carfire/commitdiff
if you get exceptions you don't know how to deal with, try this new stable map which...
authorCharles <Charles@92bb83a3-7c8f-8a45-bc97-515c4e399668>
Thu, 15 Apr 2010 02:33:01 +0000 (02:33 +0000)
committerCharles <Charles@92bb83a3-7c8f-8a45-bc97-515c4e399668>
Thu, 15 Apr 2010 02:33:01 +0000 (02:33 +0000)
git-svn-id: https://bd85.net/svn/cs3505_group@79 92bb83a3-7c8f-8a45-bc97-515c4e399668

CarFire/CarFire/CarFire/Content/Content.contentproj
CarFire/CarFire/CarFire/Content/Maps/stable.cfmap [new file with mode: 0644]
CarFire/CarFire/CarFire/XnaGame.cs

index 59b77ca1aa4e67bf4b20e51dbe421d823cbd9b38..e2839da4090637a120a6b5464e424e405a1b4365 100644 (file)
       <Processor>TextureProcessor</Processor>\r
     </Compile>\r
   </ItemGroup>\r
+  <ItemGroup>\r
+    <Compile Include="Maps\stable.cfmap">\r
+      <Name>stable</Name>\r
+      <Importer>MapImporter</Importer>\r
+      <Processor>PassThroughProcessor</Processor>\r
+    </Compile>\r
+  </ItemGroup>\r
   <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\v3.0\Microsoft.Xna.GameStudio.ContentPipeline.targets" />\r
   <!-- To modify your build process, add your task inside one of the targets below and uncomment it. \r
        Other similar extension points exist, see Microsoft.Common.targets.\r
diff --git a/CarFire/CarFire/CarFire/Content/Maps/stable.cfmap b/CarFire/CarFire/CarFire/Content/Maps/stable.cfmap
new file mode 100644 (file)
index 0000000..fc7f2c3
--- /dev/null
@@ -0,0 +1,37 @@
+; Comments can be made with a semicolon as the first character of a line.\r
+; Blank lines are also ignored.\r
+; This is my sandbox level I will use to test against while building the\r
+; level-loading code.\r
+\r
+[metadata]\r
+       author = Chaz McGarvey\r
+       levelname = Stable\r
+       type = Campaign\r
+       dimensions = [80,21]\r
+       tileset = FuturisticBuilding\r
+       numplayers = <1,4>\r
+\r
+[maptable]\r
++------------------------------------------------------------------------------+\r
+|                                                                              |\r
+| 1                                                                            |\r
+|                                                                              |\r
+| 2                +----                                                       |\r
+|                  |                                                           |\r
+| 3                |                                                           |\r
+|                  |------------------------------------------                 |\r
+| 4                |                                       |                   |\r
+|                  |                                       |                   |\r
++-------------+----+                                       |                   |\r
+|             |                                            |                   |\r
+|             |                                            |                   |\r
+|             |                                            |                   |\r
+|             |          \ @ # $ % ^ & * ( )               |                   |\r
+|     +-------+                                            |                   |\r
+|                                                          |                   |\r
+|                                                                              |\r
+|                                                                              |\r
+|                                                                              |\r
++------------------------------------------------------------------------------+\r
+\r
+; vi:ft=dosini\r
index da92bf0d7c011d7f118eac4996fbabf4fc493aa7..56f7479fddb7d6dacbed1eb45fe48a78e07ea3a1 100644 (file)
@@ -77,7 +77,7 @@ namespace CarFire
             deterministicGame.LoadContent(Content);\r
 \r
 #if MAP_TESTING\r
-            map = Content.Load<Map>("Maps/sandbox");\r
+            map = Content.Load<Map>("Maps/stable");\r
             Map.DefaultTile = Content.Load<Texture2D>("default");\r
             map.CenterCell = new Vector2(2, 4);\r
             List<object> entities = map.GetAllEntities();\r
This page took 0.03115 seconds and 4 git commands to generate.