| 1894 | } |
| 1895 | |
| 1896 | void cFodder::Map_Create(sMapParams pParams) { |
| 1897 | |
| 1898 | if (mVersionCurrent->isAmigaPower()) |
| 1899 | pParams.mTileSub = eTileSub_1; |
| 1900 | |
| 1901 | mMapLoaded = std::make_shared<cRandomMap>(pParams); |
| 1902 | |
| 1903 | mMap = mMapLoaded->getData(); |
| 1904 | |
| 1905 | mMapTile_Ptr = (int32)((0x60 - 8) - (mMapLoaded->getWidth() * 2)); |
| 1906 | mMapTile_DrawX = 0; |
| 1907 | mMapTile_DrawY = 0; |
| 1908 | |
| 1909 | // Clear current sprites |
| 1910 | Sprite_Clear_All(); |
| 1911 | |
| 1912 | // Load the map specific resources |
| 1913 | Map_Load_Resources(); |
| 1914 | |
| 1915 | } |
| 1916 | |
| 1917 | void cFodder::Map_Load() { |
| 1918 | mMapLoaded = mGame_Data.mCampaign.getCMap(mGame_Data.mPhase_Current); |
nothing calls this directly
no test coverage detected