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.
|
||||
*/
|
||||
|
||||
#ifndef CLIENT_HUD_HEADER
|
||||
#define CLIENT_HUD_HEADER
|
||||
#pragma once
|
||||
|
||||
#include <vector>
|
||||
#include <IGUIFont.h>
|
||||
@ -147,4 +146,3 @@ void drawItemStack(
|
||||
const v3s16 &angle,
|
||||
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.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
#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.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "guiButton.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.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "guiButton.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.
|
||||
*/
|
||||
|
||||
#ifndef HUD_HEADER
|
||||
#define HUD_HEADER
|
||||
#pragma once
|
||||
|
||||
#include "irrlichttypes_extrabloated.h"
|
||||
#include <string>
|
||||
@ -101,4 +100,3 @@ extern const EnumString es_HudElementType[];
|
||||
extern const EnumString es_HudElementStat[];
|
||||
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.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "lua_api/l_base.h"
|
||||
|
||||
class ModApiParticlesLocal : public ModApiBase
|
||||
|
@ -109,6 +109,8 @@
|
||||
* <appro@fy.chalmers.se>
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#if !defined(DATA_ORDER_IS_BIG_ENDIAN) && !defined(DATA_ORDER_IS_LITTLE_ENDIAN)
|
||||
# error "DATA_ORDER must be defined!"
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user