From 885897072c9bd756bc66c2bcf97cfaeb6c8f89c5 Mon Sep 17 00:00:00 2001 From: scawful Date: Sat, 11 May 2024 14:48:15 -0400 Subject: [PATCH] inline room object name arrays --- src/app/zelda3/dungeon/object_names.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app/zelda3/dungeon/object_names.h b/src/app/zelda3/dungeon/object_names.h index 15a731b3..cc24aeea 100644 --- a/src/app/zelda3/dungeon/object_names.h +++ b/src/app/zelda3/dungeon/object_names.h @@ -8,7 +8,7 @@ namespace app { namespace zelda3 { namespace dungeon { -static const absl::string_view Type1RoomObjectNames[] = { +constexpr static inline absl::string_view Type1RoomObjectNames[] = { "Ceiling ↔", "Wall (top, north) ↔", "Wall (top, south) ↔", @@ -259,7 +259,7 @@ static const absl::string_view Type1RoomObjectNames[] = { "Nothing", }; -static const absl::string_view Type2RoomObjectNames[] = { +constexpr static inline absl::string_view Type2RoomObjectNames[] = { "Corner (top, concave) ▛", "Corner (top, concave) ▙", "Corner (top, concave) ▜", @@ -326,7 +326,7 @@ static const absl::string_view Type2RoomObjectNames[] = { "Magic bat altar", }; -static const absl::string_view Type3RoomObjectNames[] = { +constexpr static inline absl::string_view Type3RoomObjectNames[] = { "Waterfall face (empty)", "Waterfall face (short)", "Waterfall face (long)",