Beispiel #1
0
        public override void OnActivateGui()
        {
            _Style = LazyLoader.LoadVehicle.Get();
            BlueprintFolder combinedBlueprintFolder = GameFolders.GetCombinedBlueprintFolder();

            sectionsNorthSouth = WorldSpecification.i.BoardLayout.NorthSouthBoardSectionCount - 1;
            sectionsEastWest   = WorldSpecification.i.BoardLayout.EastWestBoardSectionCount - 1;
            _treeSelector      = FtdGuiUtils.GetFileBrowserFor(combinedBlueprintFolder);
            _treeSelector.Refresh();
            _focus.ResetCam();
            GameEvents.UpdateEvent += _focus.UpdateBoardSectionPreview;
        }
        public override void OnActivateGui()
        {
            //_Style = LazyLoader.LoadVehicle.Get();
            BlueprintFolder val = GameFolders.GetCombinedBlueprintFolder(false);

            sectionsNorthSouth = WorldSpecification.i.BoardLayout.NorthSouthBoardSectionCount - 1;
            sectionsEastWest   = WorldSpecification.i.BoardLayout.EastWestBoardSectionCount - 1;
            if (t.eastWestBoard > sectionsEastWest)
            {
                t.eastWestBoard = t.eastWestBoardD;
            }
            if (t.northSouthBoard > sectionsNorthSouth)
            {
                t.northSouthBoard = t.northSouthBoardD;
            }
            _treeSelector = FtdGuiUtils.GetFileBrowserFor(val);
            _treeSelector.Refresh();
            t.ResetCam();
            GameEvents.UpdateEvent += t.UpdateBoardSectionPreview;
        }