the final rename

This commit is contained in:
MihailRis
2024-05-06 03:38:19 +03:00
parent f27a418dbe
commit 1627e21c1d
196 changed files with 836 additions and 815 deletions
+6 -6
View File
@@ -1,14 +1,14 @@
#include "WorldConverter.h"
#include "WorldConverter.hpp"
#include "WorldFiles.h"
#include "WorldFiles.hpp"
#include "../content/ContentLUT.hpp"
#include "../data/dynamic.h"
#include "../data/dynamic.hpp"
#include "../debug/Logger.hpp"
#include "../files/files.h"
#include "../objects/Player.h"
#include "../files/files.hpp"
#include "../objects/Player.hpp"
#include "../util/ThreadPool.hpp"
#include "../voxels/Chunk.h"
#include "../voxels/Chunk.hpp"
#include <memory>
#include <iostream>
@@ -1,12 +1,12 @@
#ifndef FILES_WORLD_CONVERTER_H_
#define FILES_WORLD_CONVERTER_H_
#ifndef FILES_WORLD_CONVERTER_HPP_
#define FILES_WORLD_CONVERTER_HPP_
#include <queue>
#include <memory>
#include <filesystem>
#include "../typedefs.h"
#include "../delegates.h"
#include "../typedefs.hpp"
#include "../delegates.hpp"
#include "../interfaces/Task.hpp"
namespace fs = std::filesystem;
@@ -63,4 +63,4 @@ public:
);
};
#endif // FILES_WORLD_CONVERTER_H_
#endif // FILES_WORLD_CONVERTER_HPP_
+16 -16
View File
@@ -1,24 +1,24 @@
#include "WorldFiles.h"
#include "WorldFiles.hpp"
#include "../coders/byte_utils.hpp"
#include "../coders/json.h"
#include "../constants.h"
#include "../content/Content.h"
#include "../coders/json.hpp"
#include "../constants.hpp"
#include "../content/Content.hpp"
#include "../core_defs.hpp"
#include "../data/dynamic.h"
#include "../items/Inventory.h"
#include "../items/ItemDef.h"
#include "../lighting/Lightmap.h"
#include "../maths/voxmaths.h"
#include "../objects/Player.h"
#include "../physics/Hitbox.h"
#include "../typedefs.h"
#include "../data/dynamic.hpp"
#include "../items/Inventory.hpp"
#include "../items/ItemDef.hpp"
#include "../lighting/Lightmap.hpp"
#include "../maths/voxmaths.hpp"
#include "../objects/Player.hpp"
#include "../physics/Hitbox.hpp"
#include "../typedefs.hpp"
#include "../util/data_io.hpp"
#include "../voxels/Block.h"
#include "../voxels/Chunk.h"
#include "../voxels/voxel.h"
#include "../voxels/Block.hpp"
#include "../voxels/Chunk.hpp"
#include "../voxels/voxel.hpp"
#include "../window/Camera.hpp"
#include "../world/World.h"
#include "../world/World.hpp"
#include <cassert>
#include <iostream>
@@ -1,13 +1,13 @@
#ifndef FILES_WORLD_FILES_H_
#define FILES_WORLD_FILES_H_
#ifndef FILES_WORLD_FILES_HPP_
#define FILES_WORLD_FILES_HPP_
#include "WorldRegions.hpp"
#include "files.h"
#include "../typedefs.h"
#include "../settings.h"
#include "../content/ContentPack.h"
#include "../voxels/Chunk.h"
#include "files.hpp"
#include "../typedefs.hpp"
#include "../settings.hpp"
#include "../content/ContentPack.hpp"
#include "../voxels/Chunk.hpp"
#include <vector>
#include <string>
@@ -73,4 +73,4 @@ public:
}
};
#endif // FILES_WORLD_FILES_H_
#endif // FILES_WORLD_FILES_HPP_
+5 -4
View File
@@ -1,10 +1,11 @@
#include "WorldRegions.hpp"
#include "../coders/rle.hpp"
#include "../util/data_io.hpp"
#include "../coders/byte_utils.hpp"
#include "../maths/voxmaths.h"
#include "../items/Inventory.h"
#include "../coders/rle.hpp"
#include "../data/dynamic.hpp"
#include "../items/Inventory.hpp"
#include "../maths/voxmaths.hpp"
#include "../util/data_io.hpp"
#include <cstring>
+3 -3
View File
@@ -1,10 +1,10 @@
#ifndef FILES_WORLD_REGIONS_HPP_
#define FILES_WORLD_REGIONS_HPP_
#include "files.h"
#include "../typedefs.h"
#include "files.hpp"
#include "../typedefs.hpp"
#include "../util/BufferPool.hpp"
#include "../voxels/Chunk.h"
#include "../voxels/Chunk.hpp"
#include <mutex>
#include <memory>
+3 -3
View File
@@ -1,4 +1,4 @@
#include "engine_paths.h"
#include "engine_paths.hpp"
#include <stack>
#include <sstream>
@@ -6,8 +6,8 @@
#include <algorithm>
#include "../util/stringutil.hpp"
#include "../typedefs.h"
#include "WorldFiles.h"
#include "../typedefs.hpp"
#include "WorldFiles.hpp"
const fs::path SCREENSHOTS_FOLDER {"screenshots"};
const fs::path CONTROLS_FILE {"controls.json"};
@@ -1,12 +1,12 @@
#ifndef FILES_ENGINE_PATHS_H_
#define FILES_ENGINE_PATHS_H_
#ifndef FILES_ENGINE_PATHS_HPP_
#define FILES_ENGINE_PATHS_HPP_
#include <string>
#include <vector>
#include <stdexcept>
#include <filesystem>
#include "../content/ContentPack.h"
#include "../content/ContentPack.hpp"
namespace fs = std::filesystem;
@@ -58,4 +58,4 @@ public:
const fs::path& getMainRoot() const;
};
#endif // FILES_ENGINE_PATHS_H_
#endif // FILES_ENGINE_PATHS_HPP_
+3 -3
View File
@@ -1,9 +1,9 @@
#include "files.h"
#include "files.hpp"
#include "../coders/json.h"
#include "../coders/json.hpp"
#include "../coders/gzip.hpp"
#include "../util/stringutil.hpp"
#include "../data/dynamic.h"
#include "../data/dynamic.hpp"
#include <fstream>
#include <iostream>
+4 -4
View File
@@ -1,12 +1,12 @@
#ifndef FILES_FILES_H_
#define FILES_FILES_H_
#ifndef FILES_FILES_HPP_
#define FILES_FILES_HPP_
#include <string>
#include <vector>
#include <memory>
#include <fstream>
#include <filesystem>
#include "../typedefs.h"
#include "../typedefs.hpp"
namespace fs = std::filesystem;
@@ -69,4 +69,4 @@ namespace files {
std::vector<std::string> read_list(fs::path file);
}
#endif /* FILES_FILES_H_ */
#endif /* FILES_FILES_HPP_ */
+2 -2
View File
@@ -3,9 +3,9 @@
#include "../window/Events.hpp"
#include "../window/input.hpp"
#include "../coders/toml.hpp"
#include "../coders/json.h"
#include "../coders/json.hpp"
#include "../debug/Logger.hpp"
#include "../settings.h"
#include "../settings.hpp"
#include <memory>
+1 -1
View File
@@ -1,7 +1,7 @@
#ifndef FILES_SETTINGS_IO_HPP_
#define FILES_SETTINGS_IO_HPP_
#include "../data/dynamic.h"
#include "../data/dynamic.hpp"
#include <string>
#include <memory>