mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-21 00:19:29 +02:00
- removed no longer used CSndHandler. Transition to new fs is finished
- moved TownHandler::requirements to CBuilding class
This commit is contained in:
@ -22,13 +22,14 @@ public:
|
||||
TResources resources;
|
||||
std::string name;
|
||||
std::string description;
|
||||
std::set<int> requirements; //set of required buildings
|
||||
|
||||
const std::string &Name() const;
|
||||
const std::string &Description() const;
|
||||
|
||||
template <typename Handler> void serialize(Handler &h, const int version)
|
||||
{
|
||||
h & tid & bid & resources & name & description;
|
||||
h & tid & bid & resources & name & description & requirements;
|
||||
}
|
||||
CBuilding(int TID = -1, int BID = -1);
|
||||
};
|
||||
|
Reference in New Issue
Block a user