menu func
@@ -18,7 +18,7 @@ | ||
18 | 18 | void MinervaMenuWorldMap::load(const int TILE_SIZE, const TCHAR* lpszMapFilePathPrefix, |
19 | 19 | int nHandle, const TCHAR* DEFAULT_BLOCK_TYPE_FILE_PATH, |
20 | 20 | HPLPortableLogger* lpPortableLogger, |
21 | - const int WINDOW_W, const int WINDOW_H) | |
21 | + const int WINDOW_W, const int WINDOW_H, float fWorldMapZoomRate) | |
22 | 22 | { |
23 | 23 | // const int TILE_SIZE = getStaticData()->m_Setting.tileSize; |
24 | 24 | // block type |
@@ -38,8 +38,8 @@ | ||
38 | 38 | //const int WINDOW_H = getStaticData()->m_Setting.windowHeight; |
39 | 39 | this->m_Scroller.setScreenRect(0, 0, WINDOW_W * 2.f, WINDOW_H * 2.f); |
40 | 40 | // 縮小表示 |
41 | - const float WORLD_MAP_ZOOM_RATE = 0.5f; | |
42 | - this->m_Scroller.m_fZoomRate = (WORLD_MAP_ZOOM_RATE); | |
41 | + //const float WORLD_MAP_ZOOM_RATE = 0.5f; | |
42 | + this->m_Scroller.m_fZoomRate = (fWorldMapZoomRate); | |
43 | 43 | |
44 | 44 | // world map path |
45 | 45 | string strMapFilePathPrefix = lpszMapFilePathPrefix;// getStaticData()->m_MapManager.getMapFilePath(MapIndex::WORLD_MAP); |
@@ -38,7 +38,7 @@ | ||
38 | 38 | void load(const int TILE_SIZE, const TCHAR* lpszMapFilePathPrefix, |
39 | 39 | int nHandle, const TCHAR* DEFAULT_BLOCK_TYPE_FILE_PATH, |
40 | 40 | HPLPortableLogger* lpPortableLogger, |
41 | - const int WINDOW_W, const int WINDOW_H); | |
41 | + const int WINDOW_W, const int WINDOW_H, float fWorldMapZoomRate); | |
42 | 42 | }; |
43 | 43 | /** 解放度合い |
44 | 44 | */ |