git: ignore bin/, feature: go to menu with escape

This commit is contained in:
huaqo-games
2025-03-18 17:09:04 +01:00
parent afaf0c70a3
commit a4d9b22c32
7 changed files with 9 additions and 28 deletions
+2 -2
View File
@@ -27,7 +27,7 @@ int main(void)
InitMenu(&menu);
InitGame(&game);
while (!WindowShouldClose())
while (true)
{
switch (currentScreen)
{
@@ -43,7 +43,7 @@ int main(void)
}break;
case GAMEPLAY:
{
UpdateGame(&game);
UpdateGame(&game, &currentScreen);
RenderGame(&game);
}break;
default: break;