diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-06-06 22:35:47 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-06-06 22:35:47 +0300 |
commit | ee41cd5a5a37e4d41df49cd92c61868fe2ce1a51 (patch) | |
tree | 4a189407ebb6240fd52b1909f38cb539ac1ef029 /src/game.cpp | |
parent | 89c3f9e88ab1a11959eacc18c6b4c9fb6e4a3dc9 (diff) | |
download | manaverse-ee41cd5a5a37e4d41df49cd92c61868fe2ce1a51.tar.gz manaverse-ee41cd5a5a37e4d41df49cd92c61868fe2ce1a51.tar.bz2 manaverse-ee41cd5a5a37e4d41df49cd92c61868fe2ce1a51.tar.xz manaverse-ee41cd5a5a37e4d41df49cd92c61868fe2ce1a51.zip |
Load special tilesets in ignored atlas.
Special tilesets for now is collision and levels.
After can be other.
Diffstat (limited to 'src/game.cpp')
-rw-r--r-- | src/game.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/game.cpp b/src/game.cpp index 9906b8cf1..e6da61255 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -419,6 +419,10 @@ Game::Game() : if (windowContainer) windowContainer->add(windowMenu); +#ifdef USE_OPENGL + MapReader::loadEmptyAtlas(); +#endif + initEngines(); chatWindow->postConnection(); @@ -450,6 +454,10 @@ Game::Game() : Game::~Game() { +#ifdef USE_OPENGL + MapReader::unloadEmptyAtlas(); +#endif + settings.disableLoggingInGame = false; touchManager.setInGame(false); config.write(); |