OpenTTD Source
12.0-beta2
|
Go to the documentation of this file.
10 #ifndef ECONOMY_BASE_H
11 #define ECONOMY_BASE_H
Money visual_profit
The visual profit to show.
Vehicle * front
The front vehicle to do the payment of.
StationID current_station
The current station.
Money visual_transfer
The transfer credits to be shown.
CargoPayment()
Constructor for pool saveload.
CargoPaymentPool _cargo_payment_pool
The actual pool to store cargo payments in.
CargoID ct
The currently handled cargo type.
Helper class to perform the cargo payment.
void PayFinalDelivery(const CargoPacket *cp, uint count)
Handle payment for final delivery of the given cargo packet.
Pool< CargoPayment, CargoPaymentID, 512, 0xFF000 > CargoPaymentPool
Type of pool to store cargo payments in; little over 1 million.
Base class for all pools.
Money PayTransfer(const CargoPacket *cp, uint count)
Handle payment for transfer of the given cargo packet.
Money route_profit
The amount of money to add/remove from the bank account.
Container for cargo from the same location and time.
byte CargoID
Cargo slots to indicate a cargo type within a game.
void SetCargo(CargoID ct)
Sets the currently handled cargo type.
Base class for all PoolItems.
Company * owner
The owner of the vehicle.