From 9f031a67594162a53b07acbfbc65faf8c4938e99 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Sun, 17 Jun 2012 04:00:31 +0300 Subject: Optimize headers --- src/util/directiontables.h | 1 + src/util/numeric.h | 4 ++++ src/util/pointedthing.h | 1 + src/util/pointer.h | 1 + src/util/serialize.h | 2 ++ 5 files changed, 9 insertions(+) (limited to 'src/util') diff --git a/src/util/directiontables.h b/src/util/directiontables.h index c02b3d124..5bebd2fdb 100644 --- a/src/util/directiontables.h +++ b/src/util/directiontables.h @@ -21,6 +21,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #define UTIL_DIRECTIONTABLES_HEADER #include "../irrlichttypes.h" +#include "../irr_v3d.h" extern const v3s16 g_6dirs[6]; diff --git a/src/util/numeric.h b/src/util/numeric.h index 0ce21b7e3..5ed4d0e99 100644 --- a/src/util/numeric.h +++ b/src/util/numeric.h @@ -21,6 +21,10 @@ with this program; if not, write to the Free Software Foundation, Inc., #define UTIL_NUMERIC_HEADER #include "../irrlichttypes.h" +#include "../irr_v2d.h" +#include "../irr_v3d.h" +#include "../irr_aabb3d.h" +#include // Calculate the borders of a "d-radius" cube void getFacePositions(core::list &list, u16 d); diff --git a/src/util/pointedthing.h b/src/util/pointedthing.h index 82d66dfa8..e61e2f4f3 100644 --- a/src/util/pointedthing.h +++ b/src/util/pointedthing.h @@ -21,6 +21,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #define UTIL_POINTEDTHING_HEADER #include "../irrlichttypes.h" +#include "../irr_v3d.h" #include #include diff --git a/src/util/pointer.h b/src/util/pointer.h index 02f11c2ea..766cc2328 100644 --- a/src/util/pointer.h +++ b/src/util/pointer.h @@ -22,6 +22,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "../irrlichttypes.h" #include "../debug.h" // For assert() +#include template class SharedPtr diff --git a/src/util/serialize.h b/src/util/serialize.h index e229a00be..50a002c10 100644 --- a/src/util/serialize.h +++ b/src/util/serialize.h @@ -21,6 +21,8 @@ with this program; if not, write to the Free Software Foundation, Inc., #define UTIL_SERIALIZE_HEADER #include "../irrlichttypes.h" +#include "../irr_v2d.h" +#include "../irr_v3d.h" #include #include #include "../exceptions.h" -- cgit v1.2.3