2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2026-02-14 03:13:03 +00:00

IW5 support initial commit

This commit is contained in:
Jan
2021-07-23 01:12:36 +02:00
parent c6ea52018a
commit f201dfafd8
102 changed files with 8835 additions and 0 deletions

View File

@@ -0,0 +1,43 @@
#include "GameIW5.h"
#include <algorithm>
#include "IW5.h"
using namespace IW5;
GameIW5 g_GameIW5;
std::string GameIW5::GetFullName()
{
return "Call Of Duty: Modern Warfare 3";
}
std::string GameIW5::GetShortName()
{
return "IW5";
}
void GameIW5::AddZone(Zone* zone)
{
m_zones.push_back(zone);
}
void GameIW5::RemoveZone(Zone* zone)
{
const auto foundEntry = std::find(m_zones.begin(), m_zones.end(), zone);
if (foundEntry != m_zones.end())
m_zones.erase(foundEntry);
}
std::vector<Zone*> GameIW5::GetZones()
{
return m_zones;
}
std::vector<GameLanguagePrefix> GameIW5::GetLanguagePrefixes()
{
std::vector<GameLanguagePrefix> prefixes;
return prefixes;
}