mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-23 22:37:55 +02:00
Added loading of reserved heroes from H3M
This commit is contained in:
@@ -238,6 +238,7 @@ public:
|
||||
std::vector<PlayerInfo> players; /// The default size of the vector is PlayerColor::PLAYER_LIMIT.
|
||||
ui8 howManyTeams;
|
||||
std::vector<bool> allowedHeroes;
|
||||
std::vector<HeroTypeID> reservedCampaignHeroes; /// Heroes that have placeholders in this map and are reserverd for campaign
|
||||
|
||||
bool areAnyPlayers; /// Unused. True if there are any playable players on the map.
|
||||
|
||||
@@ -261,6 +262,7 @@ public:
|
||||
h & players;
|
||||
h & howManyTeams;
|
||||
h & allowedHeroes;
|
||||
h & reservedCampaignHeroes;
|
||||
//Do not serialize triggeredEvents in header as they can contain information about heroes and armies
|
||||
h & victoryMessage;
|
||||
h & victoryIconIndex;
|
||||
|
||||
Reference in New Issue
Block a user