mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-29 23:07:48 +02:00
code review
This commit is contained in:
@@ -72,6 +72,8 @@ class SelectionTab : public CIntObject
|
||||
// FIXME: CSelectionBase use them too!
|
||||
std::shared_ptr<CAnimation> iconsVictoryCondition;
|
||||
std::shared_ptr<CAnimation> iconsLossCondition;
|
||||
|
||||
std::vector<std::shared_ptr<ListItem>> unSupportedSaves;
|
||||
public:
|
||||
std::vector<std::shared_ptr<ElementInfo>> allItems;
|
||||
std::vector<std::shared_ptr<ElementInfo>> curItems;
|
||||
@@ -127,7 +129,9 @@ private:
|
||||
|
||||
bool isMapSupported(const CMapInfo & info);
|
||||
void parseMaps(const std::unordered_set<ResourcePath> & files);
|
||||
void parseSaves(const std::unordered_set<ResourcePath> & files);
|
||||
std::vector<ResourcePath> parseSaves(const std::unordered_set<ResourcePath> & files);
|
||||
void parseCampaigns(const std::unordered_set<ResourcePath> & files);
|
||||
std::unordered_set<ResourcePath> getFiles(std::string dirURI, EResType resType);
|
||||
|
||||
void handleUnsupportedSavegames(const std::vector<ResourcePath> files);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user