Age | Commit message (Collapse) | Author |
|
list position (mostly function renaming)
|
|
with all other structs/classes that are in a pool.
|
|
zero sprites.
|
|
purchase list.
|
|
7/9/D and VarAction2 (23/24 or A3/A4)
Add access to (long format) building year, in Variational Action2 Variable 49 for Vehicles
|
|
without asserts
|
|
settings stored in the savegame so there is no need to have a duplicate copy of it for new games.
|
|
-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
|