CAdventureOptions.h 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. /*
  2. * CAdvmapInterface.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 "../widgets/AdventureMapClasses.h"
  12. #include "CWindowObject.h"
  13. #include "../widgets/TextControls.h"
  14. #include "../widgets/Buttons.h"
  15. #include "../../lib/spells/ViewSpellInt.h"
  16. VCMI_LIB_NAMESPACE_BEGIN
  17. struct CGPath;
  18. struct CGPathNode;
  19. class CGHeroInstance;
  20. class CGTownInstance;
  21. class CSpell;
  22. class IShipyard;
  23. VCMI_LIB_NAMESPACE_END
  24. class CCallback;
  25. class CAdvMapInt;
  26. class CHeroWindow;
  27. enum class EMapAnimRedrawStatus;
  28. class CFadeAnimation;
  29. struct MapDrawingInfo;
  30. /// Adventure options dialog where you can view the world, dig, play the replay of the last turn,...
  31. class CAdventureOptions : public CWindowObject
  32. {
  33. public:
  34. std::shared_ptr<CButton> exit;
  35. std::shared_ptr<CButton> viewWorld;
  36. std::shared_ptr<CButton> puzzle;
  37. std::shared_ptr<CButton> dig;
  38. std::shared_ptr<CButton> scenInfo;
  39. /*std::shared_ptr<CButton> replay*/
  40. CAdventureOptions();
  41. static void showScenarioInfo();
  42. };