Age | Commit message (Collapse) | Author |
|
(without changing the map array) and make the CompanyIDs contiguous.
-Note: 15 should be enough for now... making it any more means adding more bytes to the map array and thus wasting more bits instead of reducing the bit waste.
|
|
constants and use the proper type for a few variables.
|
|
refitted to at least two cargo type or when it has subcargos.
NOTE: it is still possible that a vehicle is marked refittable when there is nothing to refit to, e.g. when only one subcargo is available but that cannot be determined without a vehicle chain.
|
|
wagons.
Setting property 4 to 0xFF will protect the vehicle (engine or wagon) from expireing. (Necessary since early introduction dates)
Savegames will only be affected after 'resetengines'.
|
|
|
|
client so it is immediatelly clear which one you are working with.
|
|
vehicles, engines, towns, groups, stations, waypoints, managers and companies)
|
|
to their own file.
|
|
were available as the engine availability check was performed too early.
|
|
the command. Checking for the length in pixels is impossible because that differs per client.
|
|
PlayerByte value in r12143, and still isn't a PlayerByte value.
|
|
named typedefs and replace a few magic numbers.
|
|
|
|
wagon"
|
|
|
|
settings stored in the savegame so there is no need to have a duplicate copy of it for new games.
|
|
(and its headers) to engine_gui.cpp
|
|
|
|
-Codechange: move all Settings into substructs of _settings in a way that they are logically grouped.
|
|
with EngList_Sort()
|
|
AddNewsMessage as there is (for each news message type) a tuple of 4 parameters that is the same for all calls.
|
|
|
|
in-game that often
|
|
engine.cpp, make it run only 1 loop
|
|
|
|
Patch by Cirdan.
|
|
wrapper for CBlobT
|
|
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.
|
|
objects can be build, but check it directly in the pool so we do not have to call destructors in the testing phase. Stations still use the autoptr though.
|
|
compiler's decisions about inlining
|
|
unneeded inclusions of engine.h and/or replace them with engine_type.h.
|
|
|
|
engine preview offer
|
|
uninitialised variable
|
|
ID. Rename this to preview_player_rank and change back to a uint8 to avoid confusion.
|
|
|
|
|
|
of for-loops
|
|
|
|
ALL_GROUP
|
|
|
|
|
|
unneeded include from openttd.h.
|
|
now attached to their object directly and there is
no limit to the amount of names.
-Fix: NewGRF engines could not be renamed.
|
|
|
|
|
|
|
|
|
|
its index
|