| 880 | |
| 881 | |
| 882 | void cFodder::GUI_Sidebar_MapButton_RenderWrapper() { |
| 883 | |
| 884 | // Don't display the map button on the final map |
| 885 | if (mVersionCurrent->isRetail() && mVersionCurrent->isCannonFodder1()) { |
| 886 | if ((mGame_Data.mMission_Number == 24 && mGame_Data.mMission_Phase == 6)) |
| 887 | return; |
| 888 | } |
| 889 | |
| 890 | // No the map overview button in the Demo versions |
| 891 | if (mVersionCurrent->isDemo() && !mVersionCurrent->isCustom()) |
| 892 | return; |
| 893 | |
| 894 | mGUI_Sidebar_MapButton_Prepared = 0; |
| 895 | GUI_Sidebar_MapButton_Render(); |
| 896 | } |
| 897 | |
| 898 | void cFodder::GUI_Sidebar_Number_Draw(int16 pNumber, int16 pX, int16 pData8, int16 pY, int16 pData10) { |
| 899 | pData10 -= 0x1A; |
nothing calls this directly
no test coverage detected