Yet another attempt to fix problems with the monster "comes into view"

messsages. Such messages are not not flushed immediately upon the monster coming into view, but:

  1. After world_reacts() is done.

  2. When mpr() is called and the player is either delayed or repeating a command.

This should make sure that the "comes into view" message comes before any other messages the monster might give, and also fix the problem of the player moving into a monster's LOS, getting a "comes into view" message, and the monster then moving back out of LOS during the immediately following world_reacts(), which would leave the player puzzled as to why there's no monster in view.

As part of the change you.turn_is_over is set to true as soon as world_reacts() starts, which might cause bugs in other places, yet some play testing indicates that it's okay.

git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8621 c06c8d41-db1a-0410-9941-cceddc491573

Created by  zelgadis  on January 20, 2009
5FHHUWTO4RQF244PHWV237WRNIXCZX5Q2KRX7VKDDUQWEXAL24NAC
Change contents