From 74cf0556100747af7a514b093b2d292735506415 Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Mon, 24 Feb 2025 19:43:10 -0600 Subject: [PATCH] [nostalgia] Cleanup --- .../gfx/include/nostalgia/gfx/tilesheet.hpp | 17 ----------------- src/nostalgia/player/app.cpp | 2 +- 2 files changed, 1 insertion(+), 18 deletions(-) diff --git a/src/nostalgia/modules/gfx/include/nostalgia/gfx/tilesheet.hpp b/src/nostalgia/modules/gfx/include/nostalgia/gfx/tilesheet.hpp index f1b6031d..dc4e5ace 100644 --- a/src/nostalgia/modules/gfx/include/nostalgia/gfx/tilesheet.hpp +++ b/src/nostalgia/modules/gfx/include/nostalgia/gfx/tilesheet.hpp @@ -16,23 +16,6 @@ namespace nostalgia::gfx { -struct SubSheetTemplate { - static constexpr auto TypeName = "net.drinkingtea.nostalgia.gfx.SubSheetTemplate"; - static constexpr auto TypeVersion = 1; - ox::String name; - int32_t width{}; - int32_t height{}; - ox::Vector subsheets; -}; - -OX_MODEL_BEGIN(SubSheetTemplate) - OX_MODEL_FIELD(name) - OX_MODEL_FIELD(width) - OX_MODEL_FIELD(height) - OX_MODEL_FIELD(subsheets) -OX_MODEL_END() - - // Predecessor to TileSheet, kept for backward compatibility struct TileSheetV1 { static constexpr auto TypeName = "net.drinkingtea.nostalgia.core.NostalgiaGraphic"; diff --git a/src/nostalgia/player/app.cpp b/src/nostalgia/player/app.cpp index 98cba725..2b29d7eb 100644 --- a/src/nostalgia/player/app.cpp +++ b/src/nostalgia/player/app.cpp @@ -129,7 +129,7 @@ ox::Error run( [[maybe_unused]] ox::StringView project, [[maybe_unused]] ox::StringView appName, [[maybe_unused]] ox::StringView projectDataDir, - ox::SpanView args) noexcept { + ox::SpanView args) noexcept { if (args.size() < 2) { return ox::Error{1, "Please provide path to project directory or OxFS file."}; }