File diff r23538:8df50944b27a → r23539:bce8329ee42d
src/game/game_text.hpp
Show inline comments
 
@@ -23,20 +23,20 @@ struct LanguageStrings {
 
	const char *language; ///< Name of the language (base filename).
 
	StringList lines;     ///< The lines of the file to pass into the parser/encoder.
 

	
 
	LanguageStrings(const char *language, const char *end = NULL);
 
	~LanguageStrings();
 
};
 

	
 
/** Container for all the game strings. */
 
struct GameStrings {
 
	uint version;                  ///< The version of the language strings.
 
	LanguageStrings *cur_language; ///< The current (compiled) language.
 

	
 
	AutoDeleteSmallVector<LanguageStrings *, 4> raw_strings;      ///< The raw strings per language, first must be English/the master language!.
 
	AutoDeleteSmallVector<LanguageStrings *, 4> compiled_strings; ///< The compiled strings per language, first must be English/the master language!.
 
	StringList string_names;                                      ///< The names of the compiled strings.
 
	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.
 

	
 
	void Compile();
 
};
 

	
 
#endif /* GAME_TEXT_HPP */