From 2a1d4ce621935471f67af8fd80e81103dc02c50c Mon Sep 17 00:00:00 2001 From: Espen Killi Date: Sat, 1 Dec 2018 18:33:56 +0100 Subject: [PATCH] sounds, traffic, syntax correction --- gui/base/GuiDataSource.lua | 2 +- listOfDefaultSpecializations.md | 106 ++++++++++++++++++++++++++++++++ sounds/AmbientSoundManager.lua | 0 sounds/AmbientSoundUtil.lua | 0 traffic/TrafficSystem.lua | 21 +++++++ 5 files changed, 128 insertions(+), 1 deletion(-) create mode 100644 listOfDefaultSpecializations.md create mode 100644 sounds/AmbientSoundManager.lua create mode 100644 sounds/AmbientSoundUtil.lua create mode 100644 traffic/TrafficSystem.lua diff --git a/gui/base/GuiDataSource.lua b/gui/base/GuiDataSource.lua index 0bd605d..520fe19 100644 --- a/gui/base/GuiDataSource.lua +++ b/gui/base/GuiDataSource.lua @@ -1,7 +1,7 @@ GuiDataSource = {} GuiDataSource.EMPTY_SOURCE = { - data = {} + data = {}, changeListeners = {} } diff --git a/listOfDefaultSpecializations.md b/listOfDefaultSpecializations.md new file mode 100644 index 0000000..ab3fcc0 --- /dev/null +++ b/listOfDefaultSpecializations.md @@ -0,0 +1,106 @@ +# data/specializations.xml + +| name | className | +| ---- | --------- | +| aiVehicle | AIVehicle +| aiImplement | AIImplement +| aiConveyorBelt | AIConveyorBelt +| animatedVehicle | AnimatedVehicle +| articulatedAxis | ArticulatedAxis +| attachable | Attachable +| attacherJointControl | AttacherJointControl +| attacherJoints | AttacherJoints +| baleGrab | BaleGrab +| baleLoader | BaleLoader +| baler | Baler +| baleWrapper | BaleWrapper +| baseMaterial | BaseMaterial +| bunkerSiloCompacter | BunkerSiloCompacter +| bunkerSiloInteractor | BunkerSiloInteractor +| buyableBale | BuyableBale +| cctdrivable | CCTDrivable +| combine | Combine +| connectionHoses | ConnectionHoses +| conveyorBelt | ConveyorBelt +| cover | Cover +| crabSteering | CrabSteering +| crawlers | Crawlers +| cultivator | Cultivator +| cutter | Cutter +| cylindered | Cylindered +| cylinderedFoldable | CylinderedFoldable +| dashboard | Dashboard +| dischargeable | Dischargeable +| drivable | Drivable +| dynamicallyLoadedParts | DynamicallyLoadedParts +| dynamicMountAttacher | DynamicMountAttacher +| enterable | Enterable +| fertilizingCultivator | FertilizingCultivator +| fertilizingSowingMachine | FertilizingSowingMachine +| fillTriggerVehicle | FillTriggerVehicle +| fillUnit | FillUnit +| fillVolume | FillVolume +| foldable | Foldable +| foliageBending | FoliageBending +| frontloaderAttacher | FrontloaderAttacher +| fruitPreparer | FruitPreparer +| groundAdjustedNodes | GroundAdjustedNodes +| groundReference | GroundReference +| honk | Honk +| hookLiftTrailer | HookLiftTrailer +| hookLiftContainer | HookLiftContainer +| hookLiftContainer | HookLiftContainer +| ikChains | IKChains +| jigglingParts | JigglingParts +| leveler | Leveler +| lights | Lights +| livestockTrailer | LivestockTrailer +| locomotive | Locomotive +| logGrab | LogGrab +| manureBarrel | ManureBarrel +| mixerWagon | MixerWagon +| motorized | Motorized +| mountable | Mountable +| mower | Mower +| pickup | Pickup +| pipe | Pipe +| plow | Plow +| powerConsumer | PowerConsumer +| powerTakeOffs | PowerTakeOffs +| randomlyMovingParts | RandomlyMovingParts +| receivingHopper | ReceivingHopper +| reverseDriving | ReverseDriving +| rideable | Rideable +| ridgeMarker | RidgeMarker +| roller | Roller +| ropes | Ropes +| semiTrailerFront | SemiTrailerFront +| shovel | Shovel +| slopeCompensation | SlopeCompensation +| sowingMachine | SowingMachine +| speedRotatingParts | SpeedRotatingParts +| splineVehicle | SplineVehicle +| sprayer | Sprayer +| strawBlower | StrawBlower +| stumpCutter | StumpCutter +| suspensions | Suspensions +| tedder | Tedder +| tensionBelts | TensionBelts +| tensionBeltObject | TensionBeltObject +| tipOccluder | TipOccluder +| trailer | Trailer +| treePlanter | TreePlanter +| treeSaw | TreeSaw +| turnOnVehicle | TurnOnVehicle +| washable | Washable +| waterTrailer | WaterTrailer +| wearable | Wearable +| weeder | Weeder +| wheels | Wheels +| windrower | Windrower +| wipers | Wipers +| woodCrusher | WoodCrusher +| woodHarverster | WoodHarvester +| workArea | WorkArea +| workMode | WorkMode +| workParticles | WorkParticles \ No newline at end of file diff --git a/sounds/AmbientSoundManager.lua b/sounds/AmbientSoundManager.lua new file mode 100644 index 0000000..e69de29 diff --git a/sounds/AmbientSoundUtil.lua b/sounds/AmbientSoundUtil.lua new file mode 100644 index 0000000..e69de29 diff --git a/traffic/TrafficSystem.lua b/traffic/TrafficSystem.lua new file mode 100644 index 0000000..1e3311c --- /dev/null +++ b/traffic/TrafficSystem.lua @@ -0,0 +1,21 @@ +TrafficSystem = {} + +TrafficSystem.classId = 78.000000 +TrafficSystem.className = 'TrafficSystem' + +function TrafficSystem:onCreate() end +function TrafficSystem:new() end +function TrafficSystem:isa() end +function TrafficSystem:setEnabled() end +function TrafficSystem:delete() end +function TrafficSystem:superClass() end +function TrafficSystem:onIndoorStateChanged() end +function TrafficSystem:updateTick() end +function TrafficSystem:update() end +function TrafficSystem:reset() end +function TrafficSystem:copy() end +function TrafficSystem:class() end +function TrafficSystem:writeUpdateStream() end +function TrafficSystem:readUpdateStream() end +function TrafficSystem:setNightTimeRange() end +function TrafficSystem:load() end \ No newline at end of file