Adapting music to web, fixing scripts, fixing bug in initial state

This commit is contained in:
Vladislav Khorev committed 2026-07-24 23:58:29 +03:00
1 parent c3f449b999
commit 5ecf5fb9d7
43 files changed
+875 -388

No files matched your search

+4 -1
View File
@@ -82,6 +82,10 @@ namespace FRG {
MenuManager menuManager;
void activateSlowMoEffect();
#ifdef EMSCRIPTEN
static Game* s_instance;
#endif
private:
// Unified pointer handling: mouse-left and a single touch share one path.
@@ -160,7 +164,6 @@ namespace FRG {
int countNonUiPointers() const;
#ifdef EMSCRIPTEN
static Game* s_instance;
static void onResourcesZipLoaded(unsigned handle, void* userData, const char* filename);
static void onResourcesZipError(unsigned handle, void* userData, int httpStatus);
static void onResourcesZipProgress(unsigned handle, void* userData, int percentComplete);