MCPcopy Create free account
hub / github.com/AbyssEngine/AbyssEngineOld / renderMainMenu

Method renderMainMenu

src/OD2/Scenes/MainMenu/MainMenu.cpp:62–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60}
61
62void MainMenu::renderMainMenu() {
63 _background.draw(0, 0, 0, 4, 3);
64 _d2Logo.render();
65 _btnSinglePlayer.draw(264, 290);
66 _btnMultiPlayer.draw(264, 330);
67 _btnMapTest.draw(264, 370);
68 _btnCredits.draw(264, 495);
69 _btnExit.draw(264, 535);
70
71 _lblCredits.drawCentered(400, 586);
72}
73
74void MainMenu::render() {
75 switch (_screenMode) {

Callers

nothing calls this directly

Calls 3

drawCenteredMethod · 0.80
drawMethod · 0.45
renderMethod · 0.45

Tested by

no test coverage detected