final rename

This commit is contained in:
MihailRis 2024-04-24 19:01:28 +03:00
parent 1ecc608ead
commit 4ac8ea1ab3
14 changed files with 20 additions and 20 deletions

View File

@ -1,4 +1,4 @@
#include "PacksManager.h" #include "PacksManager.hpp"
#include "../util/listutil.h" #include "../util/listutil.h"

View File

@ -1,5 +1,5 @@
#ifndef CONTENT_PACKS_MANAGER_H_ #ifndef CONTENT_PACKS_MANAGER_HPP_
#define CONTENT_PACKS_MANAGER_H_ #define CONTENT_PACKS_MANAGER_HPP_
#include "ContentPack.h" #include "ContentPack.h"
@ -44,4 +44,4 @@ public:
static std::vector<std::string> getNames(const std::vector<ContentPack>& packs); static std::vector<std::string> getNames(const std::vector<ContentPack>& packs);
}; };
#endif // CONTENT_PACKS_MANAGER_H_ #endif // CONTENT_PACKS_MANAGER_HPP_

View File

@ -8,7 +8,7 @@
#include "assets/Assets.h" #include "assets/Assets.h"
#include "content/Content.h" #include "content/Content.h"
#include "content/ContentPack.h" #include "content/ContentPack.h"
#include "content/PacksManager.h" #include "content/PacksManager.hpp"
#include "files/engine_paths.h" #include "files/engine_paths.h"
#include "files/settings_io.h" #include "files/settings_io.h"
#include "util/ObjectsKeeper.hpp" #include "util/ObjectsKeeper.hpp"

View File

@ -7,7 +7,7 @@
#include "../content/ContentPack.h" #include "../content/ContentPack.h"
#include "../core_defs.h" #include "../core_defs.h"
#include "../graphics/core/Atlas.hpp" #include "../graphics/core/Atlas.hpp"
#include "../maths/UVRegion.h" #include "../maths/UVRegion.hpp"
#include "../voxels/Block.h" #include "../voxels/Block.h"
#include "UiDocument.h" #include "UiDocument.h"

View File

@ -13,7 +13,7 @@
#include "../../graphics/ui/elements/Menu.hpp" #include "../../graphics/ui/elements/Menu.hpp"
#include "../../graphics/render/WorldRenderer.hpp" #include "../../graphics/render/WorldRenderer.hpp"
#include "../../logic/LevelController.h" #include "../../logic/LevelController.h"
#include "../../logic/scripting/scripting_hud.h" #include "../../logic/scripting/scripting_hud.hpp"
#include "../../physics/Hitbox.h" #include "../../physics/Hitbox.h"
#include "../../voxels/Chunks.h" #include "../../voxels/Chunks.h"
#include "../../world/Level.h" #include "../../world/Level.h"

View File

@ -6,7 +6,7 @@
#include <memory> #include <memory>
#include <vector> #include <vector>
#include <unordered_map> #include <unordered_map>
#include "../../maths/UVRegion.h" #include "../../maths/UVRegion.hpp"
#include "../../typedefs.h" #include "../../typedefs.h"
class ImageData; class ImageData;

View File

@ -6,7 +6,7 @@
#include <glm/glm.hpp> #include <glm/glm.hpp>
#include "commons.hpp" #include "commons.hpp"
#include "../../maths/UVRegion.h" #include "../../maths/UVRegion.hpp"
class Mesh; class Mesh;
class Texture; class Texture;

View File

@ -1,7 +1,7 @@
#ifndef GRAPHICS_CORE_BATCH3D_HPP_ #ifndef GRAPHICS_CORE_BATCH3D_HPP_
#define GRAPHICS_CORE_BATCH3D_HPP_ #define GRAPHICS_CORE_BATCH3D_HPP_
#include "../../maths/UVRegion.h" #include "../../maths/UVRegion.hpp"
#include "../../typedefs.h" #include "../../typedefs.h"
#include <memory> #include <memory>

View File

@ -1,6 +1,6 @@
#include "BlocksRenderer.hpp" #include "BlocksRenderer.hpp"
#include "../core/Mesh.hpp" #include "../core/Mesh.hpp"
#include "../../maths/UVRegion.h" #include "../../maths/UVRegion.hpp"
#include "../../constants.h" #include "../../constants.h"
#include "../../content/Content.h" #include "../../content/Content.h"
#include "../../voxels/Block.h" #include "../../voxels/Block.h"

View File

@ -4,7 +4,7 @@
#include "../../core/Batch2D.hpp" #include "../../core/Batch2D.hpp"
#include "../../core/Texture.hpp" #include "../../core/Texture.hpp"
#include "../../../assets/Assets.h" #include "../../../assets/Assets.h"
#include "../../../maths/UVRegion.h" #include "../../../maths/UVRegion.hpp"
using namespace gui; using namespace gui;

View File

@ -1,4 +1,4 @@
#include "scripting_hud.h" #include "scripting_hud.hpp"
#include "scripting.h" #include "scripting.h"
#include "lua/api_lua.h" #include "lua/api_lua.h"

View File

@ -1,5 +1,5 @@
#ifndef LOGIC_SCRIPTING_SCRIPTING_HUD_H_ #ifndef LOGIC_SCRIPTING_SCRIPTING_HUD_HPP_
#define LOGIC_SCRIPTING_SCRIPTING_HUD_H_ #define LOGIC_SCRIPTING_SCRIPTING_HUD_HPP_
#include "../../typedefs.h" #include "../../typedefs.h"
@ -25,4 +25,4 @@ namespace scripting {
void load_hud_script(scriptenv env, std::string packid, fs::path file); void load_hud_script(scriptenv env, std::string packid, fs::path file);
} }
#endif // LOGIC_SCRIPTING_SCRIPTING_HUD_H_ #endif // LOGIC_SCRIPTING_SCRIPTING_HUD_HPP_

View File

@ -1,5 +1,5 @@
#ifndef MATHS_UVREGION_H_ #ifndef MATHS_UVREGION_HPP_
#define MATHS_UVREGION_H_ #define MATHS_UVREGION_HPP_
struct UVRegion { struct UVRegion {
float u1; float u1;
@ -13,4 +13,4 @@ struct UVRegion {
UVRegion() : u1(0.0f), v1(0.0f), u2(1.0f), v2(1.0f){} UVRegion() : u1(0.0f), v1(0.0f), u2(1.0f), v2(1.0f){}
}; };
#endif // MATHS_UVREGION_H_ #endif // MATHS_UVREGION_HPP_

View File

@ -6,7 +6,7 @@
#include <glm/glm.hpp> #include <glm/glm.hpp>
#include "../maths/aabb.h" #include "../maths/aabb.h"
#include "../maths/UVRegion.h" #include "../maths/UVRegion.hpp"
#include "../typedefs.h" #include "../typedefs.h"
#define BLOCK_ITEM_SUFFIX ".item" #define BLOCK_ITEM_SUFFIX ".item"