summaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
authorAshif Khan <[email protected]>2026-09-12 21:02:32 +0530
committerAshif Khan <[email protected]>2026-09-12 21:02:32 +0530
commitd99db5b7b663583d5eb26994336e8bb809f00529 (patch)
treebb5ee6938d3744dde3269d8da0c65ec2bb2b1dbb /main.cpp
parentffd968a26826108ca9fb23d46ed5789260852eb7 (diff)
tweaking
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/main.cpp b/main.cpp
index 138fbb7..cdd850a 100644
--- a/main.cpp
+++ b/main.cpp
@@ -29,7 +29,10 @@ void drawFrame(GameState& currentGameState) {
float renderScale = currentGameState.renderScale;
if (IsDialogRunning(currentGameState)) {
+ currentGameState.DialogueOnlyInput = true;
UpdateDialog(currentGameState);
+ } else {
+ currentGameState.DialogueOnlyInput = false;
}
BeginDrawing();
@@ -120,7 +123,7 @@ int main() {
// };
// TODO : Implement Asset Manager
// DisableCursor();
- g_bgMusic = LoadMusicStream("../assets/audio/bgm/bg.ogg");
+ // g_bgMusic = LoadMusicStream("../assets/audio/bgm/bg.wav");
// PlayMusicStream(g_bgMusic);
SetMusicVolume(g_bgMusic, 0.5f);
currentGameState.AssetManager.init();