Start menu
This commit is contained in:
parent
d27bc59742
commit
a5325cece6
2 changed files with 69 additions and 2 deletions
15
game.h
15
game.h
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue