mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-22 17:18:39 +00:00
Optimize headers
This commit is contained in:
parent
d0ea6f9920
commit
9f031a6759
81 changed files with 221 additions and 92 deletions
|
@ -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];
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue