MCPcopy Create free account
hub / github.com/OpenLoco/OpenLoco / showEditor

Function showEditor

src/OpenLoco/src/EditorController.cpp:136–147  ·  view source on GitHub ↗

0x0043CB9F

Source from the content-addressed store, hash-verified

134
135 // 0x0043CB9F
136 void showEditor()
137 {
138 Windows::Main::open();
139
140 Windows::Terraform::setAdjustLandToolSize(1);
141 Windows::Terraform::setAdjustWaterToolSize(1);
142 Windows::Terraform::setClearAreaToolSize(2);
143
144 Windows::ToolbarTop::Editor::open();
145 Windows::ToolbarBottom::Editor::open();
146 Gui::resize();
147 }
148
149 Step getCurrentStep()
150 {

Callers 2

initFunction · 0.85
importSaveToGameStateFunction · 0.85

Calls 5

setAdjustLandToolSizeFunction · 0.85
setAdjustWaterToolSizeFunction · 0.85
setClearAreaToolSizeFunction · 0.85
resizeFunction · 0.85
openFunction · 0.50

Tested by

no test coverage detected