| 3088 | } |
| 3089 | |
| 3090 | static void GUI_StrategicMap_DrawText(const char *string) |
| 3091 | { |
| 3092 | static uint32 l_timerNext = 0; |
| 3093 | Screen oldScreenID; |
| 3094 | uint16 y; |
| 3095 | |
| 3096 | oldScreenID = GFX_Screen_SetActive(SCREEN_1); |
| 3097 | |
| 3098 | GUI_Screen_Copy(8, 165, 8, 186, 24, 14, SCREEN_0, SCREEN_1); |
| 3099 | |
| 3100 | GUI_DrawFilledRectangle(64, 172, 255, 185, GFX_GetPixel(64, 186)); |
| 3101 | |
| 3102 | GUI_DrawText_Wrapper(string, 64, 175, 12, 0, 0x12); |
| 3103 | |
| 3104 | while (g_timerGUI + 90 < l_timerNext) sleepIdle(); |
| 3105 | |
| 3106 | for (y = 185; y > 172; y--) { |
| 3107 | GUI_Screen_Copy(8, y, 8, 165, 24, 14, SCREEN_1, SCREEN_0); |
| 3108 | |
| 3109 | for (g_timerTimeout = 3; g_timerTimeout != 0; sleepIdle()) { |
| 3110 | if (GUI_StrategicMap_FastForwardToggleWithESC()) break; |
| 3111 | } |
| 3112 | } |
| 3113 | |
| 3114 | l_timerNext = g_timerGUI + 90; |
| 3115 | |
| 3116 | GFX_Screen_SetActive(oldScreenID); |
| 3117 | } |
| 3118 | |
| 3119 | static uint16 GUI_StrategicMap_ScenarioSelection(uint16 campaignID) |
| 3120 | { |
no test coverage detected