mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 11:31:49 +00:00
refactor
This commit is contained in:
parent
2580b9dc2f
commit
3f3ff2a1f7
4 changed files with 48 additions and 36 deletions
|
|
@ -8,9 +8,14 @@
|
|||
#include "../typedefs.h"
|
||||
#include "../constants.h"
|
||||
|
||||
#include "Content.h"
|
||||
|
||||
namespace fs = std::filesystem;
|
||||
|
||||
class Content;
|
||||
struct contententry {
|
||||
contenttype type;
|
||||
std::string name;
|
||||
};
|
||||
|
||||
// TODO: make it unified for all types of content
|
||||
|
||||
|
|
@ -84,6 +89,8 @@ public:
|
|||
inline size_t countItems() const {
|
||||
return items.size();
|
||||
}
|
||||
|
||||
std::vector<contententry> getMissingContent() const;
|
||||
};
|
||||
|
||||
#endif // CONTENT_CONTENT_LUT_H_
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue