Age | Commit message (Collapse) | Author |
|
|
|
|
|
everything non-Windows or non-Unicode, now everything), the lexer throws away the higher bytes of characters
|
|
platforms having wchar for SQChar and others just char; always use char (and UTF-8) like in the rest of (internal) OpenTTD
|
|
|
|
assigning values to variables with smaller integer size
|
|
always 64 bits, so scripts behave the same on 32 or 64 bits architectures
|
|
error, due to the stack to throw the error already being full
|
|
data via a looping set of references
|
|
a script
|
|
processing 'while' token of 'do'-'while' statement.
|
|
with negative size
|
|
wasn't caught properly, so they could cause crashes of OpenTTD instead of the AI
|
|
|
|
machines failed
|
|
others were still regular inline), but make sure inline is always a 'forced' inline (I am looking at you MSVC)
|
|
meta-function doesn't return an integer
|
|
it mostly solves the sort() issues
|
|
|
|
included file
|
|
|
|
fix stack overflow
|
|
|
|
|
|
the squirrel compiler to crash
|
|
difference was more than "MAX_UINT"/2
|
|
the AI debug window, use the relative path from /ai/ instead
|
|
|
|
-Revert (r17273): this fix is included in Squirrel 2.2.4
|
|
not be cleaned up properly during crash handling. Occasionally this causes asserts to be triggered or crashes.
|
|
warning about them
|
|
|
|
assert is enabled assert (catch possible overflow bugs in nightlies/RCs), otherwise just increase the stack's size (don't get into invalid reads/writes in releases)
|
|
tail recursion
|
|
|
|
|
|
with not enough parameters can cause a crash
|
|
incorrectly but crash the AI instead
|
|
/ Sleep instead of just printing an error message in the AI Debug Window
|
|
|
|
was halted while one or more generators were still in a 'running' state
|
|
the pointer to it is NULL
|
|
those via a call/acall/pcall function
|
|
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
|
|
and reintroduced in r16241 again, this time without breaking the regression test.
|
|
reached like break after returns or break after functions that never return (i.e. NOT_REACHED)
|
|
const is (accidentally?) removed using C-style casts.
|
|
amount of traps
|
|
try/catch blocks to be 'forgotten' during a suspend.
|
|
(2^32 - small_value) times instead of only small_value times.
|