git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10034 c06c8d41-db1a-0410-9941-cceddc491573
Y2XKDQUS2TGKU3PC7XB2P2GSPTF6CJFTXMWOIXKZDRBADBTRISIQC UH5I5Z4HRD7QT3J2MCWSAK3VYBSO4WOMU3OCUIIEMN73CURCRK3AC 6DMSDQMAK5FWLGJIZB7HDWAWWEGYMIFLOZH3PXEOWZ2BCRQT3LHAC 44XY2RJGTBXIDIRRI4TAH7ZPS7F6ZNKTY2HNTRDQLB5BAUYAGQXQC K2CS6TCX2NDVL2ASEHGP4J4K4IJ6FP3ANNKTSIWVG43HPYSBX6ZQC HOPP345EQLSF24XJYE3625VKU23PBKM5ZZKNCXBXUWYYORYPMDAAC HM6NOS7BN5665KWIFGBXOHZIDMRSVCESN72GMGI6NVBFZGCF3L6QC RPOZZWKG5GLPHVZZ7ZKMKS64ZMV2LDCQSARBJFJ6FZOTOKCQO7FAC KAOE5HB3THUKVGFZRO5EZESHEB3Q34WUO5DFMLWIKOBF47LZTIYAC 7BREK7U6OWZ6YU3JDSJSH4CMNNULDYABCKCAUHGZIUJZBIRJS5WQC WQIEW3O4MANA2KKYRUWEZP44KHVJ4RRHEZTDXSF4EDELX66LO26QC 3RNRFLMD2X4RUFTDVITLXAP377YB6F6YMQLL3DAXSUZDZBTWSLRQC ZEFGFQHN6J2S6EIPX7EPDG22C5YXTI6DMKQHHRCLWN5MQC44KY3AC B2TUW35CGN32S2WIKO6RGJ4FSEMXJCAYBRB2JFUDQCHRN3JKKZLAC NJAOTB5FEK6QVFIDYYPDVYGAQ44TNC5GOI4C4NXBSMIHU4453INQC MCBXXIV6GICTZB56APSXMJEI63FVQWVZR3H2DRNMMFDH2XCGK4JAC // Keep spells for named monsters.if (!name.empty())
// Keep spells for named monsters, but don't override innate ones// for dragons and the like. This means that Sigmund polymorphed// into a goblin will still cast spells, but if he ends up as a// swamp drake he'll breathe fumes and, if polymorphed further,// won't remember his spells anymore.if (need_save_spells&& (!mons_class_flag(monster->type, M_SPELLCASTER)|| mons_class_flag(monster->type, M_ACTUAL_SPELLS))){
// A polymorphed unique will retain his or her spells even in another// form. If the new form has the SPELLCASTER flag, casting happens as// normally, otherwise we need to enforce it, but it only happens with// a 50% chance.const bool spellcasting_poly= !mons_class_flag(monster->type, M_SPELLCASTER)&& mons_class_flag(monster->type, M_SPEAKS)&& _mon_has_spells(monster);
You can try tweaking a number of options to see whether performance improves:tile_title_screen = falseFor weak drivers, the title screen can take a long time to load. If thisbothers you, you can easily deactivate it.travel_delay = -1This setting suppresses redrawing until travelling is finished orinterrupted.tile_update_rate = 1000By default, the screen gets redrawn at least every 1000 milliseconds,more often if you take actions that change the display. You could trycranking up this value, though this may lead to updating taking too long.tile_tooltip_ms = 0Deactivating the tooltips means there's less stuff to draw every time.clear_map = falseNot having to redraw remembered monsters outside your line of sighttakes some load off the redrawing routines.