コード例 #1
0
ファイル: Content.cs プロジェクト: HarryFreeMyLand/newso
        /// <summary>
        /// Initiates loading for world.
        /// </summary>
        public void InitWorld()
        {
            LoadProgress = ContentLoadingProgress.InitObjects;
            if (TS1)
            {
                ((TS1ObjectProvider)WorldObjects).Init();
                WorldObjectGlobals.Init();
                LoadProgress = ContentLoadingProgress.InitArch;

                WorldWalls.InitTS1();
                WorldFloors.InitTS1();
            }
            else
            {
                ((WorldObjectProvider)WorldObjects).Init((_device != null));
                ((WorldObjectCatalog)WorldCatalog).Init(this);
                WorldObjectGlobals.Init();
                LoadProgress = ContentLoadingProgress.InitArch;

                WorldWalls.Init();
                WorldFloors.Init();
            }
            WorldRoofs.Init();
            LoadProgress = ContentLoadingProgress.Done;
        }
コード例 #2
0
 /// <summary>
 /// Initiates loading for world.
 /// </summary>
 public void InitWorld()
 {
     WorldObjects.Init();
     WorldObjectGlobals.Init();
     WorldWalls.Init();
     WorldFloors.Init();
 }
コード例 #3
0
ファイル: Content.cs プロジェクト: yuripourre-forks/FreeSO
        /// <summary>
        /// Initiates loading for world.
        /// </summary>
        public void InitWorld()
        {
            LoadProgress = ContentLoadingProgress.InitObjects;
            if (TS1)
            {
                WorldObjectGlobals.Init();
                ((TS1ObjectProvider)WorldObjects).Init();
                LoadProgress = ContentLoadingProgress.InitArch;

                WorldWalls.InitTS1();
                WorldFloors.InitTS1();
            }
            else
            {
                WorldObjectGlobals.Init();
                ((WorldObjectProvider)WorldObjects).Init((Device != null));
                ((WorldObjectCatalog)WorldCatalog).Init(this);
                LoadProgress = ContentLoadingProgress.InitArch;

                WorldWalls.Init();
                WorldFloors.Init();
                Upgrades.Init();
                if (Mode == ContentMode.SERVER)
                {
                    Upgrades.LoadJSONTuning();
                }
            }
            WorldRoofs.Init();
            LoadProgress = ContentLoadingProgress.Done;
        }
コード例 #4
0
 /// <summary>
 /// Initiates loading for world.
 /// </summary>
 public void InitWorld()
 {
     WorldObjects.Init((Device != null));
     WorldObjectGlobals.Init();
     WorldWalls.Init();
     WorldFloors.Init();
 }
コード例 #5
0
 /// <summary>
 /// Initiates loading for world.
 /// </summary>
 public void InitWorld()
 {
     WorldObjects.Init((Device != null));
     WorldObjectGlobals.Init();
     WorldWalls.Init();
     WorldFloors.Init();
     WorldCatalog.Init(this);
     WorldRoofs.Init();
 }
コード例 #6
0
ファイル: Content.cs プロジェクト: fourks/FreeSO
        /// <summary>
        /// Initiates loading for world.
        /// </summary>
        public void InitWorld()
        {
            if (TS1)
            {
                ((TS1ObjectProvider)WorldObjects).Init();
            }
            else
            {
                ((WorldObjectProvider)WorldObjects).Init((Device != null));
                ((WorldObjectCatalog)WorldCatalog).Init(this);
            }

            WorldObjectGlobals.Init();
            WorldWalls.Init();
            WorldFloors.Init();
            WorldRoofs.Init();
        }