Age | Commit message (Collapse) | Author |
|
unneeded inclusions of engine.h and/or replace them with engine_type.h.
|
|
station_func.h.
|
|
chain of vehicles with the same ID' (thx DaleStan)
-Fix (r12452): wrong loading of random action 2 type 84 for non vehicle (though it shouldn't happen, but who knows ;))
|
|
|
|
|
|
|
|
just those that carry cargo.
|
|
train had negative income
-Codechange: use GetDisplayProfitThisYear() to convert vehicle profit to readable form
|
|
unconditionally returning a possibly non-existant sprite.
|
|
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
|
|
now attached to their object directly and there is
no limit to the amount of names.
-Fix: NewGRF engines could not be renamed.
|
|
|
|
some type safety.
|
|
|
|
|
|
overrides, and adjust scope while there.
|
|
was higher than its capacity when resolving sprite groups.
|
|
useless includes.
|
|
|
|
logical place and remove about 50% of the includes of 'functions.h'
|
|
it is really needed.
|
|
remaining to fit with the naming style
|
|
style
|
|
with the coding style
|
|
user-defined bit mask (prop 25) via callback 36
|
|
|
|
|
|
|
|
properly, the NewGRF called other code too that wasn't prepared for non-train vehicles.
|
|
Vehicle::first pointer correctly set.
|
|
state while being marked const.
-Codechange: do not brute force determine the first vehicle in the chain or previous vehicle, but do it by properly accounting the previous and first pointers when updating the next pointer. This gives a performance increase of about 15% when there are a lot of vehicles in the game.
|
|
Vehicle->SetNext() so we can trap instances that change a next pointer and (in the future) update the first/previous pointers based on that.
|
|
favor of "just" using an untyped integer.
|
|
set to 1
|
|
accumulated feeder share (transfers) of individual pieces of cargo. This means that cargo isn't thrown on a big pile when it's put in a station or unloaded at a station, however the GUI does not reflect these changes yet so you will not actually see it.
|
|
issues. Thanks to benc for providing the patch.
|
|
state of an aircraft going to a just deleted airport.
|
|
callbacks 11 and 17 for
road vehicles for those who prefer the technical explanation.
|
|
vehicle var 42
|
|
|
|
translation (bulb)
|
|
changed, instead of 'recalculating' it every time it is used or just tested.
|
|
variable 45 (mart3p).
|
|
|
|
|
|
of various properties which were previously static. Vehicle max speed and train power/te/running costs are adjustable.
|
|
|
|
|
|
coding style (and rest of the code).
|
|
|