mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-09 04:51:49 +00:00
fix and cleanup
This commit is contained in:
parent
3beafe953f
commit
cd5c6a889c
5 changed files with 9 additions and 39 deletions
|
|
@ -7,7 +7,6 @@
|
|||
#include "content/Content.hpp"
|
||||
#include "content/ContentPack.hpp"
|
||||
#include "graphics/core/Atlas.hpp"
|
||||
#include "graphics/commons/Model.hpp"
|
||||
#include "maths/UVRegion.hpp"
|
||||
#include "voxels/Block.hpp"
|
||||
#include "core_defs.hpp"
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@
|
|||
#include <unordered_map>
|
||||
|
||||
#include "maths/UVRegion.hpp"
|
||||
#include "graphics/commons/Model.hpp"
|
||||
|
||||
class Content;
|
||||
class Assets;
|
||||
|
|
@ -15,10 +16,6 @@ class Block;
|
|||
struct UVRegion;
|
||||
struct GraphicsSettings;
|
||||
|
||||
namespace model {
|
||||
struct Model;
|
||||
}
|
||||
|
||||
class ContentGfxCache {
|
||||
const Content& content;
|
||||
const Assets& assets;
|
||||
|
|
|
|||
|
|
@ -16,8 +16,8 @@ using namespace std::literals;
|
|||
using namespace langs;
|
||||
|
||||
namespace {
|
||||
static std::unique_ptr<langs::Lang> current;
|
||||
static std::unordered_map<std::string, LocaleInfo> locales_info;
|
||||
std::unique_ptr<langs::Lang> current;
|
||||
std::unordered_map<std::string, LocaleInfo> locales_info;
|
||||
}
|
||||
|
||||
langs::Lang::Lang(std::string locale) : locale(std::move(locale)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue