|
OpenTTD Source 20260208-master-g43af8e94d0
|
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 | |
| Tstorage | old_max = 0 |
| Maximum amount last month. | |
| Tstorage | new_max = 0 |
| Maximum amount this month. | |
| Tstorage | old_act = 0 |
| Actually transported last month. | |
| Tstorage | new_act = 0 |
| Actually transported this month. | |
Store the maximum and actually transported cargo amount for the current and the last month.
Definition at line 126 of file town_type.h.
|
inline |
Update stats for a new month.
Definition at line 133 of file town_type.h.
| Tstorage TransportedCargoStat< Tstorage >::new_act = 0 |
Actually transported this month.
Definition at line 130 of file town_type.h.
Referenced by SlTownOldSupplied::Load().
| Tstorage TransportedCargoStat< Tstorage >::new_max = 0 |
Maximum amount this month.
Definition at line 128 of file town_type.h.
Referenced by SlTownOldSupplied::Load().
| Tstorage TransportedCargoStat< Tstorage >::old_act = 0 |
Actually transported last month.
Definition at line 129 of file town_type.h.
Referenced by SlTownOldSupplied::Load().
| Tstorage TransportedCargoStat< Tstorage >::old_max = 0 |
Maximum amount last month.
Definition at line 127 of file town_type.h.
Referenced by SlTownOldSupplied::Load().