update to entt v3.9.0

This commit is contained in:
2021-12-13 18:42:22 +01:00
parent 494912ce8a
commit 81043264d2
12 changed files with 66 additions and 34 deletions

View File

@ -6,7 +6,7 @@
namespace MM::Systems {
void player_velocity2d(entt::view<entt::exclude_t<>, MM::Input::PlayerID, MM::Components::Velocity2D> view, const MM::Engine* engine) {
void player_velocity2d(entt::view<entt::get_t<MM::Input::PlayerID, MM::Components::Velocity2D>> view, const MM::Engine* engine) {
ZoneScopedN("MM::Systems::PlayerVelocity2D");
auto& input_ss = engine->getService<MM::Services::InputService>();

View File

@ -8,7 +8,7 @@
namespace MM::Systems {
// this system transforms the input from the input_service into velocity
void player_velocity2d(entt::view<entt::exclude_t<>, MM::Input::PlayerID, MM::Components::Velocity2D> view, const MM::Engine* engine);
void player_velocity2d(entt::view<entt::get_t<MM::Input::PlayerID, MM::Components::Velocity2D>> view, const MM::Engine* engine);
} // MM::Systems