Added loading screen

This commit is contained in:
Vladislav Khorev committed 2026-02-23 09:55:01 +03:00
1 parent f6cc30a30c
commit 84006380db
3 files changed
+85 -10

No files matched your search

+8
View File
@@ -27,6 +27,7 @@ namespace ZL {
~Game();
void setup();
void setupPart2();
void update();
void render();
@@ -36,12 +37,19 @@ namespace ZL {
TaskManager taskManager;
MainThreadHandler mainThreadHandler;
std::unique_ptr<INetworkClient> networkClient;
std::shared_ptr<Texture> loadingTexture;
VertexRenderStruct loadingMesh;
bool loadingCompleted = false;
private:
int64_t getSyncTimeMs();
void processTickCount();
void drawScene();
void drawUI();
void drawUnderMainMenu();
void drawLoading();
void handleDown(int mx, int my);
void handleUp(int mx, int my);
void handleMotion(int mx, int my);