Added loading screen
This commit is contained in:
1 parent
f6cc30a30c
commit
84006380db
3 files changed
+85
-10
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user