Spooky hash, smarter animqueue diffs
This commit is contained in:
@@ -69,13 +69,15 @@ public:
|
||||
int64_t id() { return plane_item_.id(); }
|
||||
|
||||
void update_plane_item();
|
||||
bool is_an_actor() { return id_player_pool_.fifo_enabled(); }
|
||||
void be_an_actor() { id_player_pool_.enable_fifo(); }
|
||||
bool is_an_actor() { return (id_player_pool_.get_fifo_capacity() > 0); }
|
||||
void configure_id_pool_for_actor() { id_player_pool_.set_fifo_capacity(20); }
|
||||
};
|
||||
|
||||
class World {
|
||||
public:
|
||||
|
||||
// Type of model
|
||||
util::WorldType world_type_;
|
||||
|
||||
// A lua intepreter with snapshot function.
|
||||
//
|
||||
LuaSnap lua_snap_;
|
||||
@@ -119,7 +121,7 @@ public:
|
||||
// is stored in world::lua_state_. A significant amount of
|
||||
// initial setup is done by this constructor.
|
||||
//
|
||||
World();
|
||||
World(util::WorldType wt);
|
||||
|
||||
// Destructor.
|
||||
//
|
||||
@@ -127,10 +129,6 @@ public:
|
||||
//
|
||||
~World();
|
||||
|
||||
// Initialize for single-player mode.
|
||||
//
|
||||
void init_standalone();
|
||||
|
||||
// get_lua_state
|
||||
//
|
||||
// Get the lua interpreter associated with this world model.
|
||||
|
||||
Reference in New Issue
Block a user