This commit is contained in:
parent
ee7d5c6d51
commit
c424bde06d
@ -8,6 +8,6 @@
|
|||||||
|
|
||||||
namespace nostalgia::gfx {
|
namespace nostalgia::gfx {
|
||||||
|
|
||||||
const keel::Module *keelModule() noexcept;
|
keel::Module const *keelModule() noexcept;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -8,6 +8,6 @@
|
|||||||
|
|
||||||
namespace nostalgia::gfx {
|
namespace nostalgia::gfx {
|
||||||
|
|
||||||
const studio::Module *studioModule() noexcept;
|
studio::Module const *studioModule() noexcept;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -8,6 +8,6 @@
|
|||||||
|
|
||||||
namespace nostalgia::sound {
|
namespace nostalgia::sound {
|
||||||
|
|
||||||
const keel::Module *keelModule() noexcept;
|
keel::Module const *keelModule() noexcept;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -8,6 +8,6 @@
|
|||||||
|
|
||||||
namespace nostalgia::sound {
|
namespace nostalgia::sound {
|
||||||
|
|
||||||
const studio::Module *studioModule() noexcept;
|
studio::Module const *studioModule() noexcept;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -10,32 +10,30 @@
|
|||||||
|
|
||||||
namespace nostalgia::sound {
|
namespace nostalgia::sound {
|
||||||
|
|
||||||
static class: public keel::Module {
|
static struct: keel::Module {
|
||||||
private:
|
|
||||||
|
|
||||||
public:
|
[[nodiscard]]
|
||||||
[[nodiscard]]
|
ox::String id() const noexcept override {
|
||||||
ox::String id() const noexcept override {
|
return ox::String{"net.drinkingtea.nostalgia.sound"};
|
||||||
return ox::String{"net.drinkingtea.nostalgia.sound"};
|
}
|
||||||
}
|
|
||||||
|
|
||||||
[[nodiscard]]
|
[[nodiscard]]
|
||||||
ox::Vector<keel::TypeDescGenerator> types() const noexcept final {
|
ox::Vector<keel::TypeDescGenerator> types() const noexcept final {
|
||||||
return {
|
return {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
[[nodiscard]]
|
[[nodiscard]]
|
||||||
ox::Vector<keel::Converter> converters() const noexcept final {
|
ox::Vector<keel::Converter> converters() const noexcept final {
|
||||||
return {
|
return {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
[[nodiscard]]
|
[[nodiscard]]
|
||||||
ox::Vector<keel::PackTransform> packTransforms() const noexcept final {
|
ox::Vector<keel::PackTransform> packTransforms() const noexcept final {
|
||||||
return {
|
return {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
} const mod;
|
} const mod;
|
||||||
|
|
||||||
|
@ -8,7 +8,8 @@
|
|||||||
|
|
||||||
namespace nostalgia::sound {
|
namespace nostalgia::sound {
|
||||||
|
|
||||||
static class: public studio::Module {
|
static struct: studio::Module {
|
||||||
|
|
||||||
ox::Vector<studio::EditorMaker> editors(studio::Context&) const noexcept final {
|
ox::Vector<studio::EditorMaker> editors(studio::Context&) const noexcept final {
|
||||||
return {
|
return {
|
||||||
};
|
};
|
||||||
@ -18,6 +19,7 @@ static class: public studio::Module {
|
|||||||
ox::Vector<ox::UPtr<studio::ItemMaker>> out;
|
ox::Vector<ox::UPtr<studio::ItemMaker>> out;
|
||||||
return out;
|
return out;
|
||||||
}
|
}
|
||||||
|
|
||||||
} const mod;
|
} const mod;
|
||||||
|
|
||||||
const studio::Module *studioModule() noexcept {
|
const studio::Module *studioModule() noexcept {
|
||||||
|
@ -52,7 +52,7 @@ static int testUpdateHandler(turbine::Context &tctx) noexcept {
|
|||||||
}
|
}
|
||||||
|
|
||||||
[[maybe_unused]]
|
[[maybe_unused]]
|
||||||
static void testKeyEventHandler(turbine::Context &tctx, turbine::Key key, bool down) noexcept {
|
static void testKeyEventHandler(turbine::Context &tctx, turbine::Key const key, bool const down) noexcept {
|
||||||
if (down) {
|
if (down) {
|
||||||
if (key == turbine::Key::Alpha_Q) {
|
if (key == turbine::Key::Alpha_Q) {
|
||||||
turbine::requestShutdown(tctx);
|
turbine::requestShutdown(tctx);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user