Squashed 'deps/nostalgia/' changes from 124c7029..f128664a
f128664a [olympic/studio] Add ig::IndentStackItem e84df780 [glutils] Add ProgramSource::vboLen caa59f37 [nostalgia/core] Add functions for mapping tile idx to subsheet 1cf09433 [nostalgia/core/studio] Cleanup TileSheetEditor with new GlUtils helpers 9948346c [ox/model] Fix clangd false alarm aa8200be [glutils] Add helper functions for setting up shaders git-subtree-dir: deps/nostalgia git-subtree-split: f128664a81b817aaf066de02cc3a09650958ace9
This commit is contained in:
7
deps/ox/src/ox/model/modelvalue.hpp
vendored
7
deps/ox/src/ox/model/modelvalue.hpp
vendored
@ -334,7 +334,12 @@ consteval bool isVector(const ModelValueVector*) noexcept {
|
||||
return true;
|
||||
}
|
||||
|
||||
constexpr Error model(auto *h, CommonPtrWith<ModelObject> auto *obj) noexcept;
|
||||
constexpr Error model(auto *h, CommonPtrWith<ModelUnion> auto *obj) noexcept;
|
||||
|
||||
|
||||
class ModelObject {
|
||||
friend constexpr Error model(auto *h, CommonPtrWith<ModelObject> auto *obj) noexcept;
|
||||
public:
|
||||
struct Field {
|
||||
String name;
|
||||
@ -517,7 +522,7 @@ class ModelUnion {
|
||||
String name;
|
||||
ModelValue value;
|
||||
};
|
||||
oxModelFriend(ModelUnion);
|
||||
friend constexpr Error model(auto *h, CommonPtrWith<ModelUnion> auto *obj) noexcept;
|
||||
friend ModelValue;
|
||||
Vector<UniquePtr<Field>> m_fieldsOrder;
|
||||
HashMap<String, Field*> m_fields;
|
||||
|
Reference in New Issue
Block a user