MCPcopy Create free account
hub / github.com/EasyRPG/Player / PushUiInterpreterView

Method PushUiInterpreterView

src/scene_debug.cpp:311–333  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

309}
310
311void Scene_Debug::PushUiInterpreterView() {
312 const bool was_range_list = (GetFrame().uimode == eUiRangeList);
313
314 if (!interpreter_window->IsValid()) {
315 Main_Data::game_system->SePlay(Main_Data::game_system->GetSystemSE(Main_Data::game_system->SFX_Buzzer));
316 return;
317 }
318
319 Push(eUiInterpreterView);
320
321 if (!was_range_list) {
322 SetupUiRangeList();
323 }
324
325 interpreter_window->SetVisible(true);
326 var_window->SetVisible(false);
327
328 interpreter_window->SetActive(true);
329 interpreter_window->SetIndex(0);
330
331 UpdateRangeListWindow();
332 interpreter_window->Refresh();
333}
334
335
336void Scene_Debug::Pop() {

Callers

nothing calls this directly

Calls 6

SePlayMethod · 0.80
IsValidMethod · 0.45
SetVisibleMethod · 0.45
SetActiveMethod · 0.45
SetIndexMethod · 0.45
RefreshMethod · 0.45

Tested by

no test coverage detected