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

Method CreateRangeWindow

src/scene_debug.cpp:686–697  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

684}
685
686void Scene_Debug::CreateRangeWindow() {
687
688 std::vector<std::string> ranges;
689 for (int i = 0; i < 10; i++)
690 ranges.push_back("");
691 range_window.reset(new Window_Command(ranges, 96));
692
693 int height = 176;
694 range_window->SetHeight(height);
695 range_window->SetX(Player::menu_offset_x);
696 range_window->SetY(Player::menu_offset_y + ((MENU_HEIGHT - height) / 2));
697}
698
699void Scene_Debug::UpdateRangeListWindow() {
700 int idx = 0;

Callers

nothing calls this directly

Calls 4

resetMethod · 0.45
SetHeightMethod · 0.45
SetXMethod · 0.45
SetYMethod · 0.45

Tested by

no test coverage detected