feat: soundOn flag

This commit is contained in:
huaqo-games
2025-10-15 21:58:42 +02:00
parent e13094e7b7
commit 88afb54082
6 changed files with 34 additions and 16 deletions
+2 -2
View File
@@ -78,7 +78,7 @@ void UpdateLogo(LogoState *l, View *currentView, bool *running) {
}
}
void RenderLogo(const LogoState *l, bool *showFPS) {
void RenderLogo(const LogoState *l, Flags *flags) {
BeginDrawing();
ClearBackground(RAYWHITE);
@@ -107,7 +107,7 @@ void RenderLogo(const LogoState *l, bool *showFPS) {
DrawText(TextSubtext("raylib", 0, l->lettersCount), GetScreenWidth() / 2 - 44, GetScreenHeight() / 2 + 48, 50, Fade(BLACK, l->alpha));
}
if (*showFPS){
if (flags->showFPS){
DrawFPS(10, 10);
}