domove_core() out of domove(); assess domove_core() results

new domove_core() assessment results

potentially smudge engravings

Proceed to wipe engraving after domove_core() now, but only under
all of the following conditions:
    - you can reach the floor
    - preceding domove_core() move attempt was marked as
      having succeeded in domove_core()
    - there is actually an engraving there to impact at
      your original spot, or your new spot, or both
This commit is contained in:
nhmall
2019-01-27 11:55:23 -05:00
parent d63c9d866c
commit 55fdfb9200
5 changed files with 64 additions and 17 deletions

View File

@@ -405,6 +405,15 @@ when engulfed while in a shop, dropping an item into the engulfer and then
using ':' to look at current location could cause a crash
when items were on the floor just inside a shop's door where the shopkeeper
doesn't buy and sell stuff, those items showed a 'for sale' price
separate most of domove() into domove_core() and introduce a pair of global
variables that allow for assessment of domove_core() results in
domove() after one of the many return paths
new domove()-related global variables mentioned above also replace a couple
of booleans in rhack() that were used for similar upcoming action
identification
smudging of an engraving has been relocated and follows domove_core() and is
carried out only after a successful move attempt; your former
location and resulting location are both potentially impacted now
tty: turn off an optimization that is the suspected cause of Windows reported
partial status lines following level changes
tty: ensure that current status fields are always copied to prior status