xoreos  0.0.5
Classes | Namespaces | Macros | Enumerations
language.h File Reference

Types and functions related to language. More...

#include <map>
#include <vector>
#include "src/common/types.h"
#include "src/common/singleton.h"
#include "src/common/encoding.h"
#include "src/aurora/types.h"
Include dependency graph for language.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Aurora::LanguageManager
 The global language manager. More...
 
struct  Aurora::LanguageManager::Declaration
 

Namespaces

 Common
 
 Aurora
 

Macros

#define LangMan   ::Aurora::LanguageManager::instance()
 Shortcut for accessing the language manager. More...
 

Enumerations

enum  Aurora::Language {
  Aurora::kLanguageEnglish, Aurora::kLanguageFrench, Aurora::kLanguageGerman, Aurora::kLanguageItalian,
  Aurora::kLanguageSpanish, Aurora::kLanguagePolish, Aurora::kLanguageCzech, Aurora::kLanguageHungarian,
  Aurora::kLanguageRussian, Aurora::kLanguageKorean, Aurora::kLanguageChineseTraditional, Aurora::kLanguageChineseSimplified,
  Aurora::kLanguageJapanese, Aurora::kLanguageMAX, Aurora::kLanguageDebug = 0xFFFFFFFD, Aurora::kLanguageChinese = 0xFFFFFFFE,
  Aurora::kLanguageInvalid = 0xFFFFFFFF
}
 
enum  Aurora::LanguageGender { Aurora::kLanguageGenderMale = 0, Aurora::kLanguageGenderFemale = 1, Aurora::kLanguageGenderMAX, Aurora::kLanguageGenderCurrent = 0xFF }
 

Detailed Description

Types and functions related to language.

Definition in file language.h.

Macro Definition Documentation

◆ LangMan

#define LangMan   ::Aurora::LanguageManager::instance()

Shortcut for accessing the language manager.

Definition at line 275 of file language.h.

Referenced by Aurora::TalkManager::addTable(), Engines::EngineManager::cleanup(), Engines::Console::cmdGetLang(), Engines::Console::cmdListLangs(), Engines::Console::cmdSetLang(), Engines::DragonAge::Creature::createFakePC(), Engines::DragonAge2::Creature::createFakePC(), Engines::Jade::JadeEngine::declareLanguages(), Engines::KotOR2::KotOR2Engine::declareLanguages(), Engines::NWN2::NWN2Engine::declareLanguages(), Engines::Sonic::SonicEngine::declareLanguages(), Engines::DragonAge::DragonAgeEngine::declareLanguages(), Engines::DragonAge2::DragonAge2Engine::declareLanguages(), Engines::Witcher::WitcherEngine::declareLanguages(), Engines::KotOR::KotOREngine::declareLanguages(), Engines::NWN::NWNEngine::declareLanguages(), Engines::KotOR2::KotOR2Engine::detectLanguages(), Engines::NWN2::NWN2Engine::detectLanguages(), Engines::KotOR::KotOREngine::detectLanguages(), Engines::NWN::NWNEngine::detectLanguages(), Engines::Witcher::WitcherEngine::detectLanguages(), Engines::Engine::evaluateLanguage(), Engines::fiddleLangChinese(), Engines::Jade::findTLKs(), Aurora::TalkManager::getSoundResRef(), Aurora::TalkManager::getString(), Aurora::LocString::getString(), Engines::Jade::getTLKLanguage(), Aurora::LocString::hasString(), Engines::KotOR2::KotOR2Engine::init(), Engines::Jade::JadeEngine::init(), Engines::NWN2::NWN2Engine::init(), Engines::Sonic::SonicEngine::init(), Engines::KotOR::KotOREngine::init(), Engines::DragonAge2::DragonAge2Engine::init(), Engines::DragonAge::DragonAgeEngine::init(), Engines::Witcher::WitcherEngine::init(), Engines::NWN::NWNEngine::init(), Engines::Jade::JadeEngine::initResources(), Engines::GameInstanceEngine::listLanguages(), Graphics::Aurora::TextureFont::load(), Engines::Sonic::SonicEngine::loadLanguageFiles(), Engines::Witcher::WitcherEngine::loadLanguageFiles(), Aurora::LocString::readString(), Aurora::TalkTable_TLK::readString(), Engines::resolveLangInvalid(), Engines::resolveLangUnavailable(), Aurora::LocString::setString(), Engines::NWN2::Campaign::usePC(), and Engines::NWN::Module::usePC().