public Objective_VisitPlace(Level.ZoneEnum enZone, string sDescription, string sShortDescription)
		{
			this.enObjectiveType = QuestObjective.ObjectiveTypes.VisitPlace;
			this.enZone = enZone;
			this.sObjectiveDescriptionTemplate = sDescription;
			this.sShortObjectiveDescriptionTemplate = sShortDescription;
		}
Exemple #2
0
 public TreasureMapEntry(TreasureMapEntry.TreasureMapID enMapID, Level.ZoneEnum enZone, Vector2 v2BuriedPos, Trophies.TrophyReward xReward, FlagCodex.FlagID enFlag)
 {
     this.enMapID = enMapID;
     this.enFlag = enFlag;
     this.v2BuriedPos = v2BuriedPos;
     this.xReward = xReward;
     this.enZone = enZone;
 }
Exemple #3
0
 public void SetInfo(Level.WorldRegion enLockRegion, Rectangle recTriggerRec, FlagCodex.FlagID enFlagToSet)
 {
     this.enLockRegion = enLockRegion;
     this.recTriggerRec = recTriggerRec;
     this.enFlagToSet = enFlagToSet;
 }
Exemple #4
0
 public void SetGameOverZoning(Level.ZoneEnum enZoneInstead, byte byEntryPoint, byte byZoningSpecial)
 {
     this.enZoneInstead = enZoneInstead;
     this.byEntryPoint = byEntryPoint;
     this.byZoningSpecial = byZoningSpecial;
 }
Exemple #5
0
 public static SortedAnimated.SortedAnimatedEffects GetBlockadeEffect(Level.WorldRegion enRegion)
 {
     SortedAnimated.SortedAnimatedEffects enRet = SortedAnimated.SortedAnimatedEffects._Blocks_RootBig;
     if (enRegion == Level.WorldRegion.EvergrindEast)
     {
         enRet = SortedAnimated.SortedAnimatedEffects._Blocks_BushA;
     }
     else if (enRegion == Level.WorldRegion.HalloweenForest)
     {
         enRet = SortedAnimated.SortedAnimatedEffects._Blocks_BushAHalloween;
     }
     else if (enRegion == Level.WorldRegion.PillarMountains)
     {
         enRet = SortedAnimated.SortedAnimatedEffects._Blocks_StoneSmall + CAS.RandomInVisual.Next(3);
     }
     else if (enRegion == Level.WorldRegion.FlyingFortress)
     {
         enRet = SortedAnimated.SortedAnimatedEffects._Blocks_ArcadeModeLaserfence;
     }
     return enRet;
 }
Exemple #6
0
 public void SetInfo(Level.WorldRegion enRegion, FlagCodex.FlagID enFlagToTrigger)
 {
     this.enRegion = enRegion;
     this.enFlagToTrigger = enFlagToTrigger;
     this.recTriggerRec = new Rectangle((int)this.xTransform.v2Pos.X - 5, (int)this.xTransform.v2Pos.Y - 5, 10, 10);
 }
Exemple #7
0
 public void SetInfo(Level.WorldRegion enRegion, FlagCodex.FlagID enFlagToTrigger)
 {
     this.enRegion = enRegion;
     this.enFlagToTrigger = enFlagToTrigger;
     this.CheckAgainstFlag(enFlagToTrigger);
 }
Exemple #8
0
 public void SetPhasing(Level.PhasingField p_xPhasingField)
 {
     this.iPhasing = 1;
     this.xActivePhasingField = p_xPhasingField;
 }
Exemple #9
0
 public Level(Rectangle p_recLevelBounds, Level.ZoneEnum p_enZone)
 {
     this.recCurrentBounds = p_recLevelBounds;
     this.enZone = p_enZone;
 }
Exemple #10
0
 public ZoningField(Rectangle p_recAreaLeaderBounds, Rectangle p_recAreaTeamBounds, Level.ZoneEnum p_enZoneToLoad, int p_iTargetSpawnPoint)
 {
     this.recAreaLeaderBounds = p_recAreaLeaderBounds;
     this.recAreaTeamBounds = p_recAreaTeamBounds;
     this.enZoneToLoad = p_enZoneToLoad;
     this.iTargetSpawnPoint = p_iTargetSpawnPoint;
 }
