1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-29 23:07:48 +02:00

End turn autosave support + making it default

This commit is contained in:
Dydzio
2023-07-13 22:07:42 +02:00
parent 616916714a
commit ad66acdd79
4 changed files with 17 additions and 4 deletions

View File

@@ -205,6 +205,7 @@ public: // public interface for use by client via LOCPLINT access
void tryDigging(const CGHeroInstance *h);
void showShipyardDialogOrProblemPopup(const IShipyard *obj); //obj may be town or shipyard;
void proposeLoadingGame();
void performAutosave();
///returns true if all events are processed internally
bool capturedAllEvents();
@@ -236,8 +237,6 @@ private:
void doMoveHero(const CGHeroInstance *h, CGPath path);
void setMovementStatus(bool value);
/// Performs autosave, if needed according to settings
void performAutosave();
};
/// Provides global access to instance of interface of currently active player