| 250 | } |
| 251 | |
| 252 | void |
| 253 | bot(void) |
| 254 | { |
| 255 | if (gb.bot_disabled) |
| 256 | return; |
| 257 | /* dosave() flags completion by setting u.uhp to -1; suppress_map_output() |
| 258 | covers program_state.restoring and is used for status as well as map */ |
| 259 | if (u.uhp != -1 && gy.youmonst.data |
| 260 | && iflags.status_updates && !suppress_map_output()) { |
| 261 | if (VIA_WINDOWPORT()) { |
| 262 | bot_via_windowport(); |
| 263 | } else { |
| 264 | curs(WIN_STATUS, 1, 0); |
| 265 | putstr(WIN_STATUS, 0, do_statusline1()); |
| 266 | curs(WIN_STATUS, 1, 1); |
| 267 | putmixed(WIN_STATUS, 0, do_statusline2()); |
| 268 | } |
| 269 | } |
| 270 | disp.botl = disp.botlx = disp.time_botl = FALSE; |
| 271 | } |
| 272 | |
| 273 | /* special purpose status update: move counter ('time' status) only */ |
| 274 | void |
no test coverage detected