This commit is contained in:
parent
67108e58de
commit
9123a328ac
@ -1,27 +0,0 @@
|
|||||||
/*
|
|
||||||
* Copyright 2023 - 2025 Gary Talent (gary@drinkingtea.net). All rights reserved.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#include <ox/std/string.hpp>
|
|
||||||
#include <ox/std/vector.hpp>
|
|
||||||
#include <ox/model/def.hpp>
|
|
||||||
|
|
||||||
namespace jasper::core {
|
|
||||||
|
|
||||||
struct AnimPage {
|
|
||||||
static constexpr auto TypeName = "net.drinkingtea.jasper.core.AnimPage";
|
|
||||||
static constexpr auto TypeVersion = 1;
|
|
||||||
static constexpr auto Preloadable = true;
|
|
||||||
ox::String tilesheetPath;
|
|
||||||
ox::String subsheetPath;
|
|
||||||
};
|
|
||||||
|
|
||||||
oxModelBegin(AnimPage)
|
|
||||||
oxModelFieldRename(tilesheetPath, tilesheet_path)
|
|
||||||
oxModelFieldRename(subsheetPath, subsheet_path)
|
|
||||||
oxModelEnd()
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
namespace jasper::core {
|
namespace jasper::core {
|
||||||
|
|
||||||
class CoreModule: public keel::Module {
|
static class: public keel::Module {
|
||||||
private:
|
private:
|
||||||
|
|
||||||
public:
|
public:
|
||||||
@ -36,9 +36,8 @@ class CoreModule: public keel::Module {
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
} mod;
|
||||||
|
|
||||||
static const CoreModule mod;
|
|
||||||
keel::Module const*keelModule() noexcept {
|
keel::Module const*keelModule() noexcept {
|
||||||
return &mod;
|
return &mod;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user