Added time offset sync, added web version multiplayer

This commit is contained in:
Vladislav Khorev committed 2026-02-09 22:56:48 +03:00
1 parent a59bcc0c4b
commit 2c1c077611
13 files changed
+534 -324

No files matched your search

+3 -2
View File
@@ -44,6 +44,7 @@ namespace ZL {
std::unique_ptr<INetworkClient> networkClient;
private:
int64_t getSyncTimeMs();
void processTickCount();
void drawScene();
void drawCubemap(float skyPercent);
@@ -66,8 +67,8 @@ namespace ZL {
size_t newTickCount;
size_t lastTickCount;
int64_t newTickCount;
int64_t lastTickCount;
std::vector<BoxCoords> boxCoordsArr;
std::vector<VertexRenderStruct> boxRenderArr;