Exemple #11
0
 public LevelPartition(Rectangle recPhysicalArea, bool bLowMusicVolume, Level.LevelPartition.ReverbSetting enReverbSetting, Color cOverlayColor)
 {
     this.recPhysicalArea = recPhysicalArea;
     this.bLowMusicVolume = bLowMusicVolume;
     this.enReverbSetting = enReverbSetting;
     this.cOverlayColor = cOverlayColor;
 }
Exemple #12
0
 public LevelPartition(Rectangle recPhysicalArea, bool bLowMusicVolume, Level.LevelPartition.ReverbSetting enReverbSetting)
 {
     this.recPhysicalArea = recPhysicalArea;
     this.bLowMusicVolume = bLowMusicVolume;
     this.enReverbSetting = enReverbSetting;
 }
Exemple #13
0
 public void SetInfo(Level.ZoneEnum enZone, int iSpawnPoint, PlayerView xOwner)
 {
     this.bInstantiateInNetwork = true;
     this.xOwningPlayer = xOwner;
     foreach (DynamicEnvironment x in Program.game.xEntityMaster.dixDynamicEnvironment.Values)
     {
         if (x != this && x is TeleportField)
         {
             TeleportField xTele = x as TeleportField;
             if (xTele.xOwningPlayer == this.xOwningPlayer)
             {
                 xTele.Close();
             }
         }
     }
     this.enZone = enZone;
     this.iSpawnPoint = iSpawnPoint;
     if (TeleportMosRC.txRam == null)
     {
         TeleportMosRC.txRam = Program.game.Content.Load<Texture2D>("Effects/Teleport Field/ram");
     }
     if (TeleportMosRC.txStart == null)
     {
         TeleportMosRC.txStart = Program.game.Content.Load<Texture2D>("Effects/Teleport Field/Start");
     }
     if (TeleportMosRC.txRamStencil == null)
     {
         TeleportMosRC.txRamStencil = Program.game.Content.Load<Texture2D>("Effects/Teleport Field/ram_stencil");
     }
     if (TeleportMosRC.txStartStencil == null)
     {
         TeleportMosRC.txStartStencil = Program.game.Content.Load<Texture2D>("Effects/Teleport Field/Start_stencil");
     }
     string sAsset = "";
     if (enZone == Level.ZoneEnum.EvergrindCity_Main)
     {
         sAsset = "Effects/Teleport Field/evergrind_new";
     }
     else if (enZone == Level.ZoneEnum.HalloweenForestWest)
     {
         sAsset = "Effects/Teleport Field/pumpkin_new";
     }
     else if (enZone == Level.ZoneEnum.FirstPillarMountainTop)
     {
         sAsset = "Effects/Teleport Field/pillar_new";
     }
     else if (enZone == Level.ZoneEnum.WinterLand_FaeVillage)
     {
         sAsset = "Effects/Teleport Field/santafae_new";
     }
     else if (enZone == Level.ZoneEnum.FlyingTemple_OutsideEntrance)
     {
         sAsset = "Effects/Teleport Field/flyingfortress_new";
     }
     else if (enZone == Level.ZoneEnum.FlyingTempleEntrance)
     {
         sAsset = "Effects/Teleport Field/ancienttemple_new";
     }
     else if (enZone == Level.ZoneEnum.CollectorsHQ_MainHall)
     {
         sAsset = "Effects/Teleport Field/memoryroom_new";
     }
     this.xDistortedRC = new TeleportMosRC(Program.game.xLevelMaster.contRegionContent.Load<Texture2D>(sAsset), this.xTransform.v2Pos);
     this.xDistortedRC.v2Scale.X = 0.1f;
     this.xDistortedRC.v2Scale.Y = 0f;
     this.xDistortedRC.fAlpha = 0f;
     this.xDistortedRC.v2Offset = new Vector2(50f, 70f);
     Program.game.xRenderMaster.RegisterSortedRenderComponent(this.xDistortedRC);
 }
