summaryrefslogtreecommitdiffstats
path: root/crawl-ref
Commit message (Collapse)AuthorAgeFilesLines
* Fixed compile breaking on Linux.dshaligram2007-06-102-0/+5
| | | | | | Orb guardians are no longer valid polymorph targets. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1570 c06c8d41-db1a-0410-9941-cceddc491573
* Updated CREDITS, INSTALL.dshaligram2007-06-102-3/+24
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1569 c06c8d41-db1a-0410-9941-cceddc491573
* Added information to the abilities screen during tutorials, j-p-e-g2007-06-103-1/+53
| | | | | | | akin to my previous commit for skills. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1568 c06c8d41-db1a-0410-9941-cceddc491573
* Tweaks to build with Unicode support on Mac OS. Unfortunately none of thedshaligram2007-06-102-0/+10
| | | | | | | | widely-used Mac terminal emulators has a clue on how to handle Unicode block characters (Terminal.app, iTerm, Terminator,...; they all suck), so Mac Unicode lovers will probably need to run X and urxvt or something along those lines. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1567 c06c8d41-db1a-0410-9941-cceddc491573
* Some more changes to the tutorial, most importantly to j-p-e-g2007-06-094-28/+70
| | | | | | | | | | | | the skill screen (please check this, guys!) - I also changed the targetting description in the tutorial messages. If I've counted right, we've not got five commands to shoot at a previously selected target, namely ., f, p, t and Enter. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1566 c06c8d41-db1a-0410-9941-cceddc491573
* Fixed broken macros on Windows (Erik).dshaligram2007-06-091-1/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1565 c06c8d41-db1a-0410-9941-cceddc491573
* Added missing . to player attack miss messages (Erik).dshaligram2007-06-091-1/+3
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1564 c06c8d41-db1a-0410-9941-cceddc491573
* Mention that there's more travel help available in the depth-selection prompt.dshaligram2007-06-091-1/+5
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1563 c06c8d41-db1a-0410-9941-cceddc491573
* Fixed off-by-one error in waypoint and exclude setting on the level-map (Erik).dshaligram2007-06-092-4/+5
| | | | | | | Missile damage dice were being scaled before the full damage bonus was applied, fixed. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1562 c06c8d41-db1a-0410-9941-cceddc491573
* Fixed level-map not scrolling to show detected monsters and items.dshaligram2007-06-081-1/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1561 c06c8d41-db1a-0410-9941-cceddc491573
* When showing glyphs in messages (as in the tutorial), use stringize_glyph() todshaligram2007-06-088-18/+64
| | | | | | | | | convert Unicode glyphs to multibyte sequences. Added multibyte_strlen to calculate string lengths correctly when dealing with multibyte strings. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1560 c06c8d41-db1a-0410-9941-cceddc491573
* Removed unnecessary turnloss when declining to memorise a spell. Also removeddshaligram2007-06-081-7/+0
| | | | | | | turnloss when trying to memorise spells that you already know, or that are too high-level, or need too many slots. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1559 c06c8d41-db1a-0410-9941-cceddc491573
* Removed one line from the targeting prompt; should make it less -more- prone.dshaligram2007-06-082-7/+7
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1558 c06c8d41-db1a-0410-9941-cceddc491573
* Flush macro input buffer when fire command fails (Erik).dshaligram2007-06-0810-57/+168
| | | | | | | | | Allow using the special sequence \{!more} in macros to disable -more- prompts while processing the macro expansion. Fixed a couple of off-by-one errors in the level-map. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1557 c06c8d41-db1a-0410-9941-cceddc491573
* Unicode builds were mangling IBM graphics, fixed.dshaligram2007-06-081-1/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1556 c06c8d41-db1a-0410-9941-cceddc491573
* Removed unnecessary < 0 check on glyphs.dshaligram2007-06-071-4/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1555 c06c8d41-db1a-0410-9941-cceddc491573
* Update 'V' feature display to include Unicode.dshaligram2007-06-071-10/+11
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1554 c06c8d41-db1a-0410-9941-cceddc491573
* Mention that char_set = unicode works only if Crawl was built with Unicodedshaligram2007-06-071-0/+4
| | | | | | support. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1553 c06c8d41-db1a-0410-9941-cceddc491573
* Added support for Unicode characters in the map display with ncursesw (enableddshaligram2007-06-0729-418/+542
| | | | | | | | | | | | by setting UNICODE_GLYPHS=y in makefile.unix). Removed the (1,1) offset between map and grid. Both map and grid are now in sync. Store object indexes instead of raw characters in env.map so that players can change charsets and have the display update immediately. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1552 c06c8d41-db1a-0410-9941-cceddc491573
* Banishment while standing on a dungeon feature was destroying the feature,dshaligram2007-06-067-11/+7
| | | | | | fixed. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1550 c06c8d41-db1a-0410-9941-cceddc491573
* Removed targeting and level-map help from the main help screen since they'redshaligram2007-06-062-11/+2
| | | | | | | | | available elsewhere. [1731478] Fixed game crashing when saving a screenshot (broken during the viewport changes). git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1549 c06c8d41-db1a-0410-9941-cceddc491573
* Fixed a couple of minor errors in the manual.dshaligram2007-06-061-6/+7
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1546 c06c8d41-db1a-0410-9941-cceddc491573
* Manual update (David).dshaligram2007-06-061-17/+35
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1544 c06c8d41-db1a-0410-9941-cceddc491573
* Changed the new vaults to minivaults since they're excellent minivaultdshaligram2007-06-051-69/+68
| | | | | | material. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1543 c06c8d41-db1a-0410-9941-cceddc491573
* New vaults.dshaligram2007-06-051-2/+71
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1542 c06c8d41-db1a-0410-9941-cceddc491573
* Change list for 0.2.6.dshaligram2007-06-051-0/+15
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1539 c06c8d41-db1a-0410-9941-cceddc491573
* Drop -Wconversion; it complains about implicit signed->unsigned conversions ondshaligram2007-06-051-1/+1
| | | | | | newer gccs. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1536 c06c8d41-db1a-0410-9941-cceddc491573
* Added a precautionary check for an empty delay queue (really shouldn't bedshaligram2007-06-041-0/+1
| | | | | | possible) during run. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1535 c06c8d41-db1a-0410-9941-cceddc491573
* Fixed turn-loss during travel:dshaligram2007-06-041-1/+7
| | | | | | | - Interlevel travel was losing one turn when taking stairs. - Greedy explore was losing one turn when picking up items. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1534 c06c8d41-db1a-0410-9941-cceddc491573
* [1730376] Branch stairs are now coloured yellow in the level map, as they aredshaligram2007-06-041-3/+3
| | | | | | in the main view. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1533 c06c8d41-db1a-0410-9941-cceddc491573
* [1730416] Warn player if not switching back to original weapon when butchery isdshaligram2007-06-042-25/+46
| | | | | | | | | | | | | | | | | | | | | | | | interrupted. Also tweaked delay handling, since delays (particularly stacked delays) were taking more turns than intended. Changes to delays: - A delay of 1 is assumed to mean *one* turn spent performing the delay action. - Finishing a delay takes no additional turns (because all the work was done in the prior turns). - No turn is lost after finishing a delay and before starting the next delay. finish_delay() immediately calls handle_delay() to start on the next delay. Some delay turn counts: Activity 0.2 0.3 Eat a pear 3 2 Butcher a corpse (no weapon swap) 5 4 Butcher a corpse (swapping weapons) 9 6 Take off robe (when wearing cloak) 8 5 Wear a cloak 3 2 git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1532 c06c8d41-db1a-0410-9941-cceddc491573
* [1730386] Clouds override visibility of monsters submerged in shallow water.dshaligram2007-06-042-2/+5
| | | | | | Fixed buggy check for fire elementals regenerating in flaming clouds. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1530 c06c8d41-db1a-0410-9941-cceddc491573
* [1723695] Fixed unholy (and silly) travel cache corruption bug.dshaligram2007-06-042-6/+16
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1528 c06c8d41-db1a-0410-9941-cceddc491573
* Removed a couple of unnecessary viewport-center calls.dshaligram2007-06-042-2/+0
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1527 c06c8d41-db1a-0410-9941-cceddc491573
* isblank is not available on DOS djgpp, replaced with == ' '.dshaligram2007-06-041-2/+2
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1526 c06c8d41-db1a-0410-9941-cceddc491573
* Fixed libw32c.cc to work with the new viewport changes.dshaligram2007-06-044-46/+50
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1525 c06c8d41-db1a-0410-9941-cceddc491573
* [1699948] Allow changing the viewport size if you're using a larger terminaldshaligram2007-06-0425-224/+625
| | | | | | | | | than 80x24. Also allow moving the PC around the viewport without scrolling the viewport if the viewport is large enough. This is not tested on DOS and Windows yet. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1524 c06c8d41-db1a-0410-9941-cceddc491573
* Refix charm check so interrupt is not fired for monsters not in view.dshaligram2007-06-031-3/+6
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1523 c06c8d41-db1a-0410-9941-cceddc491573
* [1690815] Monsters that lose ENCH_CHARM should not generate "The foodshaligram2007-06-033-10/+17
| | | | | | comes into view" message. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1522 c06c8d41-db1a-0410-9941-cceddc491573
* Note travel target before checking i_feel_safe() (so that the player'sdshaligram2007-06-031-4/+4
| | | | | | | painfully selected destination is not lost because he didn't notice a giant bat in LOS.) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1521 c06c8d41-db1a-0410-9941-cceddc491573
* [1709687] Fixed Vehumet and Lugonu not accepting kills by undead slaves.dshaligram2007-06-034-8/+30
| | | | | | | | | | Fixed Lugonu not accepting butchered corpses. Fixed Elyvilon not being angered by butchery while praying. Moved item sacrifice messages to the god channel. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1520 c06c8d41-db1a-0410-9941-cceddc491573
* [1715565] Removed "You mutate" message which is irrelevant since the specificdshaligram2007-06-032-10/+9
| | | | | | | | mutation is spelled out immediately afterwards. The mutation channel now has a default colour of lightred. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1519 c06c8d41-db1a-0410-9941-cceddc491573
* [1589849] Enabled ! in targeting mode to aim beams at a specific spot.dshaligram2007-06-034-74/+112
| | | | | | | | | | | Beams aimed at the ground will hit creatures submerged in shallow water, but enchantments will do nothing, lightning will ground harmlessly, and other conjurations will do 2/3rd their normal damage. Made target_unshifted_dirs turn off default_target, and vice versa, since the options don't go well together. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1518 c06c8d41-db1a-0410-9941-cceddc491573
* [1728875] Fixed monsters not being drawn until one turn after being generated.dshaligram2007-06-032-1/+8
| | | | | | Added floor around columned hall. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1517 c06c8d41-db1a-0410-9941-cceddc491573
* $ in the interlevel travel depth prompt changes the default to the deepestdshaligram2007-06-032-1/+19
| | | | | | visited level in the branch. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1516 c06c8d41-db1a-0410-9941-cceddc491573
* Improve beam selection by trying to match slopes (well, munged slopes) to thedshaligram2007-06-033-8/+57
| | | | | | | | | | slope to the target. We use the average of the beam slope and the slope of the starting point of the beam from the center of the starting cell. This picks better beams for points close to the player - (2,1) for instance than my first attempt. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1515 c06c8d41-db1a-0410-9941-cceddc491573
* [1730096] Updated Xcode project to include xom.cc.dshaligram2007-06-031-0/+4
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1514 c06c8d41-db1a-0410-9941-cceddc491573
* Fixed silly type-conversion bugs I introduced, added -Wconversion todshaligram2007-06-023-7/+7
| | | | | | makefile.unix to catch these problems sooner. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1513 c06c8d41-db1a-0410-9941-cceddc491573
* Highlight monsters in the path of a beam (with :).dshaligram2007-06-025-24/+48
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1512 c06c8d41-db1a-0410-9941-cceddc491573
* This is an experimental attempt at selecting more intuitive beams fordshaligram2007-06-025-40/+262
| | | | | | | | | | | | | | | targeting (see 1725723): - The default beam selected for targeting is the shortest available beam that is closest to the Bresenham line between src->targ. - Targeting beams convert aliased perpendiculars into diagonals, which look better. This requires an immortal fudge to make sure the diagonal conversion doesn't happen at the wrong places (when the conversion would cause the beam to miss the target square). - Tweaked beam bounce behaviour to look more natural. Comments and suggestions welcome. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1511 c06c8d41-db1a-0410-9941-cceddc491573