1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-29 23:07:48 +02:00

integrate campaign intro

This commit is contained in:
Laserlicht
2024-08-31 17:57:27 +02:00
parent 9c2a5f6baa
commit 46872b764b
8 changed files with 54 additions and 4 deletions

View File

@@ -169,6 +169,8 @@ void CampaignHandler::readHeaderFromJson(CampaignHeader & ret, JsonNode & reader
ret.modName = modName;
ret.encoding = encoding;
ret.loadingBackground = ImagePath::fromJson(reader["loadingBackground"]);
ret.introVideoRim = ImagePath::fromJson(reader["introVideoRim"]);
ret.introVideo = VideoPath::fromJson(reader["introVideo"]);
}
CampaignScenario CampaignHandler::readScenarioFromJson(JsonNode & reader)