CampaignScenarioPrologEpilog.h 678 B

123456789101112131415161718192021222324252627282930
  1. /*
  2. * CampaignScenarioPrologEpilog.h, part of VCMI engine
  3. *
  4. * Authors: listed in file AUTHORS in main folder
  5. *
  6. * License: GNU General Public License v2.0 or later
  7. * Full text of license available in license.txt file, in main folder
  8. *
  9. */
  10. #pragma once
  11. VCMI_LIB_NAMESPACE_BEGIN
  12. struct DLL_LINKAGE CampaignScenarioPrologEpilog
  13. {
  14. bool hasPrologEpilog = false;
  15. std::string prologVideo; // from CmpMovie.txt
  16. std::string prologMusic; // from CmpMusic.txt
  17. std::string prologText;
  18. template <typename Handler> void serialize(Handler &h, const int formatVersion)
  19. {
  20. h & hasPrologEpilog;
  21. h & prologVideo;
  22. h & prologMusic;
  23. h & prologText;
  24. }
  25. };
  26. VCMI_LIB_NAMESPACE_END