OpenTTD Source 20251019-master-g9f7f314f81
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 435 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 437 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 436 of file settings_type.h.

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


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