skypjack 1 месяц назад
Родитель
Сommit
6374cf8add

+ 0 - 1
testbed/CMakeLists.txt

@@ -48,7 +48,6 @@ target_sources(
         application/context.cpp
         meta/meta.cpp
         system/command_system.cpp
-        system/hud_system.cpp
         system/imgui_system.cpp
         system/input_system.cpp
         system/movement_system.cpp

+ 0 - 2
testbed/application/application.cpp

@@ -14,7 +14,6 @@
 #include <imgui.h>
 #include <meta/meta.h>
 #include <system/command_system.h>
-#include <system/hud_system.h>
 #include <system/imgui_system.h>
 #include <system/input_system.h>
 #include <system/movement_system.h>
@@ -36,7 +35,6 @@ void application::draw(entt::registry &registry, const context &context) const {
     SDL_RenderClear(context);
 
     rendering_system(registry, context);
-    hud_system(registry, context);
     imgui_system(registry);
 
     ImGui::Render();

+ 0 - 13
testbed/system/hud_system.cpp

@@ -1,13 +0,0 @@
-#include <application/context.h>
-#include <entt/entity/registry.hpp>
-#include <system/hud_system.h>
-
-namespace testbed {
-
-void hud_system(entt::registry &registry, const context &ctx) {
-    // render...
-    static_cast<void>(registry);
-    static_cast<void>(ctx);
-}
-
-} // namespace testbed

+ 0 - 11
testbed/system/hud_system.h

@@ -1,11 +0,0 @@
-#pragma once
-
-#include <entt/entity/fwd.hpp>
-
-namespace testbed {
-
-struct context;
-
-void hud_system(entt::registry &, const context &);
-
-} // namespace testbed