Add setting to select cargo payment algorithm

See: #506
This commit is contained in:
Jonathan G Rennison
2023-04-29 13:00:33 +01:00
parent 211c1ba61d
commit e26bea6ce4
7 changed files with 40 additions and 3 deletions

View File

@@ -234,4 +234,11 @@ static const uint LOCK_DEPOT_TILE_FACTOR = 2;
struct CargoPayment;
typedef uint32 CargoPaymentID;
enum CargoPaymentAlgorithm : byte {
CPA_BEGIN = 0, ///< Used for iterations and limit testing
CPA_TRADITIONAL = 0, ///< Traditional algorithm
CPA_MODERN, ///< Modern algorithm
CPA_END, ///< Used for iterations and limit testing
};
#endif /* ECONOMY_TYPE_H */