Exemple #14
0
 public static LevelBlueprint GetBlueprint(Level.ZoneEnum enZoneToGet)
 {
     if (enZoneToGet == Level.ZoneEnum.RogueLike_Transfer)
     {
         if (Program.game.xGameSessionData.xRogueLikeSession.iCurrentFloor == 1)
         {
             enZoneToGet = Level.ZoneEnum.RogueLike_MidPathPillarToPillar;
         }
         else if (Program.game.xGameSessionData.xRogueLikeSession.iCurrentFloor == 2)
         {
             enZoneToGet = Level.ZoneEnum.RogueLike_MidPathPillarToEGF;
         }
         else if (Program.game.xGameSessionData.xRogueLikeSession.iCurrentFloor == 3)
         {
             enZoneToGet = Level.ZoneEnum.RogueLike_MidPathEGFToEGF;
         }
         else if (Program.game.xGameSessionData.xRogueLikeSession.iCurrentFloor == 4)
         {
             enZoneToGet = Level.ZoneEnum.RogueLike_MidPathEGFToPumpkin;
         }
         else if (Program.game.xGameSessionData.xRogueLikeSession.iCurrentFloor == 5)
         {
             enZoneToGet = Level.ZoneEnum.RogueLike_MidPathPumpkinToPumpkin;
         }
         else if (Program.game.xGameSessionData.xRogueLikeSession.iCurrentFloor == 6)
         {
             enZoneToGet = Level.ZoneEnum.RogueLike_MidPathPumpkinToPumpkin;
         }
         else if (Program.game.xGameSessionData.xRogueLikeSession.iCurrentFloor >= 7)
         {
             enZoneToGet = Level.ZoneEnum.RogueLike_MidPathFlyingToFlying;
         }
     }
     if (enZoneToGet == Level.ZoneEnum.TestZone03)
     {
         return Loader.GetTestLevel03();
     }
     if (enZoneToGet == Level.ZoneEnum.FirstVillageHouse01)
     {
         return Loader.GetTestLevel04();
     }
     if (enZoneToGet == Level.ZoneEnum.TestAdvancedGeometry)
     {
         return Loader.GetGeometryTestZone();
     }
     if (enZoneToGet == Level.ZoneEnum.TheDebugZone)
     {
         return Loader.GetTheDebugZoneLOL();
     }
     if (enZoneToGet == Level.ZoneEnum.FirstVillage_Outside)
     {
         return Loader.GetZone_FirstVillageOutside();
     }
     if (enZoneToGet == Level.ZoneEnum.FirstVillage_Cave)
     {
         return Loader.GetZone_FirstVillage_Cave();
     }
     if (enZoneToGet == Level.ZoneEnum.FirstPillarMountainTop)
     {
         return Loader.GetZone_PillarMountainZone01();
     }
     if (enZoneToGet == Level.ZoneEnum.FirstPillarMountainMid)
     {
         return Loader.GetZone_PillarMountainZone02();
     }
     if (enZoneToGet == Level.ZoneEnum.FirstPillarMountainBot)
     {
         return Loader.GetZone_PillarMountainZone03();
     }
     if (enZoneToGet == Level.ZoneEnum.EvergrindFields_East)
     {
         return Loader.GetZone_EvergrindFields_East();
     }
     if (enZoneToGet == Level.ZoneEnum.EvergrindFields_South)
     {
         return Loader.GetZone_EvergrindFields_South();
     }
     if (enZoneToGet == Level.ZoneEnum.EvergrindFields_West)
     {
         return Loader.GetZone_EvergrindFields_West();
     }
     if (enZoneToGet == Level.ZoneEnum.EvergrindCity_Main)
     {
         return Loader.GetZone_EvergrindCity_Main();
     }
     if (enZoneToGet == Level.ZoneEnum.EvergrindArena01)
     {
         return Loader.GetZone_EvergrindCity_Arena();
     }
     if (enZoneToGet == Level.ZoneEnum.EvergrindArenaWaitingRoom)
     {
         return Loader.GetZone_EvergrindCityArenaWaitingRoom();
     }
     if (enZoneToGet == Level.ZoneEnum.EvergrindArenaReception)
     {
         return Loader.GetZone_EvergrindCityArenaReception();
     }
     if (enZoneToGet == Level.ZoneEnum.HalloweenForestWest)
     {
         return Loader.GetZone_HalloweenForest01();
     }
     if (enZoneToGet == Level.ZoneEnum.HalloweenForestEast)
     {
         return Loader.GetZone_HalloweenForest02();
     }
     if (enZoneToGet == Level.ZoneEnum.HalloweenForestCellar01)
     {
         return Loader.GetZone_HalloweenForestGhostCellar01();
     }
     if (enZoneToGet == Level.ZoneEnum.FlyingTempleEntrance)
     {
         return Loader.GetZone_FlyingTemple_Entrance();
     }
     if (enZoneToGet == Level.ZoneEnum.FlyingTempleEntrance_NoTemple)
     {
         return Loader.GetZone_FlyingTemple_Entrance_NoTemple();
     }
     if (enZoneToGet == Level.ZoneEnum.CollectorsHQ_MainHall)
     {
         return Loader.GetZone_HQ_MainHall();
     }
     if (enZoneToGet == Level.ZoneEnum.MemoryRoom_Phaseman)
     {
         return Loader.GetZone_MemoryRoom_Phaseman();
     }
     if (enZoneToGet == Level.ZoneEnum.MemoryRoom_Gund4m)
     {
         return Loader.GetZone_MemoryRoom_Gund4m();
     }
     if (enZoneToGet == Level.ZoneEnum.ChickenMadnessArena)
     {
         return Loader.GetZone_ChickenMadnessArena();
     }
     if (enZoneToGet == Level.ZoneEnum.TrickAndTreatBossRoom)
     {
         return Loader.GetZone_TrickAndTreatBossRoom();
     }
     if (enZoneToGet == Level.ZoneEnum.FlyingTemple_TeleporterTest)
     {
         return Loader.GetZone_FlyingTemple_TeleporterTest();
     }
     if (enZoneToGet == Level.ZoneEnum.FlyingTemple_Lobby)
     {
         return Loader.GetZone_FlyingTemple_Lobby();
     }
     if (enZoneToGet == Level.ZoneEnum.FlyingTemple_MainGenerator)
     {
         return Loader.GetZone_FlyingTemple_MainGenerator();
     }
     if (enZoneToGet == Level.ZoneEnum.FlyingTemple_RightHub_GeneratorRoom)
     {
         return Loader.GetZone_FlyingTemple_RightHub_GeneratorRoom();
     }
     if (enZoneToGet == Level.ZoneEnum.FlyingTemple_LeftHub_BulletHellRoom)
     {
         return Loader.GetZone_FlyingTemple_LeftHub_BulletHellRoom();
     }
     if (enZoneToGet == Level.ZoneEnum.FlyingTemple_LeftHub_OutsideBridge)
     {
         return Loader.GetZone_FlyingTemple_LeftBridge();
     }
     if (enZoneToGet == Level.ZoneEnum.FlyingTemple_OutsideEntrance)
     {
         return Loader.GetZone_FlyingTemple_OutsideEntrance();
     }
     if (enZoneToGet == Level.ZoneEnum.FlyingTemple_LeftHub_Lobby)
     {
         return Loader.GetZone_FlyingTemple_LeftHub_Lobby();
     }
     if (enZoneToGet == Level.ZoneEnum.FlyingTemple_LeftHub_PuzzleRoom)
     {
         return Loader.GetZone_FlyingTemple_LeftHub_PuzzleRoom();
     }
     if (enZoneToGet == Level.ZoneEnum.FlyingTemple_LeftHub_TreasureRoom)
     {
         return Loader.GetZone_FlyingTemple_LeftHub_TreasureRoom();
     }
     if (enZoneToGet == Level.ZoneEnum.FlyingTemple_LeftHub_ControlRoom)
     {
         return Loader.GetZone_FlyingTemple_LeftHub_ControlRoom();
     }
     if (enZoneToGet == Level.ZoneEnum.FlyingTemple_LeftHub_CrystalChallenge)
     {
         return Loader.GetZone_FlyingTemple_LeftHub_CrystalChallenge();
     }
     if (enZoneToGet == Level.ZoneEnum.FlyingTemple_RightHub_Lobby)
     {
         return Loader.GetZone_FlyingTemple_RightHub_Lobby();
     }
     if (enZoneToGet == Level.ZoneEnum.FlyingTemple_RightHub_MinibossZone)
     {
         return Loader.GetZone_FlyingTemple_RightHub_MinibossZone();
     }
     if (enZoneToGet == Level.ZoneEnum.FlyingTemple_RightHub_OutsideBridge)
     {
         return Loader.GetZone_FlyingTemple_RightBridge();
     }
     if (enZoneToGet == Level.ZoneEnum.FlyingTemple_BossRoom)
     {
         return Loader.GetZone_FlyingTemple_BossRoom();
     }
     if (enZoneToGet == Level.ZoneEnum.WinterLand_Right)
     {
         return Loader.GetZone_Winterland_Right();
     }
     if (enZoneToGet == Level.ZoneEnum.WinterLand_Top)
     {
         return Loader.GetZone_Winterland_Top();
     }
     if (enZoneToGet == Level.ZoneEnum.WinterLand_Left)
     {
         return Loader.GetZone_Winterland_Left();
     }
     if (enZoneToGet == Level.ZoneEnum.WinterLand_FaeVillage)
     {
         return Loader.GetZone_Winterland_FaeVillage();
     }
     if (enZoneToGet == Level.ZoneEnum.WinterLand_ToyFactory_Entrance)
     {
         return Loader.GetZone_Winterland_ToyFactory_Entrance();
     }
     if (enZoneToGet == Level.ZoneEnum.WinterLand_ToyFactory_BattleRoom)
     {
         return Loader.GetZone_Winterland_ToyFactory_GiftBoxBattleRoom();
     }
     if (enZoneToGet == Level.ZoneEnum.WinterLand_ToyFactory_DangerRoom)
     {
         return Loader.GetZone_Winterland_ToyFactory_DangerRoom();
     }
     if (enZoneToGet == Level.ZoneEnum.WinterLand_ToyFactory_PuzzleRoom)
     {
         return Loader.GetZone_Winterland_ToyFactory_PuzzleRoom();
     }
     if (enZoneToGet == Level.ZoneEnum.WinterLand_ToyFactory_BossRoom)
     {
         return Loader.GetZone_Winterland_ToyFactory_BossRoom();
     }
     if (enZoneToGet == Level.ZoneEnum.SeasonChange_F1_Entrance)
     {
         return Loader.GetZone_SeasonTemple_F1_Entrance();
     }
     if (enZoneToGet == Level.ZoneEnum.SeasonChange_F1_Lobby)
     {
         return Loader.GetZone_SeasonTemple_F1_Lobby();
     }
     if (enZoneToGet == Level.ZoneEnum.SeasonChange_F1_FightRoom)
     {
         return Loader.GetZone_SeasonTemple_F1_Fightroom();
     }
     if (enZoneToGet == Level.ZoneEnum.SeasonChange_F1_Chestroom)
     {
         return Loader.GetZone_SeasonTemple_F1_Chestroom();
     }
     if (enZoneToGet == Level.ZoneEnum.SeasonChange_F1_FaeMiniBoss)
     {
         return Loader.GetZone_SeasonTemple_F1_FaeMiniBoss();
     }
     if (enZoneToGet == Level.ZoneEnum.SeasonChange_F2_Battle)
     {
         return Loader.GetZone_SeasonTemple_F2_BattleRoom();
     }
     if (enZoneToGet == Level.ZoneEnum.SeasonChange_F2_Puzzle01)
     {
         return Loader.GetZone_SeasonTemple_F2_Puzzle01();
     }
     if (enZoneToGet == Level.ZoneEnum.SeasonChange_F2_Puzzle02)
     {
         return Loader.GetZone_SeasonTemple_F2_Puzzle02();
     }
     if (enZoneToGet == Level.ZoneEnum.SeasonChange_F3_RootCorridor)
     {
         return Loader.GetZone_SeasonTemple_F3_RootCorridor();
     }
     if (enZoneToGet == Level.ZoneEnum.SeasonChange_F3_Puzzle01)
     {
         return Loader.GetZone_SeasonTemple_F3_Puzzle01();
     }
     if (enZoneToGet == Level.ZoneEnum.SeasonChange_F3_Puzzle02)
     {
         return Loader.GetZone_SeasonTemple_F3_Puzzle02();
     }
     if (enZoneToGet == Level.ZoneEnum.SeasonChange_F3_Puzzle03)
     {
         return Loader.GetZone_SeasonTemple_F3_Puzzle03();
     }
     if (enZoneToGet == Level.ZoneEnum.SeasonChange_F3_Puzzle04)
     {
         return Loader.GetZone_SeasonTemple_F3_Puzzle04();
     }
     if (enZoneToGet == Level.ZoneEnum.SeasonChange_F3_Battle01)
     {
         return Loader.GetZone_SeasonTemple_F3_Battle01();
     }
     if (enZoneToGet == Level.ZoneEnum.SeasonChange_F3_Battle02)
     {
         return Loader.GetZone_SeasonTemple_F3_Battle02();
     }
     if (enZoneToGet == Level.ZoneEnum.SeasonChange_F3_WaterPuzzle)
     {
         return Loader.GetZone_SeasonTemple_F3_WaterPuzzle();
     }
     if (enZoneToGet == Level.ZoneEnum.SeasonChange_F3_ObstacleChallenge)
     {
         return Loader.GetZone_SeasonTemple_F3_ObstacleChallenge();
     }
     if (enZoneToGet == Level.ZoneEnum.SeasonChange_F3_PortraitCorridor)
     {
         return Loader.GetZone_SeasonTemple_F3_PortraitCorridor();
     }
     if (enZoneToGet == Level.ZoneEnum.MountBloom_BotLeft)
     {
         return Loader.GetZone_MountBloom_BotLeft();
     }
     if (enZoneToGet == Level.ZoneEnum.MountBloom_BotRight)
     {
         return Loader.GetZone_MountBloom_BotRight();
     }
     if (enZoneToGet == Level.ZoneEnum.MountBloom_TopRight)
     {
         return Loader.GetZone_MountBloom_TopRight();
     }
     if (enZoneToGet == Level.ZoneEnum.MountBloom_OutsideRight)
     {
         return Loader.GetZone_MountBloom_OutsideRight();
     }
     if (enZoneToGet == Level.ZoneEnum.RogueLike_Arcadia)
     {
         return Loader.GetZone_RogueLike_Arcadia();
     }
     if (enZoneToGet == Level.ZoneEnum.RogueLike_TestMoset)
     {
         return Loader.GetZone_RogueLike_Test();
     }
     if (enZoneToGet == Level.ZoneEnum.RogueLike_TryoutZone)
     {
         return Loader.GetZone_RogueLike_TestingPlace();
     }
     if (enZoneToGet == Level.ZoneEnum.RogueLike_ZoneNorth)
     {
         Program.game.xGameSessionData.xRogueLikeSession.xCurrentRoom = Program.game.xGameSessionData.xRogueLikeSession.xCurrentRoom.xNorth;
         return Loader.GetZone_RogueLike_Test();
     }
     if (enZoneToGet == Level.ZoneEnum.RogueLike_ZoneEast)
     {
         Program.game.xGameSessionData.xRogueLikeSession.xCurrentRoom = Program.game.xGameSessionData.xRogueLikeSession.xCurrentRoom.xEast;
         return Loader.GetZone_RogueLike_Test();
     }
     if (enZoneToGet == Level.ZoneEnum.RogueLike_ZoneSouth)
     {
         Program.game.xGameSessionData.xRogueLikeSession.xCurrentRoom = Program.game.xGameSessionData.xRogueLikeSession.xCurrentRoom.xSouth;
         return Loader.GetZone_RogueLike_Test();
     }
     if (enZoneToGet == Level.ZoneEnum.RogueLike_ZoneWest)
     {
         Program.game.xGameSessionData.xRogueLikeSession.xCurrentRoom = Program.game.xGameSessionData.xRogueLikeSession.xCurrentRoom.xWest;
         return Loader.GetZone_RogueLike_Test();
     }
     if (enZoneToGet == Level.ZoneEnum.RogueLike_NewFloor)
     {
         Program.game.xGameSessionData.xRogueLikeSession.NextFloor();
         return Loader.GetZone_RogueLike_Test();
     }
     if (enZoneToGet >= Level.ZoneEnum.RogueLike_MidPathPillarToPillar && enZoneToGet <= Level.ZoneEnum.RogueLike_MidPathIceToIce)
     {
         return Loader.GetZone_RogueLike_Transfer();
     }
     throw new Exception("FAK YO TRY LOADING NO LEVEL LOL");
 }