Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
"unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
|
|
bankrupted (removed from the game)
The command is placed in a queue for processing before it is bankrupted, after that the command
is executed. This command yields a failure because the company does not exist, but then it still
needs to call the callback. This callback tries to access the AI's virtual machine without any
checks, so it starts to read a just freed pointer and segfaults.
|
|
(Hirundo)
|
|
|
|
|
|
and a town.
|
|
of the game, not the new-game settings.
|
|
|
|
|
|
|
|
|
|
|
|
error.h
|
|
|
|
|
|
C++ glue templates to script/api/template
|
|
layer violation anymore
|
|
global variable in script_controller
|
|
|
|
|
|
script users can call their own
|
|
reusable by other script API instances
|
|
own file)
|
|
its own file)
|
|
|
|
|
|
C++ class to Squirrel
|
|
query statistics about a town regarding its growing
|
|
the parameters for NoAI docs)
|
|
|
|
instead of assuming the current company points you to the right one.
|
|
const_cast
|
|
|
|
operations for the current tick
|
|
|
|
|
|
also getting settings and such from info.nut, would not be interrupted after a while causing OpenTTD to seem to not respond
|
|
some headers
|
|
|
|
|
|
AI code
|
|
|
|
consisted of unrelated values use static const (u)int
|