Age | Commit message (Collapse) | Author |
|
-Codechange: move all Settings into substructs of _settings in a way that they are logically grouped.
|
|
|
|
something more than whitespace as description of files that don't have a description.
|
|
primarily removes the fixed engine type limits and also happens to allow (with the patch option 'dynamic_engines') multiple NewGRF vehicle sets to coexist.
|
|
engine with no owner when a NewGRF requested a specific variable.
|
|
manually toggled vehicles.
|
|
|
|
functions and move the 'normal' case Pack/Unpack to Order.
|
|
|
|
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)
|