small things
This commit is contained in:
+5
-2
@@ -20,7 +20,7 @@ typedef struct {
|
|||||||
int main(void)
|
int main(void)
|
||||||
{
|
{
|
||||||
Application app;
|
Application app;
|
||||||
app.state.currentScreen = LOGO;
|
app.state.currentScreen = MENU;
|
||||||
app.state.running = true;
|
app.state.running = true;
|
||||||
app.state.gameStarted = false;
|
app.state.gameStarted = false;
|
||||||
app.display.name = "The Last Hive";
|
app.display.name = "The Last Hive";
|
||||||
@@ -28,7 +28,10 @@ int main(void)
|
|||||||
app.display.height = 720;
|
app.display.height = 720;
|
||||||
|
|
||||||
InitWindow(app.display.width, app.display.height, app.display.name);
|
InitWindow(app.display.width, app.display.height, app.display.name);
|
||||||
|
InitAudioDevice();
|
||||||
|
|
||||||
|
SetTraceLogLevel(LOG_NONE);
|
||||||
|
|
||||||
InitLogo(&app.logo);
|
InitLogo(&app.logo);
|
||||||
InitMenu(&app.menu);
|
InitMenu(&app.menu);
|
||||||
InitGame(&app.game,&app.display);
|
InitGame(&app.game,&app.display);
|
||||||
|
|||||||
Reference in New Issue
Block a user