Set up basic deterministic lockstep
This commit is contained in:
1 parent
28c6e83eda
commit
23fef6f349
26 files changed
+1172
-239
No files matched your search
+2
-2
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user