Age | Commit message (Collapse) | Author |
|
to deal with sizeof() wrt. typedef-ed arrays.
|
|
instances to more meaningful names.
|
|
and change its behaviour accordingly
|
|
Town::GetRandom() and Industry::GetRandom()
|
|
and change its behaviour accordingly
-Codechange: remove dummy GetAcceptedCargo_*() handlers
|
|
instead of searching them everytime payment is made
|
|
|
|
code style.
|
|
reached like break after returns or break after functions that never return (i.e. NOT_REACHED)
|
|
vehicles/stations/industries are deleted.
|
|
|
|
|
|
time, binary size and run time (with asserts disabled) should be improved
|
|
parameters
|
|
|
|
this ID' from 'some' strings and replace the string name with something more sensible.
|
|
build a random new industry, but there are no industrytypes to choose from (i.e. all appearance probabilities are zero).
|
|
oilrigs always produce some passengers on lowest production level.
|
|
sources too
|
|
|
|
assert(tile < MapSize()).
|
|
them map.
|
|
industries/unmoveables; "X is in the way" isn't helpful at all in that case.
|
|
|
|
resulted in unwanted effects.
|
|
|
|
color and colour.
|
|
except where it's used for backward compatability.
|
|
|
|
|
|
change of primary industries) of callbacks 0x29 and 0x35.
|
|
when changing production using results 0D, 0E or 0F of callback 29 or 35.
|
|
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.
|
|
see.
NoAI is an API (a framework) to build your own AIs in. See:
http://wiki.openttd.org/wiki/index.php/AI:Main_Page
With many thanks to:
- glx and Rubidium for their syncing, feedback and hard work
- Yexo for his feedback, patches, and AIs which tested the system very deep
- Morloth for his feedback and patches
- TJIP for hosting a challenge which kept NoAI on track
- All AI authors for testing our AI API, and all other people who helped in one way or another
-Remove: all old AIs and their cheats/hacks
|
|
|
|
could e.g. result in incomplete clearing of protected houses.
|
|
|
|
|
|
depots, industries, towns and waypoints
|
|
(if enabled). Primarily useful for systems with touch screen (aapo)
|
|
(optional) parameter.
|
|
target invalid industry
|
|
OWNER_TOWN instead of the founder to take care of protected buildings and to not get stressed by town ratings.
|
|
comments.
|
|
|
|
0x29/0x35. (Yexo)
|
|
|
|
client so it is immediatelly clear which one you are working with.
|
|
introducing a daily random industry change.
This will allow to perform more changes per month on big maps and less on smaller maps, while not overtaxing the IndustryMonthlyLoop process.
Thanks to frosch, for nice code ideas and rewrites
|