Network: Extend post-desync frame sync history

Record sync state at various points throughout each frame
This commit is contained in:
Jonathan G Rennison
2023-08-28 15:17:53 +01:00
parent 8e755bf0c2
commit cdf1ff8d5a
13 changed files with 241 additions and 65 deletions

View File

@@ -28,8 +28,7 @@ struct DesyncExtraInfo {
Flags flags = DEIF_NONE;
const char *client_name = nullptr;
int client_id = -1;
uint32 desync_frame_seed = 0;
uint32 desync_frame_state_checksum = 0;
std::string desync_frame_info;
FILE **log_file = nullptr; ///< save unclosed log file handle here
DesyncDeferredSaveInfo *defer_savegame_write = nullptr;
};