MCPcopy Create free account
hub / github.com/OpenTTD/OpenTTD / ScriptExecMode

Method ScriptExecMode

src/script/api/script_execmode.cpp:24–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22}
23
24ScriptExecMode::ScriptExecMode()
25{
26 this->last_mode = this->GetDoCommandMode();
27 this->last_instance = this->GetDoCommandModeInstance();
28 this->SetDoCommandMode(&ScriptExecMode::ModeProc, this);
29}
30
31void ScriptExecMode::FinalRelease()
32{

Callers

nothing calls this directly

Calls 3

GetDoCommandModeMethod · 0.80
SetDoCommandModeMethod · 0.80

Tested by

no test coverage detected