Age | Commit message (Collapse) | Author |
|
the parameters for NoAI docs)
|
|
settings unless gui.ai_developer_tools is enabled (Zuu)
|
|
|
|
the ifndef/define/endif lines.
|
|
AI code
|
|
|
|
AI+Squirrel
|
|
Only settings with the AICONFIG_INGAME flag can be editted in this way
|
|
left untouched and then freed. Make sure this doesn't happen by ensuring it starts out as NULL instead of 'garbage'.
|
|
|
|
Return "0.7" to get an api compatible (as much as possible) with the 0.7 api or "0.8" to get the latest api.
-Change [NoAI]: move all deprecated functions to a separate squirrel script that is only loaded if an AI requests an old API version.
|
|
When an AI returns false, it'll never be chosen as random AI.
|
|
classes ScriptScanner/ScriptFileInfo.
|
|
available in-game.
|
|
definition of very simple getters to header file
|
|
and only during initialization.
|
|
where the result should be stored.
|
|
the values of the settings in info.nut
|
|
a required function
|
|
game and configure them via the gui.
|
|
required, as with AIs
-Add [NoAI]: allow multiple versions of the same AI co-exist
-Change [NoAI]: updated the whole method of AI (Library) finding and loading; it is now much more clear and transparent
-Change [NoAI]: the name of the AI is now the name used by CreateInstance()
-Change [NoAI]: make the AI finder a bit more clever, mostly related to version finding
|
|
requirement for every library.nut, to indicate in which category it belongs. Currently the directory indicates the category, but this doesn't allow planned future additions
|
|
function GetShortName(), which should return a 4 (four) character string, unique throughout the world. This id is simular to a GRFid.
|
|
AIGUI (Yexo)
|
|
'start_date' set to the AI slot (Yexo)
-Add [NoAI]: add a 'deviation' value for all settings, giving a slight deviation of the value of a setting (Yexo)
|
|
allowed by info.nut
|
|
a CanLoadFromVersion(version), which should return true/false, to indicate if you can load a savegame made with your AI of version 'version'
-Add [NoAI API CHANGE]: in main.nut the Load() function now should be Load(version, data), where 'version' is the version of your AI which made the savegame
-Codechange [NoAI]: various of function renames to make things more sane
-Add [NoAI]: push the 'version' of the AI through various of layers
-Codechange [NoAI]: various of code cleanups
-Add [NoAI]: store the version of the AI in the savegame too
|
|
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
|