diff options
author | Andrei Karas <akaras@inbox.ru> | 2019-04-08 23:36:01 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2019-04-08 23:36:01 +0300 |
commit | 010455ce5fc860f41448537e14f30a8453ce5150 (patch) | |
tree | 95dafb8e18fe3f8ce4a0656866187025695888f9 /src/resources/map/map.h | |
parent | 226fea014e24ea69989c7ac2f7428926ec865663 (diff) | |
download | plus-010455ce5fc860f41448537e14f30a8453ce5150.tar.gz plus-010455ce5fc860f41448537e14f30a8453ce5150.tar.bz2 plus-010455ce5fc860f41448537e14f30a8453ce5150.tar.xz plus-010455ce5fc860f41448537e14f30a8453ce5150.zip |
If map too small, clear screen before drawing map
Clear map not works on software renderer.
Diffstat (limited to 'src/resources/map/map.h')
-rw-r--r-- | src/resources/map/map.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/resources/map/map.h b/src/resources/map/map.h index 74ffdb8ef..6659d7a13 100644 --- a/src/resources/map/map.h +++ b/src/resources/map/map.h @@ -372,6 +372,8 @@ class Map final : public Properties, std::string getCounterName() const override final { return mName; } + void screenResized(); + protected: friend class Actor; friend class Minimap; @@ -500,6 +502,7 @@ class Map final : public Properties, bool mCachedDraw; bool mCustom; bool mDrawOnlyFringe; + bool mClear; }; #endif // RESOURCES_MAP_MAP_H |