Age | Commit message (Collapse) | Author |
|
|
|
the return is not NULL)
|
|
"unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
|
|
|
|
|
|
|
|
|
|
|
|
duplication (and in time, different values)
|
|
|
|
and AIScannerLibrary
|
|
the parameters for NoAI docs)
|
|
don't need to cast to void/non-const before being able to free
|
|
|
|
|
|
enhance readability
|
|
also getting settings and such from info.nut, would not be interrupted after a while causing OpenTTD to seem to not respond
|
|
|
|
some headers
|
|
parameter GUI.
|
|
|
|
|
|
|
|
if a header require a header make it include that header
|
|
|
|
left untouched and then freed. Make sure this doesn't happen by ensuring it starts out as NULL instead of 'garbage'.
|
|
compatibility script not found' error to be printed when loading it
|
|
|
|
|
|
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.
|
|
before storing.
|
|
unnecessarily add it.
|
|
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
|