Esempio n. 1
0
        public void VesselLoad(ShipConstruct ship, KSP.UI.Screens.CraftBrowserDialog.LoadType screenType)
        {
//			if (showMainWindow || showPlanetWindow || showTargetWindow) {
            CreateAntennaList();
            DoTheMath();
//			}
        }
Esempio n. 2
0
 protected void onEditorLoad(ShipConstruct ship, KSP.UI.Screens.CraftBrowserDialog.LoadType loadType)
 {
     if (SystemHeatSettings.DebugOverlay)
     {
         Utils.Log("[SystemHeatOverlay]: Editor Load");
     }
     ClearPanels();
 }
Esempio n. 3
0
 public void onEditorVesselLoad(ShipConstruct ship, KSP.UI.Screens.CraftBrowserDialog.LoadType type)
 {
     Utils.Log("[SystemHeatEditor]: Vessel LOAD", LogType.Simulator);
     if (!HighLogic.LoadedSceneIsEditor)
     {
         return;
     }
     InitializeEditorConstruct(ship, true);
 }
Esempio n. 4
0
        public void onEditorVesselLoad(ShipConstruct ship, KSP.UI.Screens.CraftBrowserDialog.LoadType type)
        {
            Utils.Log("Editor: Vessel LOAD, recalculate all parts");
            if (!HighLogic.LoadedSceneIsEditor)
            {
                return;
            }

            RecalculateEditorShip(ship);
        }
 public void onEditorVesselLoad(ShipConstruct ship, KSP.UI.Screens.CraftBrowserDialog.LoadType type)
 {
     if (Settings.DebugMode)
     {
         Utils.Log("[RadioactivitySimulator][Editor]: Vessel LOAD");
     }
     if (!HighLogic.LoadedSceneIsEditor)
     {
         return;
     }
     InitializeEditorConstruct(ship, true);
 }
Esempio n. 6
0
        public void onEditorLoad(ShipConstruct ship, KSP.UI.Screens.CraftBrowserDialog.LoadType loadType)
        {
            if (SystemHeatSettings.DebugSimulation)
            {
                Utils.Log("[SystemHeatEditor]: Editor Load");
            }
            if (!HighLogic.LoadedSceneIsEditor)
            {
                return;
            }

            InitializeEditorConstruct(ship, false);
        }
Esempio n. 7
0
 protected void onEditorLoad(ShipConstruct ship, KSP.UI.Screens.CraftBrowserDialog.LoadType loadType)
 {
     Utils.Log("[SystemHeatOverlay]: Editor Load", LogType.Overlay);
     ClearPanels();
 }
Esempio n. 8
0
 private void OnVesselLoaded(ShipConstruct vessel, KSP.UI.Screens.CraftBrowserDialog.LoadType loadType)
 {
     OnVesselChanged();
     this.vessel = null;
     //this.vessel = VesselCache.SimulatedVessel.Borrow(vessel, VesselCache.SimCurves.Borrow(body));
 }
Esempio n. 9
0
        private void OnEditorLoad(ShipConstruct s, KSP.UI.Screens.CraftBrowserDialog.LoadType t)
        {
            OnEditorShipModified(s);

            Logger.Log("OnEditorLoad called", Logger.Level.Debug);
        }