CSavingScreen.h 678 B

123456789101112131415161718192021222324252627282930313233343536
  1. /*
  2. * CSavingScreen.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 "CSelectionBase.h"
  12. VCMI_LIB_NAMESPACE_BEGIN
  13. struct StartInfo;
  14. class CMapInfo;
  15. VCMI_LIB_NAMESPACE_END
  16. class CSelectionBase;
  17. class CSavingScreen : public CSelectionBase
  18. {
  19. public:
  20. const StartInfo * localSi;
  21. std::shared_ptr<CMapInfo> localMi;
  22. CSavingScreen();
  23. void changeSelection(std::shared_ptr<CMapInfo> to);
  24. void saveGame();
  25. const CMapInfo * getMapInfo() override;
  26. const StartInfo * getStartInfo() override;
  27. };