summaryrefslogtreecommitdiff
path: root/src/vehicle_base.h
AgeCommit message (Collapse)Author
2008-02-23(svn r12230) -Codechange: [autoreplace] made a function to detect if a ↵bjarni
vehicle needs autorenewing This will remove duplicated code and ensure that the check is consistent
2008-02-20(svn r12197) -Fix [FS#1788](r12134): show correct last year profit when the ↵smatz
train had negative income -Codechange: use GetDisplayProfitThisYear() to convert vehicle profit to readable form
2008-02-13(svn r12134) -Change: count the number of ticks a vehicle was running this ↵smatz
day to calculate running cost -Fix [FS#1739]: vehicle profit is now counted with 8bit fract, so it is now shown properly in the vehicle details window
2008-02-02(svn r12040) -Codechange: Change IsOrderListShared from a simple function to ↵belugas
a class member(MagicBuzz).
2008-02-01(svn r12037) -Codechange: replace OnNewDay_(Aircraft|RoadVeh|Ship|Train) ↵glx
with an OnNewDay method in the Vehicle class
2008-01-12(svn r11822) -Codechange: Replaced fixed size custom name array. Names are ↵peter1138
now attached to their object directly and there is no limit to the amount of names. -Fix: NewGRF engines could not be renamed.
2008-01-12(svn r11818) -Codechange: split player.h into smaller pieces.rubidium
2008-01-09(svn r11800) -Codechange: move some functions to a more logical location + ↵rubidium
some type safety.
2008-01-01(svn r11741) -Feature: Add support for NewGRF's train 'tilt' flag. Trains ↵peter1138
with tilt capability (specific details are per NewGRF set) will be given a 20% speed limit bonus on curves.
2008-01-01(svn r11735) -Fix [FS#1574]: Don't reset loading indicator IDs when only ↵peter1138
reloading NewGRFs.
2007-12-27(svn r11706) -Codechange: split vehicle.h and remove another bunch of ↵rubidium
useless includes.