More work on table diff xmit
This commit is contained in:
@@ -285,18 +285,10 @@ private:
|
||||
static void diff_visible_animations(const TanVector &mvis, const TanVector &svis, StreamBuffer *sb);
|
||||
void patch_visible_animations(StreamBuffer *sb);
|
||||
|
||||
// Compare the numbered general tables.
|
||||
//
|
||||
void diff_numbered_tables(lua_State *master, StreamBuffer *sb);
|
||||
|
||||
// Compare the tangible databases.
|
||||
//
|
||||
void diff_tangible_databases(const IdVector &basis, lua_State *master, StreamBuffer *sb);
|
||||
|
||||
public:
|
||||
///////////////////////////////////////////////////////////
|
||||
//
|
||||
// Numbering and pairing of lua tables.
|
||||
// world-pairtab: Numbering and pairing of lua tables.
|
||||
//
|
||||
// The following routines pair up tables in the synchronous
|
||||
// model with tables in the master model, by assigning matching
|
||||
@@ -347,6 +339,29 @@ public:
|
||||
//
|
||||
void unnumber_lua_tables();
|
||||
|
||||
public:
|
||||
///////////////////////////////////////////////////////////
|
||||
//
|
||||
// world-difftab: Nonrecursive table comparison
|
||||
//
|
||||
// These routines compare tables in the master lua to the corresponding
|
||||
// tables in the synchronous lua. This is a nonrecursive process, because
|
||||
// the recursion has already been done during the table enumeration process.
|
||||
//
|
||||
///////////////////////////////////////////////////////////
|
||||
|
||||
// Compare the numbered general tables.
|
||||
//
|
||||
void diff_numbered_tables(lua_State *master, StreamBuffer *sb);
|
||||
|
||||
// Compare the tangible databases.
|
||||
//
|
||||
void diff_tangible_databases(const IdVector &basis, lua_State *master, StreamBuffer *sb);
|
||||
|
||||
void patch_numbered_tables(StreamBuffer *sb);
|
||||
|
||||
void patch_tangible_databases(StreamBuffer *sb);
|
||||
|
||||
private:
|
||||
// Type of model
|
||||
util::WorldType world_type_;
|
||||
|
||||
Reference in New Issue
Block a user