This commit is contained in:
parent
0003454311
commit
d4329981e7
@ -20,7 +20,7 @@ static class: public studio::Module {
|
||||
}
|
||||
|
||||
ox::Vector<ox::UPtr<studio::ItemMaker>> itemMakers(studio::StudioContext&) const noexcept final {
|
||||
ox::Vector<ox::UniquePtr<studio::ItemMaker>> out;
|
||||
ox::Vector<ox::UPtr<studio::ItemMaker>> out;
|
||||
out.emplace_back(ox::make<studio::ItemMakerT<TileSheet>>("Tile Sheet", "TileSheets", FileExt_nts));
|
||||
out.emplace_back(ox::make<studio::ItemMakerT<Palette>>("Palette", "Palettes", FileExt_npal, Palette{
|
||||
.colorNames = {},
|
||||
|
@ -15,7 +15,7 @@ static class: public studio::Module {
|
||||
}
|
||||
|
||||
ox::Vector<ox::UPtr<studio::ItemMaker>> itemMakers(studio::StudioContext&) const noexcept final {
|
||||
ox::Vector<ox::UniquePtr<studio::ItemMaker>> out;
|
||||
ox::Vector<ox::UPtr<studio::ItemMaker>> out;
|
||||
return out;
|
||||
}
|
||||
} const mod;
|
||||
|
@ -29,7 +29,7 @@ class NewProject: public studio::Popup {
|
||||
ox::String const m_projectDataDir;
|
||||
ox::String m_projectPath;
|
||||
ox::IString<255> m_projectName;
|
||||
ox::Vector<ox::UniquePtr<studio::ItemMaker>> m_types;
|
||||
ox::Vector<ox::UPtr<studio::ItemMaker>> m_types;
|
||||
bool m_open = false;
|
||||
|
||||
public:
|
||||
|
@ -24,7 +24,7 @@ class Task: public ox::SignalHandler {
|
||||
|
||||
class TaskRunner {
|
||||
private:
|
||||
ox::Vector<ox::UniquePtr<studio::Task>> m_tasks;
|
||||
ox::Vector<ox::UPtr<studio::Task>> m_tasks;
|
||||
public:
|
||||
void update(turbine::Context &ctx) noexcept;
|
||||
void add(Task &task) noexcept;
|
||||
|
Loading…
x
Reference in New Issue
Block a user