示例#1
0
        void ModuleProgramInit()
        {
            wicoTravelMovement = new TravelMovement(this, _wicoControl);

            wicoThrusters    = new WicoThrusters(this);
            wicoGyros        = new WicoGyros(this, wicoBlockMaster);
            wicoGasTanks     = new GasTanks(this, wicoBlockMaster);
            wicoGasGens      = new GasGens(this);
            wicoConnectors   = new Connectors(this);
            wicoLandingGears = new LandingGears(this);
            wicoCameras      = new Cameras(this);
            wicoParachutes   = new Parachutes(this);
            wicoNavRotors    = new NavRotors(this);
            wicoAntennas     = new Antennas(this);
            wicoSensors      = new Sensors(this, wicoBlockMaster);
            wicoWheels       = new Wheels(this);

            wicoNavigation = new Navigation(this, _wicoControl, wicoBlockMaster, wicoIGC, wicoTravelMovement, wicoGyros, wicoWheels, wicoNavRotors);

            _wicoControl.WantSlow(); // get updates so we can check for things like navigation commands in oldschool format

            /// DEBUG
//            wicoIGC.SetDebug(true);
//            _wicoControl.SetDebug(true);
        }
示例#2
0
        void ModuleProgramInit()
        {
            wicoTravelMovement = new TravelMovement(this, _wicoControl);

            wicoThrusters    = new WicoThrusters(this);
            wicoGyros        = new WicoGyros(this, wicoBlockMaster);
            wicoGasTanks     = new GasTanks(this, wicoBlockMaster);
            wicoGasGens      = new GasGens(this);
            wicoConnectors   = new Connectors(this);
            wicoLandingGears = new LandingGears(this);
            wicoCameras      = new Cameras(this);
            wicoParachutes   = new Parachutes(this);
            wicoNavRotors    = new NavRotors(this);
            wicoAntennas     = new Antennas(this);
            wicoSensors      = new Sensors(this, wicoBlockMaster);
            wicoWheels       = new Wheels(this);

            wicoEngines = new HydrogenEngines(this);
            wicoPower   = new PowerProduction(this, wicoBlockMaster);
            wicoTimers  = new Timers(this, wicoBlockMaster);
            //            navRemote = new NavRemote(this);
            //            navCommon = new NavCommon(this);
            _wicoDisplays = new Displays(this, wicoBlockMaster, wicoElapsedTime);
            _cargoCheck   = new CargoCheck(this, wicoBlockMaster, _wicoDisplays);

            wicoBases = new WicoBases(this, wicoIGC, _wicoDisplays);

            wicoNavigation = new Navigation(this, _wicoControl, wicoBlockMaster, wicoIGC, wicoTravelMovement, wicoElapsedTime,
                                            wicoGyros, wicoWheels, wicoNavRotors, wicoThrusters, _wicoDisplays);

            spaceDock = new SpaceDock(this, _wicoControl, wicoBlockMaster, wicoThrusters, wicoConnectors
                                      , wicoAntennas, wicoGasTanks, wicoGyros, wicoPower, wicoTimers
                                      , wicoIGC, wicoBases, wicoNavigation, _cargoCheck, _wicoDisplays);

            _wicoControl.WantSlow(); // get updates so we can check for things like navigation commands in oldschool format

            /// DEBUG
            //            wicoIGC.SetDebug(true);
            //            _wicoControl.SetDebug(true);
            //            wicoElapsedTime.SetDebug(true);
        }
示例#3
0
        void ModuleProgramInit()
        {
            wicoTravelMovement = new TravelMovement(this);
            //OurName = "";
            //moduleName += "\nOrbital V4";
            //sVersion = "4";

            wicoThrusters    = new WicoThrusters(this);
            wicoGyros        = new WicoGyros(this, null);
            wicoGasTanks     = new GasTanks(this);
            wicoGasGens      = new GasGens(this);
            wicoConnectors   = new Connectors(this);
            wicoLandingGears = new LandingGears(this);
            wicoCameras      = new Cameras(this);
            wicoParachutes   = new Parachutes(this);
            wicoNavRotors    = new NavRotors(this);
            wicoAntennas     = new Antennas(this);
            wicoSensors      = new Sensors(this, wicoBlockMaster.GetMainController());
            wicoWheels       = new Wheels(this);

//            wicoOrbitalLaunch = new OrbitalModes(this);
            wicoNavigation = new Navigation(this, wicoBlockMaster.GetMainController());
        }