This commit is contained in:
2025-11-03 09:52:54 +01:00
parent 1409ab5bff
commit 3f1c737247
32 changed files with 254 additions and 243 deletions
+4 -4
View File
@@ -11,7 +11,7 @@
#include <unordered_map>
#include <vector>
namespace jdd {
namespace Jdd {
// Entry metadata for each resource in the pack
struct ResourceEntry {
@@ -32,9 +32,9 @@ class ResourcePack {
// Disable copy/move
ResourcePack(const ResourcePack&) = delete;
ResourcePack& operator=(const ResourcePack&) = delete;
auto operator=(const ResourcePack&) -> ResourcePack& = delete;
ResourcePack(ResourcePack&&) = delete;
ResourcePack& operator=(ResourcePack&&) = delete;
auto operator=(ResourcePack&&) -> ResourcePack& = delete;
// Add a single file to the pack
auto addFile(const std::string& filepath, const std::string& pack_name) -> bool;
@@ -89,6 +89,6 @@ class ResourcePack {
bool loaded_{false};
};
} // namespace jdd
} // namespace Jdd
#endif // RESOURCE_PACK_HPP