inline room object name arrays
This commit is contained in:
@@ -8,7 +8,7 @@ namespace app {
|
|||||||
namespace zelda3 {
|
namespace zelda3 {
|
||||||
namespace dungeon {
|
namespace dungeon {
|
||||||
|
|
||||||
static const absl::string_view Type1RoomObjectNames[] = {
|
constexpr static inline absl::string_view Type1RoomObjectNames[] = {
|
||||||
"Ceiling ↔",
|
"Ceiling ↔",
|
||||||
"Wall (top, north) ↔",
|
"Wall (top, north) ↔",
|
||||||
"Wall (top, south) ↔",
|
"Wall (top, south) ↔",
|
||||||
@@ -259,7 +259,7 @@ static const absl::string_view Type1RoomObjectNames[] = {
|
|||||||
"Nothing",
|
"Nothing",
|
||||||
};
|
};
|
||||||
|
|
||||||
static const absl::string_view Type2RoomObjectNames[] = {
|
constexpr static inline absl::string_view Type2RoomObjectNames[] = {
|
||||||
"Corner (top, concave) ▛",
|
"Corner (top, concave) ▛",
|
||||||
"Corner (top, concave) ▙",
|
"Corner (top, concave) ▙",
|
||||||
"Corner (top, concave) ▜",
|
"Corner (top, concave) ▜",
|
||||||
@@ -326,7 +326,7 @@ static const absl::string_view Type2RoomObjectNames[] = {
|
|||||||
"Magic bat altar",
|
"Magic bat altar",
|
||||||
};
|
};
|
||||||
|
|
||||||
static const absl::string_view Type3RoomObjectNames[] = {
|
constexpr static inline absl::string_view Type3RoomObjectNames[] = {
|
||||||
"Waterfall face (empty)",
|
"Waterfall face (empty)",
|
||||||
"Waterfall face (short)",
|
"Waterfall face (short)",
|
||||||
"Waterfall face (long)",
|
"Waterfall face (long)",
|
||||||
|
|||||||
Reference in New Issue
Block a user