Skip to content

Commit 4ec8f98

Browse files
committed
update entt to v3.15.0
1 parent 8801d5c commit 4ec8f98

5 files changed

Lines changed: 6 additions & 3 deletions

File tree

external/entt

Submodule entt updated 262 files

framework/imgui/src/mm/services/scene_tools.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ namespace MM::Services {
111111
if (ImGui::Begin("Scene Metrics##ImGuiSceneToolsService", &_show_scene_metrics)) {
112112
ImGui::Text("capacity: %zu", scene.storage<::MM::Entity>().capacity());
113113
ImGui::Text("size: %zu", scene.storage<::MM::Entity>().size());
114-
ImGui::Text("alive: %zu", scene.storage<::MM::Entity>().in_use());
114+
ImGui::Text("alive: %zu", scene.storage<::MM::Entity>().free_list());
115115
if (ImGui::CollapsingHeader("orphans")) {
116116
// iterating all entities is expensive
117117
size_t orphans = 0;

framework/organizer_scene/src/mm/services/organizer_scene.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ static std::ostream& operator<<(std::ostream& out, const std::vector<entt::organ
2323
}
2424

2525
for (size_t i = 0; i < nodes.size(); i++) {
26-
for (const size_t child : nodes[i].children()) {
26+
for (const size_t child : nodes[i].in_edges()) {
2727
out << "n" << child << " -> " << "n" << i << ";\n";
2828
}
2929
}

systems/player_velocity/src/mm/systems/player_velocity2d_system.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
#include <mm/services/input_service.hpp>
55
#include <mm/components/velocity2d_position_intent.hpp>
66

7+
#include <entt/entity/storage.hpp>
8+
79
namespace MM::Systems {
810

911
// this system transforms the input from the input_service into velocity intent

systems/simple_velocity/src/mm/systems/simple_velocity_system2d.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
#include <mm/components/time_delta.hpp>
88

99
#include <entt/fwd.hpp>
10+
#include <entt/entity/storage.hpp>
1011

1112
namespace MM::Systems {
1213

0 commit comments

Comments
 (0)