(svn r21211) -Feature: [NewGRF] Allow specifying a "choice list" for cases and genders

This commit is contained in:
rubidium
2010-11-16 16:58:19 +00:00
parent 7167da3521
commit ddf71db8c2
2 changed files with 199 additions and 0 deletions

View File

@@ -61,6 +61,7 @@ struct LanguageMap {
SmallVector<Mapping, 1> case_map; ///< Mapping of NewGRF and OpenTTD IDs for cases.
int GetMapping(int newgrf_id, bool gender) const;
int GetReverseMapping(int openttd_id, bool gender) const;
static const LanguageMap *GetLanguageMap(uint32 grfid, uint8 language_id);
};