Exemplo n.º 1
0
        /// <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;
        }
Exemplo n.º 2
0
 /// <summary>
 /// Initiates loading for world.
 /// </summary>
 public void InitWorld()
 {
     WorldObjects.Init();
     WorldObjectGlobals.Init();
     WorldWalls.Init();
     WorldFloors.Init();
 }
Exemplo n.º 3
0
        /// <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;
        }
Exemplo n.º 4
0
 /// <summary>
 /// Initiates loading for world.
 /// </summary>
 public void InitWorld()
 {
     WorldObjects.Init((Device != null));
     WorldObjectGlobals.Init();
     WorldWalls.Init();
     WorldFloors.Init();
 }
Exemplo n.º 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();
 }
Exemplo n.º 6
0
        /// <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();
        }