Age | Commit message (Collapse) | Author |
|
|
|
|
|
we had
While at it, replace OTTD_ASSERT with WITH_ASSERT, as this
is always set if assert() is valid. No matter if NDEBUG is set
or not.
|
|
It is not nice to have your definition say you won't change a value
while in fact the whole reason for your existance is to change it.
|
|
This to be more explicit the function changes the value, and not
returns yes/no.
|
|
|
|
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
|