Age | Commit message (Collapse) | Author |
|
AIController::GetSetting() static functions.
-Fix (r15460): ai_controller.hpp.sq was forgotten.
|
|
for static functions and limit exposure of the internal function GetClassName.
|
|
where the result should be stored.
|
|
value so AIs can't work around it.
|
|
as a return parameter of GetCustomStationSpecByGrf(), as the index is already known. Saves on an extra loop and an extern...
|
|
except where it's used for backward compatability.
|
|
they're not allowed to sleep.
|
|
single opcode method of doing lots of the same thing. This should resolve most of the hiccups caused by AIs.
|
|
|
|
|
|
AIEventDisasterZeppelinerCrashed and AIEventDisasterZeppelinerCleared as aliens accepted NoAIs as competing life-form.
|
|
|
|
non-NULL again.
|
|
in which town the noise level will increase.
|
|
AIVehicleList_SharedOrders.
|
|
layout per town.
|
|
std::map
|
|
|
|
instead of mph. (Documentation by Rubidium)
|
|
Engine::GetDisplayMaxSpeed(), GetPower() and GetDisplayWeight(). (and using them)
|
|
|
|
st->town
|
|
false.
|
|
|
|
duplication.
|
|
duplication. Also stops AIs decrementing vehicle counter of first company
|
|
of the first part of articulated road vehicles.
|
|
aqueducts being connected with all surrounding tiles. Also add some type safety.
|
|
not neccessarily the first industry tile.
|
|
'features'.
|
|
|
|
a tile at the north edge (bug found by SmatZ).
|
|
therefore it does not belong in _gui.
|
|
the station sign isn't over st->airport_tile.
|
|
should not be free'd, which is should .. so make them 'char *'
|
|
|
|
|
|
INVALID_TOWN_RATING -> TOWN_RATING_INVALID
INVALID_TRANSPORT -> TRANSPORT_INVALID
INVALID_ORDER -> ORDER_INVALID
INVALID_GROUP -> GROUP_INVALID
GROUP_ALL/DEFAULT -> ALL/DEFAULT_GROUP
VEHICLE_RAIL/ROAD/.. -> VT_RAIL/ROAD/..
MY_COMPANY -> COMPANY_SELF
FIRST/LAST/INVALID_COMPANY -> COMPANY_FIRST/LAST/INVALID
|
|
|
|
|
|
(bug found by Zuu, patch by Yexo)
|
|
no longer possible to use DoCommand (even indirect) in AIAbstractList::Valuator().
|
|
|
|
-Change: when computing daily running cost, divide by 365 (instead of 364). Since r12134, the rounding errors don't need this correction anymore
|
|
necessarily do what you want. Instead of creating one, we now pass a pointer around as that avoids additional allocations.
|
|
SmallVector instead of using std::set. SmallVector does everything needed anyway.
|
|
|
|
|
|
PlantTree
|
|
|