Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
You can do: "startai myai.3", which starts version 3 of "myai".
This is very useful for testing save/load code between different
versions of your AI.
However, when using this syntax, the AI got saved as "myai.3" as
name of the AI, instead of "myai". This caused several problems,
like indicating to the user the AI could not be found, but still
load the AI. But in all cases, the AI never got the chance to
load the saved data, making the whole reason this exists pointless.
By splitting the name and version already in the console command,
the code becomes simpler and AIs started this way now follow the
normal flow after initialization.
|
|
|
|
This can avoid out-of-memory situations due to single scripts using up the entire address space.
Instead, scripts that go above the maximum are killed.
The maximum is default 1 GB per script, but can be configured by a setting.
|
|
|
|
|
|
the return is not NULL)
|
|
|
|
|
|
and strecat.
|
|
"unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
|
|
|
|
|
|
always the first
|
|
|
|
|
|
and AIScannerLibrary
|
|
src/script/api/script_* (Rubidium)
|
|
GetClassName (Rubidium)
|
|
the parameters for NoAI docs)
|
|
|
|
|
|
classes programmatically
|
|
don't need to cast to void/non-const before being able to free
|
|
settings unless gui.ai_developer_tools is enabled (Zuu)
|
|
(can't reproduce it though)
|
|
the AI filenames, so record it differently. Also removes some of the hackery to get the tar's filename
|
|
|
|
|
|
for their directory
|
|
in the output of "openttd -h"
|
|
of recognized AI libraries (dihedral)
|
|
|
|
|
|
some headers
|
|
two AIs/libraries with the same name and version" message from 0 to 1
|
|
new AIs/NewGRFs inside a tar file are found
|
|
|
|
Only settings with the AICONFIG_INGAME flag can be editted in this way
|
|
load the AI data from a savegame instead of the exact same version
|
|
|
|
if a header require a header make it include that header
|
|
|
|
|
|
|
|
3rdparty directory.
|
|
|
|
longer available and the latest version of the AI can't load data from that AI version, use the latest available version of the AI that can load the data instead of the first found version that can load the data.
|