Skip to content
This repository was archived by the owner on Mar 10, 2026. It is now read-only.

Commit c742bdd

Browse files
committed
OCD
more OCD
1 parent db7bca8 commit c742bdd

7 files changed

Lines changed: 3 additions & 8 deletions

File tree

Game/cpp/prefabs/character2d.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
#include <godot_cpp/variant/vector2.hpp>
55

66
#include "src/flecs_registry.h"
7-
87
#include "src/components/physics.h"
98
#include "src/components/transform.h"
109
#include "src/components/entity_rendering.h"

Game/cpp/systems/enemy_animation.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
#include <godot_cpp/core/math.hpp>
66

77
#include "src/flecs_registry.h"
8-
98
#include "src/components/entity_rendering.h"
109
#include "src/components/physics.h"
1110

Game/cpp/systems/enemy_death.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
#include <godot_cpp/variant/vector2.hpp>
1010

1111
#include "src/flecs_registry.h"
12-
1312
#include "src/components/physics.h"
1413
#include "src/components/transform.h"
1514
#include "src/utilities/godot_signal.h"

Game/cpp/systems/velocity_to_position.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
#pragma once
22

33
#include "src/flecs_registry.h"
4-
54
#include "src/components/physics.h"
65
#include "src/components/transform.h"
76

src/systems/entity_rendering.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
#include <godot_cpp/classes/multi_mesh_instance3d.hpp>
1616
#include <godot_cpp/variant/utility_functions.hpp>
1717

18-
#include <flecs.h>
1918
#include "src/world.h"
2019
#include "src/flecs_registry.h"
2120
#include "src/components/entity_rendering.h"

src/systems/prefab_instantiation.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@
77
#include <godot_cpp/variant/utility_functions.hpp>
88
#include <godot_cpp/variant/variant.hpp>
99

10-
#include "src/components/transform.h"
1110
#include "src/flecs_registry.h"
11+
#include "src/components/transform.h"
1212

13+
using godot::Array;
1314
using godot::Dictionary;
1415
using godot::UtilityFunctions;
1516
using godot::Variant;
16-
using godot::Array;
1717

1818
inline FlecsRegistry register_prefab_instantiation_system([](flecs::world& world)
1919
{

src/systems/transform_update.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
#include <godot_cpp/variant/transform2d.hpp>
55
#include <godot_cpp/variant/transform3d.hpp>
66

7-
#include "src/components/transform.h"
87
#include "src/flecs_registry.h"
8+
#include "src/components/transform.h"
99

1010
inline FlecsRegistry register_transform_update_systems([](flecs::world& world)
1111
{

0 commit comments

Comments
 (0)