| 2131 | } |
| 2132 | |
| 2133 | void |
| 2134 | mswin_putmsghistory(const char *msg, boolean restoring) |
| 2135 | { |
| 2136 | BOOL save_sound_opt; |
| 2137 | |
| 2138 | UNREFERENCED_PARAMETER(restoring); |
| 2139 | |
| 2140 | if (!msg) |
| 2141 | return; /* end of message history restore */ |
| 2142 | save_sound_opt = GetNHApp()->bNoSounds; |
| 2143 | GetNHApp()->bNoSounds = |
| 2144 | TRUE; /* disable sounds while restoring message history */ |
| 2145 | mswin_putstr_ex(WIN_MESSAGE, ATR_NONE, msg, 0); |
| 2146 | clear_nhwindow(WIN_MESSAGE); /* it is in fact end-of-turn indication so |
| 2147 | each message will print on the new line */ |
| 2148 | GetNHApp()->bNoSounds = save_sound_opt; /* restore sounds option */ |
| 2149 | } |
| 2150 | |
| 2151 | void |
| 2152 | mswin_main_loop(void) |
nothing calls this directly
no test coverage detected