[nostalgia,keel] Move core::TypeStore to Keel
This commit is contained in:
@@ -23,7 +23,7 @@ static void generateTypes(ox::TypeStore *ts) noexcept {
|
||||
|
||||
Project::Project(keel::Context *ctx, ox::String path) noexcept:
|
||||
m_path(std::move(path)),
|
||||
m_typeStore(ctx->rom.get()),
|
||||
m_typeStore(ctx->rom.get(), "/.nostalgia/type_descriptors"),
|
||||
m_fs(ctx->rom.get()),
|
||||
m_ctx(ctx) {
|
||||
oxTracef("nostalgia::studio", "Project: {}", m_path);
|
||||
|
@@ -12,7 +12,7 @@
|
||||
#include <ox/model/descwrite.hpp>
|
||||
#include <ox/std/hashmap.hpp>
|
||||
|
||||
#include <nostalgia/core/typestore.hpp>
|
||||
#include <keel/typestore.hpp>
|
||||
#include <keel/media.hpp>
|
||||
|
||||
#include "nostalgiastudio_export.h"
|
||||
@@ -41,7 +41,7 @@ constexpr ox::Result<ox::StringView> fileExt(ox::CRStringView path) noexcept {
|
||||
class NOSTALGIASTUDIO_EXPORT Project {
|
||||
private:
|
||||
ox::String m_path;
|
||||
mutable core::TypeStore m_typeStore;
|
||||
mutable keel::TypeStore m_typeStore;
|
||||
mutable ox::FileSystem *m_fs = nullptr;
|
||||
keel::Context *m_ctx = nullptr;
|
||||
ox::HashMap<ox::String, ox::Vector<ox::String>> m_fileExtFileMap;
|
||||
|
Reference in New Issue
Block a user