diff options
author | rubidium <rubidium@openttd.org> | 2007-06-18 21:44:47 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-06-18 21:44:47 +0000 |
commit | 2ee73b50b8dae28f53acabcb5b7c0e3f02139db2 (patch) | |
tree | 56cef93f015d710536a1801fe14c3095d290a172 /src/vehicle.h | |
parent | 7a72dcb3b57b70214c4d402be89f9b1dd158d790 (diff) | |
download | openttd-2ee73b50b8dae28f53acabcb5b7c0e3f02139db2.tar.xz |
(svn r10208) -Codechange: replace int32 with Money where appropriate.
Diffstat (limited to 'src/vehicle.h')
-rw-r--r-- | src/vehicle.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/vehicle.h b/src/vehicle.h index f9103c930..549e04e11 100644 --- a/src/vehicle.h +++ b/src/vehicle.h @@ -312,11 +312,11 @@ struct Vehicle { uint16 cargo_paid_for; // How much of the cargo currently on board has been paid for. byte vehicle_flags; // Used for gradual loading and other miscellaneous things (@see VehicleFlags enum) - int32 profit_this_year; - int32 profit_last_year; - int32 cargo_feeder_share; ///< value of feeder pickup to be paid for on delivery of cargo + Money profit_this_year; + Money profit_last_year; + Money cargo_feeder_share; ///< value of feeder pickup to be paid for on delivery of cargo TileIndex cargo_loaded_at_xy; ///< tile index where feeder cargo was loaded - uint32 value; + Money value; GroupID group_id; ///< Index of group Pool array @@ -548,7 +548,7 @@ UnitID GetFreeUnitNumber(VehicleType type); void TrainConsistChanged(Vehicle *v); void TrainPowerChanged(Vehicle *v); -int32 GetTrainRunningCost(const Vehicle *v); +Money GetTrainRunningCost(const Vehicle *v); int CheckTrainStoppedInDepot(const Vehicle *v); |