Codechange: cleanup CargoPacket in terms of variable/function names (#11278)
Over the years, things got reused and changed, making the current
names somewhat unclear in what they actually mean and do.
(cherry picked from commit 30172fc037)
This commit is contained in:
committed by
Jonathan G Rennison
parent
2890127675
commit
e5673a1756
@@ -33,8 +33,8 @@
|
||||
* @param weight Weight of a single unit of this cargo type in 1/16 ton (62.5 kg).
|
||||
* @param mult Capacity multiplier for vehicles. (8 fractional bits).
|
||||
* @param ip CargoSpec->initial_payment.
|
||||
* @param td1 CargoSpec->transit_days[0].
|
||||
* @param td2 CargoSpec->transit_days[1].
|
||||
* @param td1 CargoSpec->transit_periods[0].
|
||||
* @param td2 CargoSpec->transit_periods[1].
|
||||
* @param freight Cargo type is considered to be freight (affects train freight multiplier).
|
||||
* @param te The effect that delivering this cargo type has on towns. Also affects destination of subsidies.
|
||||
* @param str_plural The name suffix used to populate CargoSpec->name, CargoSpec->quantifier,
|
||||
|
||||
Reference in New Issue
Block a user