From 8bd8893e7f7516c76558ad7262e9f9350f5192b9 Mon Sep 17 00:00:00 2001 From: Charles Date: Mon, 19 Apr 2010 05:09:51 +0000 Subject: [PATCH] New test map: maze.cfmap New classes: - Timer is a basic event scheduler. - IPriorityQueue, BinaryHeap is a basic heap... not sure why .Net doesn't provide one. - PathFinder lets your search the map for paths. - Script is a WIP. git-svn-id: https://bd85.net/svn/cs3505_group@107 92bb83a3-7c8f-8a45-bc97-515c4e399668 --- CarFire/CarFire/CarFire/CarFire.csproj | 4 + .../CarFire/Content/Content.contentproj | 7 + .../CarFire/CarFire/Content/Maps/maze.cfmap | 33 ++ .../CarFire/CarFire/Content/Maps/stable.cfmap | 23 +- CarFire/CarFire/CarFire/PathFinder.cs | 277 +++++++++++ CarFire/CarFire/CarFire/PriorityQueue.cs | 455 ++++++++++++++++++ CarFire/CarFire/CarFire/Script.cs | 50 ++ CarFire/CarFire/CarFire/Timer.cs | 183 +++++++ 8 files changed, 1019 insertions(+), 13 deletions(-) create mode 100644 CarFire/CarFire/CarFire/Content/Maps/maze.cfmap create mode 100644 CarFire/CarFire/CarFire/PathFinder.cs create mode 100644 CarFire/CarFire/CarFire/PriorityQueue.cs create mode 100644 CarFire/CarFire/CarFire/Script.cs create mode 100644 CarFire/CarFire/CarFire/Timer.cs diff --git a/CarFire/CarFire/CarFire/CarFire.csproj b/CarFire/CarFire/CarFire/CarFire.csproj index fd92b88..2edc12d 100644 --- a/CarFire/CarFire/CarFire/CarFire.csproj +++ b/CarFire/CarFire/CarFire/CarFire.csproj @@ -84,6 +84,7 @@ + @@ -95,9 +96,12 @@ + + + diff --git a/CarFire/CarFire/CarFire/Content/Content.contentproj b/CarFire/CarFire/CarFire/Content/Content.contentproj index e53208f..818dbdd 100644 --- a/CarFire/CarFire/CarFire/Content/Content.contentproj +++ b/CarFire/CarFire/CarFire/Content/Content.contentproj @@ -136,6 +136,13 @@ TextureProcessor + + + maze + MapImporter + PassThroughProcessor + +