Add mini-diffs and change the difference transmission frequency.
This commit is contained in:
@@ -497,7 +497,7 @@ public:
|
||||
public:
|
||||
///////////////////////////////////////////////////////////
|
||||
//
|
||||
// world-difftab: Nonrecursive table comparison
|
||||
// difference transmission internals related to table comparison
|
||||
//
|
||||
// These routines compare tables in the master lua to the corresponding
|
||||
// tables in the synchronous lua. This is a nonrecursive process, because
|
||||
@@ -514,10 +514,9 @@ public:
|
||||
void patch_tangible_classes(StreamBuffer *sb, DebugCollector *dbc);
|
||||
void diff_tangible_classes(const IdVector &basis, lua_State *master, StreamBuffer *sb);
|
||||
|
||||
public:
|
||||
///////////////////////////////////////////////////////////
|
||||
//
|
||||
// Difference transmission
|
||||
// Difference transmission internals
|
||||
//
|
||||
///////////////////////////////////////////////////////////
|
||||
|
||||
@@ -540,11 +539,15 @@ public:
|
||||
|
||||
void patch_globals(StreamBuffer *sb, DebugCollector *dbc);
|
||||
void diff_globals(World *master, StreamBuffer *sb);
|
||||
|
||||
// This is the main entry point for difference transmission.
|
||||
|
||||
///////////////////////////////////////////////////////////
|
||||
//
|
||||
int64_t patch_everything(StreamBuffer *sb, DebugCollector *dbc);
|
||||
void diff_everything(int64_t actor, World *master, StreamBuffer *sb);
|
||||
// Difference transmission entry point.
|
||||
//
|
||||
///////////////////////////////////////////////////////////
|
||||
|
||||
int64_t patch(StreamBuffer *sb, DebugCollector *dbc);
|
||||
void diff(int64_t actor, bool full, World *master, StreamBuffer *sb);
|
||||
|
||||
public:
|
||||
///////////////////////////////////////////////////////////
|
||||
|
||||
Reference in New Issue
Block a user