MCPcopy Create free account
hub / github.com/OpenFodder/openfodder / MapTiles_Draw

Method MapTiles_Draw

Source/Fodder.cpp:19210–19229  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19208}
19209
19210void cFodder::MapTiles_Draw() {
19211 mMapTile_ColumnOffset = 0;
19212 mMapTile_RowOffset = 0;
19213
19214 // 0x60 - SidebarWidth - MapWidth
19215 mMapTile_Ptr = (0x60 - 8) - (mMapLoaded->getWidth() << 1);
19216
19217 // No sidebar in OFED
19218#ifdef _OFED
19219 mMapTile_Ptr += 8;
19220#endif
19221
19222 mMapTile_MovedHorizontal = 0;
19223 mMapTile_MovedVertical = 0;
19224 mMapTile_Column_CurrentScreen = 0;
19225 mMapTile_Row_CurrentScreen = 0;
19226
19227 //if (!mStartParams->mDisableVideo)
19228 // mGraphics->MapTiles_Draw();
19229}
19230
19231void cFodder::Exit(unsigned int pExitCode) {
19232

Callers 4

Phase_PausedMethod · 0.45
Interrupt_RedrawMethod · 0.45
VersionSwitchMethod · 0.45
Campaign_Select_FileMethod · 0.45

Calls 1

getWidthMethod · 0.45

Tested by

no test coverage detected