diff options
author | Perttu Ahola <celeron55@gmail.com> | 2012-06-17 04:00:31 +0300 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2012-06-17 04:03:39 +0300 |
commit | 9f031a67594162a53b07acbfbc65faf8c4938e99 (patch) | |
tree | f5d3ca1fe85ee46d6febad17846cbacd93f39c7e /src/util | |
parent | d0ea6f9920d30f46d1f5d44e8823a8d932f9f29d (diff) | |
download | minetest-9f031a67594162a53b07acbfbc65faf8c4938e99.tar.gz minetest-9f031a67594162a53b07acbfbc65faf8c4938e99.tar.bz2 minetest-9f031a67594162a53b07acbfbc65faf8c4938e99.zip |
Optimize headers
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/directiontables.h | 1 | ||||
-rw-r--r-- | src/util/numeric.h | 4 | ||||
-rw-r--r-- | src/util/pointedthing.h | 1 | ||||
-rw-r--r-- | src/util/pointer.h | 1 | ||||
-rw-r--r-- | src/util/serialize.h | 2 |
5 files changed, 9 insertions, 0 deletions
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 <irrList.h> // Calculate the borders of a "d-radius" cube void getFacePositions(core::list<v3s16> &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 <iostream> #include <string> 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 <cstring> template <typename T> 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 <iostream> #include <string> #include "../exceptions.h" |