forked from Mirrorlandia_minetest/minetest
Modernize include guards and add missing ones (#9898)
This commit is contained in:
parent
e79bc40c0a
commit
037422fdba
@ -18,8 +18,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef CLIENT_HUD_HEADER
|
#pragma once
|
||||||
#define CLIENT_HUD_HEADER
|
|
||||||
|
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <IGUIFont.h>
|
#include <IGUIFont.h>
|
||||||
@ -147,4 +146,3 @@ void drawItemStack(
|
|||||||
const v3s16 &angle,
|
const v3s16 &angle,
|
||||||
const v3s16 &rotation_speed);
|
const v3s16 &rotation_speed);
|
||||||
|
|
||||||
#endif
|
|
||||||
|
@ -18,6 +18,8 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#pragma once
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include "core.h"
|
#include "core.h"
|
||||||
|
|
||||||
|
@ -17,6 +17,8 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#pragma once
|
||||||
|
|
||||||
#include "guiButton.h"
|
#include "guiButton.h"
|
||||||
#include "IGUIButton.h"
|
#include "IGUIButton.h"
|
||||||
|
|
||||||
|
@ -17,6 +17,8 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#pragma once
|
||||||
|
|
||||||
#include "guiButton.h"
|
#include "guiButton.h"
|
||||||
#include "IGUIButton.h"
|
#include "IGUIButton.h"
|
||||||
|
|
||||||
|
@ -18,8 +18,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef HUD_HEADER
|
#pragma once
|
||||||
#define HUD_HEADER
|
|
||||||
|
|
||||||
#include "irrlichttypes_extrabloated.h"
|
#include "irrlichttypes_extrabloated.h"
|
||||||
#include <string>
|
#include <string>
|
||||||
@ -101,4 +100,3 @@ extern const EnumString es_HudElementType[];
|
|||||||
extern const EnumString es_HudElementStat[];
|
extern const EnumString es_HudElementStat[];
|
||||||
extern const EnumString es_HudBuiltinElement[];
|
extern const EnumString es_HudBuiltinElement[];
|
||||||
|
|
||||||
#endif
|
|
||||||
|
@ -18,6 +18,8 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#pragma once
|
||||||
|
|
||||||
#include "lua_api/l_base.h"
|
#include "lua_api/l_base.h"
|
||||||
|
|
||||||
class ModApiParticlesLocal : public ModApiBase
|
class ModApiParticlesLocal : public ModApiBase
|
||||||
|
@ -109,6 +109,8 @@
|
|||||||
* <appro@fy.chalmers.se>
|
* <appro@fy.chalmers.se>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#pragma once
|
||||||
|
|
||||||
#if !defined(DATA_ORDER_IS_BIG_ENDIAN) && !defined(DATA_ORDER_IS_LITTLE_ENDIAN)
|
#if !defined(DATA_ORDER_IS_BIG_ENDIAN) && !defined(DATA_ORDER_IS_LITTLE_ENDIAN)
|
||||||
# error "DATA_ORDER must be defined!"
|
# error "DATA_ORDER must be defined!"
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user