diff options
author | Bardur Arantsson <bardur@scientician.net> | 2016-10-05 18:45:08 +0200 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2016-10-05 18:45:08 +0200 |
commit | 7ccb0c1a48d571abd6dc3aca725275e2d264aa2d (patch) | |
tree | cf8704730d08eb3567e9de519f768b6f8baae4af /src/dungeon_info_type.hpp | |
parent | 667acd0e312301ad613b6a71f843c51d2062aee6 (diff) |
Change strings in dungeon_info_type to std::string
Diffstat (limited to 'src/dungeon_info_type.hpp')
-rw-r--r-- | src/dungeon_info_type.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/dungeon_info_type.hpp b/src/dungeon_info_type.hpp index b15cf9fe..324a32bd 100644 --- a/src/dungeon_info_type.hpp +++ b/src/dungeon_info_type.hpp @@ -15,11 +15,11 @@ constexpr int TOWN_DUNGEON = 4; /* A structure for the != dungeon types */ struct dungeon_info_type { - const char *name = nullptr; /* Name */ - char *text = nullptr; /* Description */ - char short_name[3] = { 0 }; /* Short name */ + std::string name; /* Name */ + std::string text; /* Description */ + std::string short_name; /* Short name */ - char generator[30] = { 0 }; /* Name of the level generator */ + std::string generator; /* Name of the level generator */ s16b floor1 = 0; /* Floor tile 1 */ byte floor_percent1[2] = { 0 }; /* Chance of type 1 */ |