Linkgraph: Allow overriding distribution mode on a per-cargo basis, in game

This commit is contained in:
Jonathan G Rennison
2019-04-30 23:11:11 +01:00
parent e7a916d2ce
commit 1ee33c46ef
7 changed files with 219 additions and 1 deletions

View File

@@ -28,6 +28,8 @@ enum DistributionType : byte {
DT_ASYMMETRIC_EQ = 20, ///< Asymmetric distribution (equal). Usually cargo will only travel in one direction. Attempt to distribute the same amount of cargo to each sink.
DT_ASYMMETRIC_NEAR = 21, ///< Asymmetric distribution (nearest). Usually cargo will only travel in one direction. Attempt to distribute cargo to the nearest sink.
DT_PER_CARGO_DEFAULT = 128, ///< Per cargo: Use default value
};
/**