OpenTTD Source 20250312-master-gcdcc6b491d
ScriptSettings Struct Reference

Settings related to scripts. More...

#include <settings_type.h>

Data Fields

uint32_t script_max_opcode_till_suspend
 max opcode calls till scripts will suspend
 
uint32_t script_max_memory_megabytes
 limit on memory a single script instance may have allocated
 

Detailed Description

Settings related to scripts.

Definition at line 426 of file settings_type.h.

Field Documentation

◆ script_max_memory_megabytes

uint32_t ScriptSettings::script_max_memory_megabytes

limit on memory a single script instance may have allocated

Definition at line 428 of file settings_type.h.

◆ script_max_opcode_till_suspend

uint32_t ScriptSettings::script_max_opcode_till_suspend

max opcode calls till scripts will suspend

Definition at line 427 of file settings_type.h.

Referenced by ScriptInstance::GameLoop(), and ScriptInstance::Pause().


The documentation for this struct was generated from the following file: