1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-22 22:13:35 +02:00
vcmi/lib/campaign/CampaignScenarioPrologEpilog.h

36 lines
738 B
C++
Raw Normal View History

2023-06-25 21:28:24 +02:00
/*
* CampaignScenarioPrologEpilog.h, part of VCMI engine
*
* Authors: listed in file AUTHORS in main folder
*
* License: GNU General Public License v2.0 or later
* Full text of license available in license.txt file, in main folder
*
*/
#pragma once
2023-09-01 23:57:25 +02:00
#include "../filesystem/ResourcePath.h"
2023-09-28 00:10:28 +02:00
#include "../MetaString.h"
2023-09-01 23:57:25 +02:00
2023-06-26 16:25:29 +02:00
VCMI_LIB_NAMESPACE_BEGIN
2023-06-25 21:28:24 +02:00
struct DLL_LINKAGE CampaignScenarioPrologEpilog
{
bool hasPrologEpilog = false;
2023-09-11 12:57:10 +02:00
VideoPath prologVideo;
2023-09-04 12:03:15 +02:00
AudioPath prologMusic; // from CmpMusic.txt
2023-09-11 12:57:10 +02:00
AudioPath prologVoice;
2023-09-28 00:10:28 +02:00
MetaString prologText;
2023-06-25 21:28:24 +02:00
template <typename Handler> void serialize(Handler &h)
2023-06-25 21:28:24 +02:00
{
h & hasPrologEpilog;
h & prologVideo;
h & prologMusic;
2023-09-11 12:57:10 +02:00
h & prologVoice;
2023-06-25 21:28:24 +02:00
h & prologText;
}
};
2023-06-26 16:25:29 +02:00
VCMI_LIB_NAMESPACE_END