mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-23 22:37:55 +02:00
remove allresources
This commit is contained in:
@@ -676,21 +676,6 @@ const std::array<PrimarySkill, 4> & PrimarySkill::ALL_SKILLS()
|
||||
return allSkills;
|
||||
}
|
||||
|
||||
const std::array<GameResID, 7> & GameResID::ALL_RESOURCES()
|
||||
{
|
||||
static const std::array allResources = {
|
||||
GameResID(WOOD),
|
||||
GameResID(MERCURY),
|
||||
GameResID(ORE),
|
||||
GameResID(SULFUR),
|
||||
GameResID(CRYSTAL),
|
||||
GameResID(GEMS),
|
||||
GameResID(GOLD)
|
||||
};
|
||||
|
||||
return allResources;
|
||||
}
|
||||
|
||||
std::string SecondarySkill::entityType()
|
||||
{
|
||||
return "secondarySkill";
|
||||
|
||||
@@ -1079,8 +1079,6 @@ public:
|
||||
static si32 decode(const std::string & identifier);
|
||||
static std::string encode(const si32 index);
|
||||
static std::string entityType();
|
||||
|
||||
static const std::array<GameResID, 7> & ALL_RESOURCES();
|
||||
};
|
||||
|
||||
class DLL_LINKAGE BuildingTypeUniqueID : public Identifier<BuildingTypeUniqueID>
|
||||
|
||||
Reference in New Issue
Block a user