Now layout build works fine

This commit is contained in:
2024-12-01 04:12:25 +03:00
parent 34bded906c
commit 42dc811cf6
28 changed files with 4040 additions and 2640 deletions

View File

@@ -45,26 +45,4 @@ public:
void create_interior_tilemap(const String &layout_name);
int get_layout_count() const;
int get_children_count(flecs::entity base_e) const;
struct graph_module {
flecs::entity GraphSolve;
flecs::entity get_layout_grid_base();
flecs::entity get_layout_base();
bool have_cell(flecs::entity floor_e, int id);
void grow_cell(flecs::entity seed_e, int id);
void queue_grow_cell(flecs::entity seed_e, int id);
void growth_module(flecs::world &ecs,
const String &module_name);
void room_growth_module(flecs::world &ecs,
const String &module_name);
void zones_graph_module(flecs::world &ecs,
const String &module_name);
void create_floor_components(
flecs::entity floor_e, flecs::entity base_floor_e,
const WorldEditor::components::buildings_layout_grid_size
&size);
bool check_region(flecs::entity floor_e, int index,
const Rect2i &rect) const;
graph_module(flecs::world &ecs);
};
};