Age | Commit message (Collapse) | Author |
|
allocated instead of crashing the whole game
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
already existing functions instead of partially trying to implemented them
|
|
int8, then casted to an uint32 which caused the Squirrel lexer to bail out. Regardless... the file isn't actually ASCII, but that's beyond the point for now
|
|
|
|
|
|
|
|
defines
|
|
|
|
|
|
platforms having wchar for SQChar and others just char; always use char (and UTF-8) like in the rest of (internal) OpenTTD
|
|
in the same VM, causing e.g. constants to break the loading of info of other scripts
|
|
always 64 bits, so scripts behave the same on 32 or 64 bits architectures
|
|
the return is not NULL)
|
|
|
|
seprintf
|
|
"unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
|
|
|
|
|
|
before they were shown, causing an assertion to trigger
|
|
returning the same result as in TestMode during world generation
|
|
Eagle_rainbow)
|
|
machines failed
|
|
only with GS prefix (and in game/library)
|
|
that directory
|
|
failure in info.nut instead of printing it directly to stderr
|
|
and AIScannerLibrary
|
|
C++ class to Squirrel
|
|
|
|
makes no sense
|
|
|
|
operations for the current tick
|
|
100.000 opcodes for free
|
|
their allowed amount of operations by subtracting the amount they went over "budget" from the budget for the next "tick".
|
|
some headers
|
|
|
|
savegames by crashing them when they tried
|
|
code from the global scope
|
|
stack were leaked
|
|
|
|
/ Sleep instead of just printing an error message in the AI Debug Window
|
|
|
|
can't crash OpenTTD
|
|
called (indirectly) via call/acall/pcall OpenTTD crashed. Fix this by disallowing AIs to be suspended while called via call/acall/pcall.
IMPORTANT FOR AI WRITERS: AIs can no longer call any DoCommand functions (change anything, build vehicles, etc.) in a function called (indirectly) via call/acall/pcall. Where possible, please rewrite your code so it doesn't use call/acall/pcall
|