mirror of
https://github.com/luanti-org/luanti.git
synced 2025-12-05 15:15:25 +01:00
Rename hud.h/cpp to hud_element.h/cpp
To prevent include conflicts
This commit is contained in:
@@ -417,7 +417,7 @@ set(independent_SRCS
|
|||||||
face_position_cache.cpp
|
face_position_cache.cpp
|
||||||
gettext_plural_form.cpp
|
gettext_plural_form.cpp
|
||||||
httpfetch.cpp
|
httpfetch.cpp
|
||||||
hud.cpp
|
hud_element.cpp
|
||||||
inventory.cpp
|
inventory.cpp
|
||||||
itemstackmetadata.cpp
|
itemstackmetadata.cpp
|
||||||
log.cpp
|
log.cpp
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include "irrlichttypes.h"
|
#include "irrlichttypes.h"
|
||||||
#include "../hud.h" // HudElementStat
|
#include "hud_element.h" // HudElementStat
|
||||||
|
|
||||||
struct ParticleParameters;
|
struct ParticleParameters;
|
||||||
struct ParticleSpawnerParameters;
|
struct ParticleSpawnerParameters;
|
||||||
|
|||||||
@@ -14,7 +14,7 @@
|
|||||||
#include "client.h"
|
#include "client.h"
|
||||||
#include "clientmap.h"
|
#include "clientmap.h"
|
||||||
#include "fontengine.h"
|
#include "fontengine.h"
|
||||||
#include "hud.h" // HUD_FLAG_*
|
#include "hud_element.h" // HUD_FLAG_*
|
||||||
#include "nodedef.h"
|
#include "nodedef.h"
|
||||||
#include "localplayer.h"
|
#include "localplayer.h"
|
||||||
#include "profiler.h"
|
#include "profiler.h"
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
// Copyright (C) 2010-2013 blue42u, Jonathon Anderson <anderjon@umail.iu.edu>
|
// Copyright (C) 2010-2013 blue42u, Jonathon Anderson <anderjon@umail.iu.edu>
|
||||||
// Copyright (C) 2010-2013 kwolekr, Ryan Kwolek <kwolekr@minetest.net>
|
// Copyright (C) 2010-2013 kwolekr, Ryan Kwolek <kwolekr@minetest.net>
|
||||||
|
|
||||||
#include "client/hud.h"
|
#include "hud.h"
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
#include <CMeshBuffer.h>
|
#include <CMeshBuffer.h>
|
||||||
#include "irr_ptr.h"
|
#include "irr_ptr.h"
|
||||||
#include "irr_aabb3d.h"
|
#include "irr_aabb3d.h"
|
||||||
#include "../hud.h"
|
#include "hud_element.h"
|
||||||
|
|
||||||
class Client;
|
class Client;
|
||||||
class ITextureSource;
|
class ITextureSource;
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
#include "inputhandler.h"
|
#include "inputhandler.h"
|
||||||
#include "gui/mainmenumanager.h"
|
#include "gui/mainmenumanager.h"
|
||||||
#include "gui/touchcontrols.h"
|
#include "gui/touchcontrols.h"
|
||||||
#include "hud.h"
|
#include "hud_element.h"
|
||||||
#include "log_internal.h"
|
#include "log_internal.h"
|
||||||
#include "client/renderingengine.h"
|
#include "client/renderingengine.h"
|
||||||
|
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
#include "CMeshBuffer.h"
|
#include "CMeshBuffer.h"
|
||||||
|
|
||||||
#include "constants.h"
|
#include "constants.h"
|
||||||
#include "../hud.h"
|
#include "hud_element.h"
|
||||||
#include "mapnode.h"
|
#include "mapnode.h"
|
||||||
#include "util/thread.h"
|
#include "util/thread.h"
|
||||||
#include <map>
|
#include <map>
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
// SPDX-License-Identifier: LGPL-2.1-or-later
|
// SPDX-License-Identifier: LGPL-2.1-or-later
|
||||||
// Copyright (C) 2010-2018 celeron55, Perttu Ahola <celeron55@gmail.com>
|
// Copyright (C) 2010-2018 celeron55, Perttu Ahola <celeron55@gmail.com>
|
||||||
|
|
||||||
#include "hud.h"
|
#include "hud_element.h"
|
||||||
|
|
||||||
const struct EnumString es_HudElementType[] =
|
const struct EnumString es_HudElementType[] =
|
||||||
{
|
{
|
||||||
@@ -5,7 +5,7 @@
|
|||||||
#include "player.h"
|
#include "player.h"
|
||||||
|
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
#include "hud.h"
|
#include "hud_element.h"
|
||||||
#include "constants.h"
|
#include "constants.h"
|
||||||
#include "gamedef.h"
|
#include "gamedef.h"
|
||||||
#include <tuple>
|
#include <tuple>
|
||||||
|
|||||||
@@ -23,8 +23,8 @@ extern "C" {
|
|||||||
#include "itemgroup.h"
|
#include "itemgroup.h"
|
||||||
#include "util/pointabilities.h"
|
#include "util/pointabilities.h"
|
||||||
// We do an explicit path include because by default c_content.h include src/client/hud.h
|
// We do an explicit path include because by default c_content.h include src/client/hud.h
|
||||||
// prior to the src/hud.h, which is not good on server only build
|
// prior to the src/hud_element.h, which is not good on server only build
|
||||||
#include "../../hud.h"
|
#include "hud_element.h"
|
||||||
|
|
||||||
class IGameDef;
|
class IGameDef;
|
||||||
class IItemDefManager;
|
class IItemDefManager;
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
#include "lua_api/l_item.h"
|
#include "lua_api/l_item.h"
|
||||||
#include "script/common/c_converter.h"
|
#include "script/common/c_converter.h"
|
||||||
#include "client/localplayer.h"
|
#include "client/localplayer.h"
|
||||||
#include "hud.h"
|
#include "hud_element.h"
|
||||||
#include "common/c_content.h"
|
#include "common/c_content.h"
|
||||||
#include "client/content_cao.h"
|
#include "client/content_cao.h"
|
||||||
|
|
||||||
|
|||||||
@@ -20,7 +20,7 @@
|
|||||||
#include "server.h"
|
#include "server.h"
|
||||||
#include "serverenvironment.h"
|
#include "serverenvironment.h"
|
||||||
#include "settings.h"
|
#include "settings.h"
|
||||||
#include "hud.h"
|
#include "hud_element.h"
|
||||||
#include "server/luaentity_sao.h"
|
#include "server/luaentity_sao.h"
|
||||||
#include "server/player_sao.h"
|
#include "server/player_sao.h"
|
||||||
#include "server/serverinventorymgr.h"
|
#include "server/serverinventorymgr.h"
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
#include "irr_v3d.h"
|
#include "irr_v3d.h"
|
||||||
#include "map.h"
|
#include "map.h"
|
||||||
#include "hud.h" // HudElementStat
|
#include "hud_element.h" // HudElementStat
|
||||||
#include "gamedef.h"
|
#include "gamedef.h"
|
||||||
#include "content/subgames.h"
|
#include "content/subgames.h"
|
||||||
#include "network/peerhandler.h"
|
#include "network/peerhandler.h"
|
||||||
|
|||||||
Reference in New Issue
Block a user