CampaignScenarioPrologEpilog.h 723 B

1234567891011121314151617181920212223242526272829303132333435
  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. #include "../filesystem/ResourcePath.h"
  12. #include "../texts/MetaString.h"
  13. VCMI_LIB_NAMESPACE_BEGIN
  14. struct DLL_LINKAGE CampaignScenarioPrologEpilog
  15. {
  16. bool hasPrologEpilog = false;
  17. VideoPath prologVideo;
  18. AudioPath prologMusic;
  19. AudioPath prologVoice;
  20. MetaString prologText;
  21. template <typename Handler> void serialize(Handler &h)
  22. {
  23. h & hasPrologEpilog;
  24. h & prologVideo;
  25. h & prologMusic;
  26. h & prologVoice;
  27. h & prologText;
  28. }
  29. };
  30. VCMI_LIB_NAMESPACE_END