Store the maximum and actually transported cargo amount for the current and the last month. More...
#include <town_type.h>
Public Member Functions | |
void | NewMonth () |
Update stats for a new month. | |
Data Fields | |
uint32 | old_max |
Maximum amount last month. | |
uint32 | new_max |
Maximum amount this month. | |
uint32 | old_act |
Actually transported last month. | |
uint32 | new_act |
Actually transported this month. |
Store the maximum and actually transported cargo amount for the current and the last month.
Definition at line 111 of file town_type.h.
void TransportedCargoStat::NewMonth | ( | ) | [inline] |
Update stats for a new month.
Definition at line 120 of file town_type.h.
References new_act, new_max, old_act, and old_max.
Referenced by UpdateLinkWeights().