From 6e96fb2144718722208d22f892716b55548135e1 Mon Sep 17 00:00:00 2001 From: Starla Insigna Date: Wed, 30 Nov 2011 12:57:06 -0500 Subject: Created a game mode manager There is now one location for information relating to each GameMode instead of several places, so that info can be easily updated and propagated to, for instance, GameModeSelectionLayer. GameModes can also be specified by an info instance each owns. There's also a way to get an ordered list of game modes. The three star game mode unlocking system has also been added. Closes #213 --- Cartographic.xcodeproj/project.pbxproj | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'Cartographic.xcodeproj/project.pbxproj') diff --git a/Cartographic.xcodeproj/project.pbxproj b/Cartographic.xcodeproj/project.pbxproj index 5aed3f5..464cf44 100755 --- a/Cartographic.xcodeproj/project.pbxproj +++ b/Cartographic.xcodeproj/project.pbxproj @@ -124,6 +124,11 @@ 6CC89DD913F2F4E6003704F7 /* Entitlements.plist in Resources */ = {isa = PBXBuildFile; fileRef = 6CC89DD813F2F4E6003704F7 /* Entitlements.plist */; }; 6CC89DDF13F31413003704F7 /* TutorialMode.m in Sources */ = {isa = PBXBuildFile; fileRef = 6CC89DDE13F31413003704F7 /* TutorialMode.m */; }; 6CDBE80C14092DB00072F287 /* ledge.png in Resources */ = {isa = PBXBuildFile; fileRef = 6CDBE80B14092DB00072F287 /* ledge.png */; }; + 6CE5F7EA1483FAC8008E9ADA /* GameModeInfo.m in Sources */ = {isa = PBXBuildFile; fileRef = 6CE5F7E91483FAC8008E9ADA /* GameModeInfo.m */; }; + 6CE5F7EE14855331008E9ADA /* GameModeManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 6CE5F7ED14855331008E9ADA /* GameModeManager.m */; }; + 6CE5F7F214869D98008E9ADA /* star_1.png in Resources */ = {isa = PBXBuildFile; fileRef = 6CE5F7EF14869D98008E9ADA /* star_1.png */; }; + 6CE5F7F314869D98008E9ADA /* star_2.png in Resources */ = {isa = PBXBuildFile; fileRef = 6CE5F7F014869D98008E9ADA /* star_2.png */; }; + 6CE5F7F414869D98008E9ADA /* star_3.png in Resources */ = {isa = PBXBuildFile; fileRef = 6CE5F7F114869D98008E9ADA /* star_3.png */; }; 6CF64C0B141BA37000F3B702 /* multiplier.png in Resources */ = {isa = PBXBuildFile; fileRef = 6CF64C0A141BA37000F3B702 /* multiplier.png */; }; 6CF64C11141BA84200F3B702 /* Absorption2.wav in Resources */ = {isa = PBXBuildFile; fileRef = 6CF64C10141BA84200F3B702 /* Absorption2.wav */; }; 6CF64C1D141BFA9600F3B702 /* FallingObjectFactory.m in Sources */ = {isa = PBXBuildFile; fileRef = 6CF64C1C141BFA9600F3B702 /* FallingObjectFactory.m */; }; @@ -459,6 +464,13 @@ 6CC89DE013F3197F003704F7 /* FallingObjectDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = FallingObjectDelegate.h; sourceTree = ""; }; 6CDBE80B14092DB00072F287 /* ledge.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = ledge.png; sourceTree = ""; }; 6CDBE80E140936CF0072F287 /* CartDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CartDelegate.h; sourceTree = ""; }; + 6CE5F7E81483FAC8008E9ADA /* GameModeInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GameModeInfo.h; sourceTree = ""; }; + 6CE5F7E91483FAC8008E9ADA /* GameModeInfo.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GameModeInfo.m; sourceTree = ""; }; + 6CE5F7EC14855331008E9ADA /* GameModeManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GameModeManager.h; sourceTree = ""; }; + 6CE5F7ED14855331008E9ADA /* GameModeManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GameModeManager.m; sourceTree = ""; }; + 6CE5F7EF14869D98008E9ADA /* star_1.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = star_1.png; sourceTree = ""; }; + 6CE5F7F014869D98008E9ADA /* star_2.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = star_2.png; sourceTree = ""; }; + 6CE5F7F114869D98008E9ADA /* star_3.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = star_3.png; sourceTree = ""; }; 6CF64C0A141BA37000F3B702 /* multiplier.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = multiplier.png; sourceTree = ""; }; 6CF64C10141BA84200F3B702 /* Absorption2.wav */ = {isa = PBXFileReference; lastKnownFileType = audio.wav; path = Absorption2.wav; sourceTree = ""; }; 6CF64C1B141BFA9600F3B702 /* FallingObjectFactory.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = FallingObjectFactory.h; sourceTree = ""; }; @@ -780,6 +792,9 @@ 3F6C7F4D13D647B600C038FE /* Sprites */ = { isa = PBXGroup; children = ( + 6CE5F7EF14869D98008E9ADA /* star_1.png */, + 6CE5F7F014869D98008E9ADA /* star_2.png */, + 6CE5F7F114869D98008E9ADA /* star_3.png */, 6CF64C0A141BA37000F3B702 /* multiplier.png */, 6CDBE80B14092DB00072F287 /* ledge.png */, 6C39CFE613FC46CD002B21AF /* water.png */, @@ -934,6 +949,10 @@ 6CC89DDE13F31413003704F7 /* TutorialMode.m */, 6C39CFE313FC4635002B21AF /* JumpGameMode.h */, 6C39CFE413FC4635002B21AF /* JumpGameMode.m */, + 6CE5F7E81483FAC8008E9ADA /* GameModeInfo.h */, + 6CE5F7E91483FAC8008E9ADA /* GameModeInfo.m */, + 6CE5F7EC14855331008E9ADA /* GameModeManager.h */, + 6CE5F7ED14855331008E9ADA /* GameModeManager.m */, ); name = "Game Modes"; sourceTree = ""; @@ -1467,6 +1486,9 @@ 6CDBE80C14092DB00072F287 /* ledge.png in Resources */, 6CF64C0B141BA37000F3B702 /* multiplier.png in Resources */, 6CF64C11141BA84200F3B702 /* Absorption2.wav in Resources */, + 6CE5F7F214869D98008E9ADA /* star_1.png in Resources */, + 6CE5F7F314869D98008E9ADA /* star_2.png in Resources */, + 6CE5F7F414869D98008E9ADA /* star_3.png in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -1517,6 +1539,8 @@ 6C85834414055B2E009EF100 /* notificationDesign.m in Sources */, 6C4400041415080800A9E1D7 /* ZoomFadeTransition.m in Sources */, 6CF64C1D141BFA9600F3B702 /* FallingObjectFactory.m in Sources */, + 6CE5F7EA1483FAC8008E9ADA /* GameModeInfo.m in Sources */, + 6CE5F7EE14855331008E9ADA /* GameModeManager.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; -- cgit 1.4.1