From 10a12f2ab20199df580da5bd7d8d22bae0a58cf0 Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Wed, 31 Jan 2024 23:17:59 -0600 Subject: [PATCH] [nostalgia/core] Add getTileCnt to header --- .../modules/core/include/nostalgia/core/tilesheet.hpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/nostalgia/modules/core/include/nostalgia/core/tilesheet.hpp b/src/nostalgia/modules/core/include/nostalgia/core/tilesheet.hpp index 06beb9c5..3de737d1 100644 --- a/src/nostalgia/modules/core/include/nostalgia/core/tilesheet.hpp +++ b/src/nostalgia/modules/core/include/nostalgia/core/tilesheet.hpp @@ -159,7 +159,10 @@ struct TileSheet { std::size_t idx(TileSheet::SubSheet const&ss, ox::Point const&pt) noexcept; [[nodiscard]] -TileSheet::SubSheet const*getSubsheet(TileSheet const&ts, SubSheetId const id) noexcept; +size_t getTileCnt(TileSheet const&ts) noexcept; + +[[nodiscard]] +TileSheet::SubSheet const*getSubsheet(TileSheet const&ts, SubSheetId id) noexcept; [[nodiscard]] size_t getTileIdx(TileSheet const&ts, SubSheetId id) noexcept;