(svn r21165) -Codechange: move the case/gender meta data into the language metadata struct as well

This commit is contained in:
rubidium
2010-11-13 14:36:43 +00:00
parent 9c792914f0
commit ce1e4a3448
3 changed files with 56 additions and 25 deletions

View File

@@ -1315,6 +1315,8 @@ bool LanguagePackHeader::IsValid() const
this->plural_form < LANGUAGE_MAX_PLURAL &&
this->text_dir <= 1 &&
this->newgrflangid < MAX_LANG &&
this->num_genders < MAX_NUM_GENDERS &&
this->num_cases < MAX_NUM_CASES &&
StrValid(this->name, lastof(this->name)) &&
StrValid(this->own_name, lastof(this->own_name)) &&
StrValid(this->isocode, lastof(this->isocode)) &&