Start menu

This commit is contained in:
Miloslav Ciz 2025-01-01 21:04:05 +01:00
parent d27bc59742
commit a5325cece6
2 changed files with 69 additions and 2 deletions

15
game.h
View file

@ -641,8 +641,19 @@ uint8_t LCR_gameStep(uint32_t time)
while (time >= LCR_game.nextRenderFrameTime)
LCR_game.nextRenderFrameTime += 1000 / LCR_SETTING_FPS;
LCR_gameDraw3DView();
if (LCR_game.state == LCR_GAME_STATE_MENU)
{
const char *aaa[] =
{
"menu","absa","sasas","sasqw"
};
LCR_rendererDrawMenu(aaa,4,2);
}
else
LCR_gameDraw3DView();
}
else
{