| 809 | } |
| 810 | |
| 811 | void store_msg(const message_line& msg) |
| 812 | { |
| 813 | prefix_type p = prefix_type::none; |
| 814 | msgs.push_back(msg); |
| 815 | if (_temporary) |
| 816 | temp++; |
| 817 | else |
| 818 | reset_temp(); |
| 819 | #ifdef USE_TILE_WEB |
| 820 | // ignore this message until it's actually displayed in case we run out |
| 821 | // of space and have to display --more-- instead |
| 822 | unwind_bool dontsend(send_ignore_one, true); |
| 823 | #endif |
| 824 | if (crawl_state.io_inited && crawl_state.game_started) |
| 825 | msgwin.add_item(msg.full_text(), p, _temporary); |
| 826 | } |
| 827 | |
| 828 | void roll_back() |
| 829 | { |
no test coverage detected