Daniele Bartolini 10 лет назад
Родитель
Сommit
603d4db275
4 измененных файлов с 4 добавлено и 3 удалено
  1. 1 3
      src/core/types.h
  2. 1 0
      src/input/input_manager.h
  3. 1 0
      src/physics/physics_world.h
  4. 1 0
      src/physics/raycast.h

+ 1 - 3
src/core/types.h

@@ -5,10 +5,8 @@
 
 #pragma once
 
-#include "config.h"
-#include <cstddef>
+#include <stddef.h> // NULL
 #include <stdint.h>
-#include <stdio.h>
 
 namespace crown
 {

+ 1 - 0
src/input/input_manager.h

@@ -5,6 +5,7 @@
 
 #pragma once
 
+#include "config.h"
 #include "types.h"
 #include "input_types.h"
 

+ 1 - 0
src/physics/physics_world.h

@@ -5,6 +5,7 @@
 
 #pragma once
 
+#include "config.h"
 #include "id_array.h"
 #include "pool_allocator.h"
 #include "physics_types.h"

+ 1 - 0
src/physics/raycast.h

@@ -3,6 +3,7 @@
  * License: https://github.com/taylor001/crown/blob/master/LICENSE
  */
 
+#include "config.h"
 #include "math_types.h"
 #include "container_types.h"
 #include "physics_types.h"