From 6488c942e10c7685a1040f6c6ff74a534e72b95c Mon Sep 17 00:00:00 2001 From: Ritabrata Das Date: Sun, 13 Sep 2026 11:07:50 +0530 Subject: clangd complain --- game/graphics.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/game/graphics.hpp b/game/graphics.hpp index f6590cc..3329f8a 100644 --- a/game/graphics.hpp +++ b/game/graphics.hpp @@ -8,7 +8,7 @@ constexpr float TRANSITION_TIME = 1.5f; // in seconds -Texture2D getCirno(GameState &gs) +inline Texture2D getCirno(GameState &gs) { switch (gs.curExp) { case NEUTRAL: @@ -83,7 +83,7 @@ inline void DrawSceneChange(GameState &gs) { float halfTime = gs.timeSinceSceneChange - (TRANSITION_TIME / 2); float t2 = Clamp(halfTime / (TRANSITION_TIME / 2), 0.0f, 1.0f); float a2 = 0.5f - 0.5f * cosf(t2 * PI); - + DrawTextureV(getCirno(gs), CIRNO_SPRITE_POSITION, ColorAlpha(WHITE, a2)); -- cgit v1.2.3