diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2021-02-09 22:28:27 -0500 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2021-02-09 22:28:27 -0500 |
commit | 5931470800c43260f600303d1231dbaf586f26fc (patch) | |
tree | aaaa30ee6bae81c1badc8b70d2fbdce33a058d5a /src/renderer.h | |
parent | 315ca2fb388f790791c9ce372cf44e00d51e0e7f (diff) | |
download | tanetane-5931470800c43260f600303d1231dbaf586f26fc.tar.gz tanetane-5931470800c43260f600303d1231dbaf586f26fc.tar.bz2 tanetane-5931470800c43260f600303d1231dbaf586f26fc.zip |
Map changing!
Also removed some dependencies on the Renderer. More changes need to be made. Fading to black before the change would be good. And making sure the characters are facing the right direction. Maybe that code shouldn't live in Game, either. Later we also want to combine the tilesets for these two maps (and any others that are on Tanetane).
Diffstat (limited to 'src/renderer.h')
-rw-r--r-- | src/renderer.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/renderer.h b/src/renderer.h index 2d7f93b..6d512c2 100644 --- a/src/renderer.h +++ b/src/renderer.h | |||
@@ -136,6 +136,9 @@ private: | |||
136 | // Map rendering | 136 | // Map rendering |
137 | texture_ptr renderMapLayer(const Map& map, int layer); | 137 | texture_ptr renderMapLayer(const Map& map, int layer); |
138 | 138 | ||
139 | std::string cachedMapName_; | ||
140 | std::string cachedTilesetName_; | ||
141 | texture_ptr tilesetTex_; | ||
139 | texture_ptr renLay0_; | 142 | texture_ptr renLay0_; |
140 | texture_ptr renLay1_; | 143 | texture_ptr renLay1_; |
141 | 144 | ||