mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-04-19 15:52:53 +00:00
44 lines
691 B
C++
44 lines
691 B
C++
#include "GameIW4.h"
|
|
|
|
#include "IW4.h"
|
|
|
|
#include <algorithm>
|
|
|
|
using namespace IW4;
|
|
|
|
GameIW4 g_GameIW4;
|
|
|
|
std::string GameIW4::GetFullName()
|
|
{
|
|
return "Call Of Duty: Modern Warfare 2";
|
|
}
|
|
|
|
std::string GameIW4::GetShortName()
|
|
{
|
|
return "IW4";
|
|
}
|
|
|
|
void GameIW4::AddZone(Zone* zone)
|
|
{
|
|
m_zones.push_back(zone);
|
|
}
|
|
|
|
void GameIW4::RemoveZone(Zone* zone)
|
|
{
|
|
const auto foundEntry = std::ranges::find(m_zones, zone);
|
|
|
|
if (foundEntry != m_zones.end())
|
|
m_zones.erase(foundEntry);
|
|
}
|
|
|
|
std::vector<Zone*> GameIW4::GetZones()
|
|
{
|
|
return m_zones;
|
|
}
|
|
|
|
std::vector<GameLanguagePrefix> GameIW4::GetLanguagePrefixes()
|
|
{
|
|
std::vector<GameLanguagePrefix> prefixes;
|
|
return prefixes;
|
|
}
|