OpenTTD Source 20241224-master-gf74b0cf984
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 419 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 421 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 420 of file settings_type.h.

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


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