Completed conversion of buildings handling to ECS systems
This commit is contained in:
@@ -37,6 +37,9 @@ private:
|
||||
bool initialized;
|
||||
int current_x, current_z;
|
||||
int frame_count;
|
||||
bool road_setup_needed;
|
||||
bool road_setup_complete;
|
||||
int count_shit;
|
||||
void _notification(int which);
|
||||
// void create_tilemap();
|
||||
void update_view();
|
||||
@@ -51,10 +54,20 @@ private:
|
||||
void remove_generated_stuff();
|
||||
void place_zebras();
|
||||
void undo();
|
||||
void road_setup();
|
||||
|
||||
static void _bind_methods();
|
||||
|
||||
public:
|
||||
struct components {
|
||||
struct Initialized {};
|
||||
struct WorldData {
|
||||
VoxelViewer *viewer;
|
||||
VoxelLodTerrain *terrain;
|
||||
};
|
||||
struct RoadSetupNeeded {};
|
||||
struct RoadSetupDone {};
|
||||
};
|
||||
VoxelLodTerrain *get_terrain();
|
||||
void run_command(const String &command, const Vector<Variant> &args);
|
||||
StreamWorld();
|
||||
|
||||
Reference in New Issue
Block a user