1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-25 22:42:04 +02:00

Configurable Conflux University

This commit is contained in:
Ivan Savenko
2025-06-08 16:49:27 +03:00
parent 342705921d
commit f71db8af07
9 changed files with 57 additions and 12 deletions

View File

@@ -272,7 +272,6 @@ public:
std::map<TeamID, ui8> obelisksVisited; //map: team_id => how many obelisks has been visited
std::vector<ArtifactID> townMerchantArtifacts;
std::vector<TradeItemBuy> townUniversitySkills;
void overrideGameSettings(const JsonNode & input);
void overrideGameSetting(EGameSettings option, const JsonNode & input);
@@ -345,7 +344,11 @@ public:
h & obeliskCount;
h & obelisksVisited;
h & townMerchantArtifacts;
h & townUniversitySkills;
if (!h.hasFeature(Handler::Version::STORE_UID_COUNTER_IN_CMAP))
{
std::vector<TradeItemBuy> townUniversitySkills;
h & townUniversitySkills;
}
h & instanceNames;
h & *gameSettings;