void Awake() { this.Log("Awake"); button = new ButtonWrapper(new Rect(Screen.width * 0.275f, 0, 32, 32), "ThunderAerospace/TacLifeSupport/Textures/greenIcon", "LS", "TAC Life Support Build Aid", OnIconClicked, "EditorIcon"); window = new BuildAidWindow(TacLifeSupport.Instance.globalSettings); }
void Awake() { this.Log("Awake"); globalSettings = TacLifeSupport.Instance.globalSettings; gameSettings = TacLifeSupport.Instance.gameSettings; rosterWindow = new RosterWindow(globalSettings, gameSettings); monitoringWindow = new LifeSupportMonitoringWindow(this, globalSettings, gameSettings, rosterWindow); button = new ButtonWrapper(new Rect(Screen.width * 0.75f, 0, 32, 32), "ThunderAerospace/TacLifeSupport/Textures/greenIcon", "LS", "TAC Life Support Monitoring Window", OnIconClicked, "FlightIcon"); configFilename = IOUtils.GetFilePathFor(this.GetType(), "LifeSupport.cfg"); //Check if DeepFreeze is installed and set bool. var DeepFreezeassembly = (from a in AppDomain.CurrentDomain.GetAssemblies() where a.FullName.StartsWith("DeepFreeze") select a).FirstOrDefault(); if (DeepFreezeassembly != null) { IsDFInstalled = true; } else { IsDFInstalled = false; } }
public SpaceCenterManager() { this.Log("Constructor"); globalSettings = TacLifeSupport.Instance.globalSettings; gameSettings = TacLifeSupport.Instance.gameSettings; button = new ButtonWrapper(new Rect(Screen.width * 0.75f, 0, 32, 32), "ThunderAerospace/TacLifeSupport/Textures/greenIcon", "LS", "TAC Life Support Configuration Window", OnIconClicked, "SpaceCenterIcon"); configWindow = new SavedGameConfigWindow(globalSettings, gameSettings); }
void Awake() { this.Log("Awake"); globalSettings = BioMass.Instance.globalSettings; saveGame = BioMass.Instance.saveGame; monitoringWindow = new BioVesselMonitoringWindow(this, globalSettings, saveGame); button = new ButtonWrapper(new Rect(Screen.width * 0.75f, 0, 32, 32), Settings.PathTextures + "/HerbIcon", "BM", "BioMass Monitoring", OnIconClicked, "HerbIcon"); }
public SpaceCenterController() { this.Log_DebugOnly("Constructor SCC"); globalSettings = BioMass.Instance.globalSettings; saveGame = BioMass.Instance.saveGame; button = new ButtonWrapper(new Rect(Screen.width * 0.75f, 0, 32, 32), Settings.PathTextures+"/HerbIcon", "BM", "BioMass Configuration Window", OnIconClicked, "HerbIcon"); configWindow = new SavedGameConfigWindow(globalSettings, saveGame); this.Log(Settings.PathTextures + "/HerbIcon"); }
public SpaceCenterController() { this.Log("Constructor SCC"); globalSettings = BioMass.Instance.globalSettings; //saveGame = BioMass.Instance.saveGame; /*button = new ButtonWrapper(new Rect(Screen.width * 0.75f, 0, 32, 32), Settings.PathTextures+"/herbIcon", "BM", "BioMass Configuration Window", OnIconClicked, "HerbIcon");*/ //button = new ButtonWrapper(new Rect(Screen.width * 0.75f, 0, 32, 32), "BioMass/Textures/HerbIcon","BM", "BioMass Configuration Window", OnIconClicked, "HerbIcon"); button = new ButtonWrapper(new Rect(Screen.width * 0.75f, 0, 36, 36), "BioMass/Textures/bioIcon","BM", "BioMass Configuration Window", OnIconClicked, "bioIcon"); configWindow = new SavedGameConfigWindow(globalSettings); this.Log(Settings.PathTextures + "/bioIcon"); }
void Awake() { this.Log("Awake"); globalSettings = TacLifeSupport.Instance.globalSettings; gameSettings = TacLifeSupport.Instance.gameSettings; rosterWindow = new RosterWindow(globalSettings, gameSettings); monitoringWindow = new LifeSupportMonitoringWindow(this, globalSettings, gameSettings, rosterWindow); button = new ButtonWrapper(new Rect(Screen.width * 0.75f, 0, 32, 32), "ThunderAerospace/TacLifeSupport/Textures/greenIcon", "LS", "TAC Life Support Monitoring Window", OnIconClicked, "FlightIcon"); configFilename = IOUtils.GetFilePathFor(this.GetType(), "LifeSupport.cfg"); }
void Awake() { this.Log("Awake"); configFilename = IOUtils.GetFilePathFor(this.GetType(), "FuelBalancer.cfg"); settings = new Settings(); settingsWindow = new SettingsWindow(settings); helpWindow = new HelpWindow(); mainWindow = new MainWindow(this, settings, settingsWindow, helpWindow); button = new ButtonWrapper(new Rect(Screen.width * 0.7f, 0, 32, 32), "TacFuelBalancer/Textures/button", "FB", "TAC Fuel Balancer", OnIconClicked); resources = new Dictionary <string, ResourceInfo>(); numberOfParts = 0; vesselSituation = Vessel.Situations.PRELAUNCH; }
void Awake() { this.Log("Awake"); configFilename = IOUtils.GetFilePathFor(this.GetType(), "FuelBalancer.cfg"); settings = new Settings(); settingsWindow = new SettingsWindow(settings); helpWindow = new HelpWindow(); mainWindow = new MainWindow(this, settings, settingsWindow, helpWindow); button = new ButtonWrapper(new Rect(Screen.width * 0.7f, 0, 32, 32), "ThunderAerospace/TacFuelBalancer/Textures/button", "FB", "TAC Fuel Balancer", OnIconClicked); resources = new Dictionary<string, ResourceInfo>(); numberOfParts = 0; vesselSituation = Vessel.Situations.PRELAUNCH; }