Start breaking world.cpp into multiple files
This commit is contained in:
@@ -285,11 +285,26 @@ private:
|
||||
static void diff_visible_animations(const TanVector &mvis, const TanVector &svis, StreamBuffer *sb);
|
||||
void patch_visible_animations(StreamBuffer *sb);
|
||||
|
||||
// Compare the general tables.
|
||||
//
|
||||
void diff_lua_tables(lua_State *master, StreamBuffer *sb);
|
||||
|
||||
// Compare the tangible databases.
|
||||
//
|
||||
void diff_tangible_databases(const IdVector &basis, lua_State *master, StreamBuffer *sb);
|
||||
|
||||
public:
|
||||
// Pass 3 of difference transmission: numbering of tables.
|
||||
///////////////////////////////////////////////////////////
|
||||
//
|
||||
// Numbering and pairing of lua tables.
|
||||
//
|
||||
// Table-to-number mapping is stored in registry.tnmap
|
||||
// Number-to-table mapping is stored in registry.ntmap
|
||||
//
|
||||
///////////////////////////////////////////////////////////
|
||||
|
||||
// numbering of tables.
|
||||
//
|
||||
// Returns the total number of tables numbered.
|
||||
//
|
||||
int number_lua_tables(const IdVector &basis);
|
||||
@@ -313,14 +328,6 @@ public:
|
||||
//
|
||||
void create_new_tables(int n);
|
||||
|
||||
// Compare the general tables.
|
||||
//
|
||||
void diff_lua_tables(lua_State *master, StreamBuffer *sb);
|
||||
|
||||
// Compare the tangible databases.
|
||||
//
|
||||
void diff_tangible_databases(const IdVector &basis, lua_State *master, StreamBuffer *sb);
|
||||
|
||||
private:
|
||||
// Type of model
|
||||
util::WorldType world_type_;
|
||||
|
||||
Reference in New Issue
Block a user