Adapt for web

This commit is contained in:
Vladislav Khorev committed 2026-02-27 22:31:07 +03:00
1 parent 7418bbbe27
commit 9f82e7a2e6
14 files changed
+189 -40

No files matched your search

+6
View File
@@ -54,6 +54,12 @@ namespace ZL {
void handleUp(int mx, int my);
void handleMotion(int mx, int my);
#ifdef EMSCRIPTEN
static Game* s_instance;
static void onResourcesZipLoaded(const char* filename);
static void onResourcesZipError(const char* filename);
#endif
SDL_Window* window;
SDL_GLContext glContext;