OpenTTD Source 20241224-master-gf74b0cf984
|
The ScriptInstance tracks a script. More...
#include <variant>
#include <squirrel.h>
#include "script_suspend.hpp"
#include "script_log_types.hpp"
#include "../command_type.h"
#include "../company_type.h"
#include "../fileio_type.h"
Go to the source code of this file.
Data Structures | |
class | ScriptInstance |
Runtime information about a script like a pointer to the squirrel vm and the current state. More... | |
Variables | |
static const uint | SQUIRREL_MAX_DEPTH = 25 |
The maximum recursive depth for items stored in the savegame. | |
The ScriptInstance tracks a script.
Definition in file script_instance.hpp.
|
static |
The maximum recursive depth for items stored in the savegame.
Definition at line 22 of file script_instance.hpp.
Referenced by ScriptInstance::Save().