summaryrefslogtreecommitdiff
path: root/src/game/game_text.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/game_text.hpp')
-rw-r--r--src/game/game_text.hpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/game/game_text.hpp b/src/game/game_text.hpp
index 11c63b5ab..d199a5281 100644
--- a/src/game/game_text.hpp
+++ b/src/game/game_text.hpp
@@ -29,12 +29,12 @@ struct LanguageStrings {
/** Container for all the game strings. */
struct GameStrings {
- uint version; ///< The version of the language strings.
- LanguageStrings *cur_language; ///< The current (compiled) language.
+ uint version; ///< The version of the language strings.
+ std::shared_ptr<LanguageStrings> cur_language; ///< The current (compiled) language.
- AutoDeleteSmallVector<LanguageStrings *> raw_strings; ///< The raw strings per language, first must be English/the master language!.
- AutoDeleteSmallVector<LanguageStrings *> compiled_strings; ///< The compiled strings per language, first must be English/the master language!.
- StringList string_names; ///< The names of the compiled strings.
+ std::vector<std::unique_ptr<LanguageStrings>> raw_strings; ///< The raw strings per language, first must be English/the master language!.
+ std::vector<std::shared_ptr<LanguageStrings>> compiled_strings; ///< The compiled strings per language, first must be English/the master language!.
+ StringList string_names; ///< The names of the compiled strings.
void Compile();
};