mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-10 23:08:05 -05:00
iw3 basis
This commit is contained in:
43
src/Common/Game/IW3/GameIW3.cpp
Normal file
43
src/Common/Game/IW3/GameIW3.cpp
Normal file
@ -0,0 +1,43 @@
|
||||
#include "GameIW3.h"
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
#include "IW3.h"
|
||||
|
||||
using namespace IW3;
|
||||
|
||||
GameIW3 g_GameIW3;
|
||||
|
||||
std::string GameIW3::GetFullName()
|
||||
{
|
||||
return "Call Of Duty 4: Modern Warfare";
|
||||
}
|
||||
|
||||
std::string GameIW3::GetShortName()
|
||||
{
|
||||
return "IW3";
|
||||
}
|
||||
|
||||
void GameIW3::AddZone(Zone* zone)
|
||||
{
|
||||
m_zones.push_back(zone);
|
||||
}
|
||||
|
||||
void GameIW3::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*> GameIW3::GetZones()
|
||||
{
|
||||
return m_zones;
|
||||
}
|
||||
|
||||
std::vector<GameLanguagePrefix> GameIW3::GetLanguagePrefixes()
|
||||
{
|
||||
std::vector<GameLanguagePrefix> prefixes;
|
||||
return prefixes;
|
||||
}
|
Reference in New Issue
Block a user