terminals that cannot draw cursors on black spaces or darkgrey areas. May need some work, since the fake cursor tends to leave artifacts on the scrolling edge.
Removed the +1 X offset to the viewport.
Fixed crash when monster wielding a weapon of orc slaying hits player (Erik).
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1016 c06c8d41-db1a-0410-9941-cceddc491573
UPJVSMMMHGRDUIJG4MZX6IBLQ4ODBF5Z3PF3RHDYTSAEOCVDZM5AC SI3CZPNMKPDT2SLV5XKBBHTXRAT2N36ZIZZXDC6DWSNWNKFRJHMQC XPCGZBHHSL6MB3ORMUJI64BAERU6AZTIY6RK56BBW7SNB3IK24IAC AJJ6D6JRV6ZAZOAUHYUM2IQG42V6PBALOD4KEMNKSVVAOJXAUCPQC K2CS6TCX2NDVL2ASEHGP4J4K4IJ6FP3ANNKTSIWVG43HPYSBX6ZQC RC6L3CIBLJEH4GWRFD7UQNGI6PZT74FRUVOYHSAN2XCC74NZUASQC RPOZZWKG5GLPHVZZ7ZKMKS64ZMV2LDCQSARBJFJ6FZOTOKCQO7FAC SDLKLUNFGVKDS55DDJZCBAVIB7NL3RRYPTACAY65SCUQKV6APFSAC EHSY6DVGUMI6C67WKET3GDJVLWJWGYBYQONNDK5JVT7BCTHBEZVAC R22TTMI6WXWULC7ODKFF3QCB7MOTETQQ6IR4BUCUPOCQKQNCTT5AC QDTVLBRGHDTRUVT7I3O72K6TMOYAUSAJBZUHGOEFU2RKJNUPWZSQC 33ZMPQC6OXTESW7SRW765GRNJUEJRSYONRVZVIEUDAUEJ2PPMB4AC TJRYL3NXPW5IUGEV3YOC7JYWEXCZDBFPLT4AUG4P227WVKVB72ZAC 4PUWNQO7QMEWY3GSUHLBKMYOAI7ASYSRM32KDGTA7DLNDIGFAWFAC UF4ODJOCV3ZL7DXRLLOFVWHUKKJX34FO4ZM6VJAWEJ3QVP3XZ2AAC RVST2QHYJ757ZHK4AUJ5NGPDZ44AD6RVFVXYPKQIBJXZBDNUCHXQC 45QV77UI6QFW4234P365LD3FGJYRVWTT5455DPB324NG2NFQMKTQC PTB7I4WQ3NTF7BE3O6WKXDSJD6QRWSZIEWPBSZGCJJZVNKT4OL5AC static unsigned oldch, oldmangledch;static int faked_x = -1, faked_y;void fakecursorxy(int x, int y){if (oldch && faked_x != -1&& mvinch(faked_y, faked_x) == oldmangledch){if (faked_x != x - 1 || faked_y != y - 1)mvaddch(faked_y, faked_x, oldch);elsereturn;}const unsigned c = mvinch(y - 1, x - 1);const int ch = c & A_CHARTEXT;const unsigned colour = c & A_COLOR;const int pair = PAIR_NUMBER(colour);
##### 6-c Unix #################################### use_fake_cursor = true
target_unshifted_dirs = falseIf set to true, targeting will use the old Stone Soup 0.1 / Crawl 4.0targeting keymap where unshifted direction keys fire in that directionimmediately. The default is to use the new targeting keymap whereunshifted direction keys move the targeting cursor (and shifteddirections fire in the given direction immediately).
use_fake_cursor = falseIf true, Crawl draws the cursor explicitly on the level-map andtargeting screens instead of relying on the term to draw the cursor.Use this if your term cannot show a cursor over darkgrey/blacksquares.