Set up basic deterministic lockstep

This commit is contained in:
Vladislav Khorev committed 2026-11-05 23:02:53 +06:00
1 parent 28c6e83eda
commit 23fef6f349
26 files changed
+1172 -239

No files matched your search

+2 -2
View File
@@ -98,6 +98,7 @@ namespace FRG {
GameServerRouter gameServer;
GameServerHostRouter gameServerHost;
bool remoteCampaignActive = false;
bool remoteInitialStateBound = false;
public:
IGameServer& server() { return gameServer; }
@@ -252,13 +253,12 @@ namespace FRG {
*/
//void drawMobilePortraitOverlay();
int64_t newTickCount;
int64_t lastTickCount;
int64_t simulationAccumulatorMs = 0;
int lastDrawableW = -1;
int lastDrawableH = -1;
static const size_t CONST_TIMER_INTERVAL = 10;
static const size_t CONST_MAX_TIME_INTERVAL = 1000;
};