Age | Commit message (Collapse) | Author |
|
|
|
|
|
templated command traits.
This is using a non-intrusive type-traits like templated system, which
allows compile-time validation that the command table and the command
enum match up.
|
|
we had
While at it, replace OTTD_ASSERT with WITH_ASSERT, as this
is always set if assert() is valid. No matter if NDEBUG is set
or not.
|
|
|
|
|
|
|
|
This removes the need for C-style array management and allows use of iterators to perform wagon override lookups.
|
|
|
|
|
|
|
|
(#8532)
Otherwise if the airport button is disabled, it will remain disabled
until you close/open the toolbar again.
|
|
|
|
introduction date.
|
|
comment for new code.
|
|
|
|
|
|
|
|
|
|
* Feature: GS method to allow company to use an engine before its introduction date
* Feature: GS method to retire an engine early for a specific company
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
std::vector::[push|emplace]_back()
|
|
|
|
|
|
vehicles with the same base introduction date (#7147)
|
|
|
|
|
|
|
|
|
|
is safe to run every day before the last railtype has been introduced, is also safe to run after the last railtype has been introduced.
|
|
offered.
|
|
list when they were in exclusive preview.
|
|
(based on patch by Juanjo).
|
|
the return is not NULL)
|
|
"unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
|
|
be no vehicles available at all.
|
|
strings.
|
|
available, and tell what to do in that case
|
|
Eagle_rainbow)
|
|
use the particular vehicle-type/cargo-type combination.
|
|
introduced to everyone.
|
|
|
|
the company ranking.
|
|
vehicle types (Eagle_rainbow)
|