예제 #1
0
 public static string SavePointName(SavePoint.SavePointID en)
 {
     string s = "";
     if (en == SavePoint.SavePointID.FirstHouse)
     {
         s = "Startington";
     }
     else if (en == SavePoint.SavePointID.EvergrindCity)
     {
         s = "Evergrind City";
     }
     else if (en == SavePoint.SavePointID.EvergrindArena)
     {
         s = "Evergrind Arena";
     }
     else if (en == SavePoint.SavePointID.CandyWitchHouse)
     {
         s = "Pumpkin Woods";
     }
     else if (en == SavePoint.SavePointID.FlyingTemple)
     {
         s = "Flying Temple";
     }
     else if (en == SavePoint.SavePointID.Winterland)
     {
         s = "Seasonne";
     }
     else if (en == SavePoint.SavePointID.SantaFae)
     {
         s = "Santa Fae";
     }
     return s;
 }
예제 #2
0
 public static Level.ZoningField GetSpawnPointAsZoningField(SavePoint.SavePointID en)
 {
     Level.ZoningField ret = new Level.ZoningField(Rectangle.Empty, Rectangle.Empty, Level.ZoneEnum.CollectorsHQ_MainHall, 0);
     if (en == SavePoint.SavePointID.FirstHouse)
     {
         ret.enZoneToLoad = Level.ZoneEnum.FirstVillage_Outside;
     }
     else if (en == SavePoint.SavePointID.EvergrindCity)
     {
         ret.enZoneToLoad = Level.ZoneEnum.EvergrindCity_Main;
         ret.iTargetSpawnPoint = 3;
     }
     else if (en == SavePoint.SavePointID.EvergrindArena)
     {
         ret.enZoneToLoad = Level.ZoneEnum.EvergrindArenaWaitingRoom;
     }
     else if (en == SavePoint.SavePointID.CandyWitchHouse)
     {
         ret.enZoneToLoad = Level.ZoneEnum.HalloweenForestWest;
         ret.iTargetSpawnPoint = 2;
     }
     else if (en == SavePoint.SavePointID.FlyingTemple)
     {
         ret.enZoneToLoad = Level.ZoneEnum.FlyingTemple_OutsideEntrance;
         ret.iTargetSpawnPoint = 0;
     }
     else if (en == SavePoint.SavePointID.Winterland)
     {
         ret.enZoneToLoad = Level.ZoneEnum.WinterLand_Right;
         ret.iTargetSpawnPoint = 0;
     }
     else if (en == SavePoint.SavePointID.SantaFae)
     {
         ret.enZoneToLoad = Level.ZoneEnum.WinterLand_FaeVillage;
         ret.iTargetSpawnPoint = 2;
     }
     return ret;
 }
예제 #3
0
		public SaveFileWorldInfo(string p_sWorldName, SavePoint.SavePointID p_enSavePointID, int p_iPercentageCleared)
		{
			this.sWorldName = p_sWorldName;
			this.enSavePointID = p_enSavePointID;
			this.iPercentageCleared = p_iPercentageCleared;
		}