Working on Android version

This commit is contained in:
Vladislav Khorev committed 2026-07-18 13:19:08 +03:00
1 parent 0975f3b9cd
commit e773b51985
19 files changed
+418 -264

No files matched your search

+6 -3
View File
@@ -1,6 +1,8 @@
#pragma once
#if 0
#include <SDL2/SDL_mixer.h>
#endif
#include <string>
#include <unordered_map>
#include <memory>
@@ -51,17 +53,18 @@ private:
std::queue<std::function<void()>> taskQueue;
#endif
bool stop = false;
#if 0
std::unordered_map<std::string, Mix_Chunk*> soundCache;
std::mutex soundCacheMutex;
std::string currentTrack;
Mix_Music* currentMusic_ = nullptr;
Mix_Music* currentMusic_ = nullptr;
#endif
int musicVolume_ = 128;
int soundVolume_ = 128;
bool musicEnabled_ = true;
bool soundEnabled_ = true;
bool initialized = false;
};
};