Age | Commit message (Collapse) | Author |
|
When an AI returns false, it'll never be chosen as random AI.
|
|
anymore.
|
|
classes ScriptScanner/ScriptFileInfo.
|
|
AddSetting, AddLabels and RegisterAI.
|
|
available in-game.
|
|
an info.nut failed to compile.
|
|
definition of very simple getters to header file
|
|
and only during initialization.
|
|
AIInfo::CanLoadFromVersion(version) with AIInfo::MinVersionToLoad() which should return a single integer, the minimum version the AI is able to load data from.
|
|
where the result should be stored.
|
|
|
|
the values of the settings in info.nut
|
|
|
|
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)
|
|
an AI should start next
|
|
allowed by info.nut
|
|
|
|
someone, it contains a warning .. ;)
|
|
(or even allow) a min/max setting .. it is always 0/1 (Yexo)
|
|
allow savedata from the same version as we are now
|
|
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
|