mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-12 07:48:16 -05:00
ZoneLoading: Save which language a zone has when loading
This commit is contained in:
@ -6,6 +6,7 @@ Zone::Zone(std::string name, const zone_priority_t priority, IZoneAssetPools* po
|
||||
m_priority = priority;
|
||||
m_pools = pools;
|
||||
m_game = game;
|
||||
m_language = ZoneLanguage::LANGUAGE_NONE;
|
||||
}
|
||||
|
||||
IZoneAssetPools* Zone::GetPools() const
|
||||
|
@ -6,6 +6,31 @@
|
||||
|
||||
class IGame;
|
||||
|
||||
enum class ZoneLanguage
|
||||
{
|
||||
LANGUAGE_NONE,
|
||||
LANGUAGE_ENGLISH,
|
||||
LANGUAGE_FRENCH,
|
||||
LANGUAGE_GERMAN,
|
||||
LANGUAGE_ITALIAN,
|
||||
LANGUAGE_SPANISH,
|
||||
LANGUAGE_BRITISH,
|
||||
LANGUAGE_RUSSIAN,
|
||||
LANGUAGE_POLISH,
|
||||
LANGUAGE_KOREAN,
|
||||
LANGUAGE_TAIWANESE,
|
||||
LANGUAGE_JAPANESE,
|
||||
LANGUAGE_CHINESE,
|
||||
LANGUAGE_THAI,
|
||||
LANGUAGE_LEET,
|
||||
LANGUAGE_CZECH,
|
||||
LANGUAGE_FRENCH_CAN,
|
||||
LANGUAGE_AUSTRIAN,
|
||||
LANGUAGE_PORTUGUESE,
|
||||
LANGUAGE_MEXICAN_SPANISH,
|
||||
LANGUAGE_FULL_JAPANESE
|
||||
};
|
||||
|
||||
class Zone
|
||||
{
|
||||
IZoneAssetPools* m_pools;
|
||||
@ -13,6 +38,7 @@ class Zone
|
||||
public:
|
||||
std::string m_name;
|
||||
zone_priority_t m_priority;
|
||||
ZoneLanguage m_language;
|
||||
IGame* m_game;
|
||||
|
||||
Zone(std::string name, zone_priority_t priority, IZoneAssetPools* pools, IGame* game);
|
||||
|
Reference in New Issue
Block a user