Age | Commit message (Collapse) | Author |
|
class. Based on ideas of fonso/fonsinchen.
|
|
industries' production compile unit static instead of passing it around as pointer
|
|
instead of each time a cargo packet is delivered
|
|
when there is no vehicle at the station
|
|
instead of searching them everytime payment is made
|
|
|
|
Company::IsValidHumanID(), don't use IsHumanCompany() where possible
|
|
casts when converting Vehicle to specialised vehicle types. Includes safety check
|
|
code style.
|
|
after deleting it
|
|
vehicles/stations/industries are deleted.
|
|
source station is deleted
|
|
|
|
|
|
_local_company, but only as a storage location for the company you want to join in MP.
|
|
PoolItem::IsValidID() and PoolItem::Get()
|
|
PoolItem::IsValidID(index)
|
|
|
|
this ID' from 'some' strings and replace the string name with something more sensible.
|
|
|
|
sources too
|
|
|
|
merging companies or when a company benkrupts
|
|
unload at the station where you received the cargo
|
|
v->cargo_cap and v->cargo.Count() to improve behaviour wrt. broken/incompatible grfs.
|
|
|
|
color and colour.
|
|
convert the groups correctly
|
|
|
|
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
|
|
|
|
|
|
percent too little a year
|
|
depots, industries, towns and waypoints
|
|
(optional) parameter.
|
|
with the same UnitID
|
|
bankrupt. Furthermore companies that passed the "bankrupt" period (4 quarters) wouldn't go bankrupt when loading the game back in MP. Now any company that is in MP or not "currently controlled by the player" in SP will bankrupt.
|
|
|
|
destructor as that was already doing the same for a few vehicle types.
|
|
|
|
chain to industries before triggering any processing.
This reduces callback usage and resolves critical rounding errors when using input-cargo-multipliers instead of production callbacks.
|
|
aircraft.
Now callback 12 is properly called also for 'mail'.
If the callback is not used, 'mail' uses 1/4 of property 7 (rounded up).
|
|
some archs/compilers) code for cargo value computation
|
|
|
|
station catchment area.
|
|
|
|
|
|
client so it is immediatelly clear which one you are working with.
|
|
they have colour of invalid player
|
|
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
|