Age | Commit message (Collapse) | Author |
|
wrapper functions
|
|
if a header require a header make it include that header
|
|
several flaws (not masking of bits, not resetting town authority updates on checks/estimates, ...). Let it use DoCommandPInternal, DoCommandP without showing error messages and such, instead.
|
|
of using _local_company to pass that information, with the whole mess when you don't want the company to be _local_company.
|
|
|
|
|
|
SetAllowDoCommand possible resulting in an AI that wasn't allowed to do any actions
|
|
|
|
/ Sleep instead of just printing an error message in the AI Debug Window
|
|
called (indirectly) via call/acall/pcall OpenTTD crashed. Fix this by disallowing AIs to be suspended while called via call/acall/pcall.
IMPORTANT FOR AI WRITERS: AIs can no longer call any DoCommand functions (change anything, build vehicles, etc.) in a function called (indirectly) via call/acall/pcall. Where possible, please rewrite your code so it doesn't use call/acall/pcall
|
|
half the AI api in non-noai related code.
|
|
|
|
no longer possible to use DoCommand (even indirect) in AIAbstractList::Valuator().
|
|
|
|
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
|