summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/output.h
Commit message (Collapse)AuthorAgeFilesLines
* De-duplicate magic res and stealth adjective choice.Robert Vollmert2009-12-041-0/+2
|
* Flatten header dependencies a bit.Robert Vollmert2009-11-171-1/+0
| | | | | | This removes a couple of unnecessary includes from header files. I may have missed adding some tiles includes.
* Move monster_pane_info out into mon-info.cc and rename.Robert Vollmert2009-10-271-23/+0
| | | | | I plan to use monster_info to get monster data out to the player safely via Lua.
* Drop obsolete CVS last-committed headers ($Author$).Adam Borowski2009-10-061-2/+0
|
* Remove one last reference to Repel Undead.dolorous2009-03-091-8/+7
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9402 c06c8d41-db1a-0410-9941-cceddc491573
* Remove pre-Stone Soup change history from source files, and push it allj-p-e-g2008-09-141-4/+0
| | | | | | | | | | into a file crawlhistory.txt in docs/obsolete. I used a perl script to do this under the assumption that all these change logs used the same system following the keyword "Change History". git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6930 c06c8d41-db1a-0410-9941-cceddc491573
* Rework xx and V to use monster_pane_info() to benefit from thej-p-e-g2008-08-091-2/+2
| | | | | | | | | | | | | difficulty comparison and sorting functions. Make V work as a shortcut for xx, but keep the original monster listing (now repaired) for the dump. Most of the monster_pane_function struct and functions are now also included in Tiles compiles, even though the monster list itself is still not available. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6800 c06c8d41-db1a-0410-9941-cceddc491573
* Fix 2018325 (compiling with gcc 4.3) by applying the patch by nathanj439.j-p-e-g2008-07-151-0/+3
| | | | | | | | Re-enable friendly pickup toggle for all characters and change wording to make it clearer it may have no effect. (Fixes 2018493.) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6557 c06c8d41-db1a-0410-9941-cceddc491573
* Fix 2017251: The annotation prompt not escaping properly.j-p-e-g2008-07-131-1/+1
| | | | | | | | | | | | | Fix 2016627: Ranged weapons of protection autoIDing when wielded by monsters. Fix the double prompt when using Ctrl-P in the quivering interface (part of BR 2017260), fix targetting via monster list to be turned off if there are no monsters in sight, and map auto-travel to both G and Ctrl-G. (The monster list command moves to V.) Again, I'm not sure I got all the relevant documentation. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6529 c06c8d41-db1a-0410-9941-cceddc491573
* Improve targetting via monster list, add a new option to define thej-p-e-g2008-06-251-1/+1
| | | | | | | toggle's initial setting, and update/correct the documentation a bit. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6135 c06c8d41-db1a-0410-9941-cceddc491573
* Apply patch 1952761 by jarpian (wasp): targetting with the monster list.j-p-e-g2008-06-241-1/+24
| | | | | | | | | | | | | | I've updated the patch to the current mlist code, but there are still a couple of bugs that will need to be ironed out. For example, monsters are picked by comparing their attitude and type, which is not sufficient in the case of (non-collapsed) zombies, as well as mimics or ghosts. Also if the number of monsters in the visible list is greater than its rows (because some appear in the same row) then monsters outside of the visible list can be targetted. I guess this is an unintended feature. :) I'm certain there'll be more bugs, though. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6129 c06c8d41-db1a-0410-9941-cceddc491573
* Remove unneeded methods (including the old resistance screen), renamej-p-e-g2008-06-121-2/+0
| | | | | | | debugging functions, and some other clean-up. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5757 c06c8d41-db1a-0410-9941-cceddc491573
* Experimentally dump the new overview screen rather than the old one.j-p-e-g2008-05-241-0/+2
| | | | | | | | | | | | | | | | | I'm actually not entirely convinced this is the way to go. a) The new one is more informative, but the dump already contains all that extra information in a much more detail. b) The new one is much more concise, but that's something that's not necessary in the dump. On the plus side, new players doesn't have to get used to two different designs. Anyway, the old dump is still there, and we could use the dump options to let the player choose which one to use. For now, let's try whether it's possible to get used to this one. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5225 c06c8d41-db1a-0410-9941-cceddc491573
* Move the mpr version of the monster list to output.cc and add it toj-p-e-g2008-05-241-6/+7
| | | | | | | | | | | | | | | | | the dumped information in the morgue. Change monster naming to the precise listing of zombie sub types etc. but list monster types in brackets for non-unique named monsters, so you can now find information like the following in your morgue file: "You can see a goblin, an orc, two orc warriors, thirteen friendly orcs, and the friendly Bogrim (orc priest)." Since the concise version of the monster list is still an in-game command ('F'), this also neatly solves the problem of orc players not knowing the type of their followers. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5223 c06c8d41-db1a-0410-9941-cceddc491573
* Implement the results of the HUD discussion with maybe 80% accuracy.pauldubois2008-04-191-1/+1
| | | | | | | | | | | | | | | | | I didn't do anything with changing how rot is displayed because it's a big bikeshed. For now, if there's rot you see "HP:" instead of "Health:" and I predict it'll be a long time before anyone complains (if ever) show_turns=true shows Turn: but also Gold:, will maybe rename the option (having two options is not an option :). It gets the space by stealing from the monster list rather than pushing anything off the HUD; seems like a reasonable thing to do. The HUD feels too tight already IMO. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4359 c06c8d41-db1a-0410-9941-cceddc491573
* A lot of these changes are ASCII only because I can't test in tile;pauldubois2008-04-181-5/+0
| | | | | | | | | | | | | | | | | | | please review and see if you want to un-ifdef TILE any of it. - Status lights are squished together - Remove one HUD line, so status lights only get two lines (ASCII only). - Make HUD a little bit wider, so more status lights fit (ASCII only). Add msg_max_height option; undocumented and only used internally (for now). - Refactor colour bars a little bit: - Update when resting (ASCII only) - Show recent increase as well as recent loss (ASCII only) - Color change for recent increase/loss goes away after a few turns (currently 4) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4324 c06c8d41-db1a-0410-9941-cceddc491573
* On HUD:pauldubois2008-04-041-0/+1
| | | | | | | | | | | | | | | | | | | | | Draw player name/race in yellow. Not great, I think; the rest of the HUD draws labels in, yellow and actual content in white, and this conflicts with that. Remove gold; shrink HUD by one line. Experience: David's idea Experiment: use ===--- for hp/mp bar On % screen: Make spelling and order of AC/Ev/Sh consistent with HUD Move gold to below HP/MP so god name is not cut off ("The Shining On***" looks awful) Did not do: HP->Health on HUD; currently not enough space for "Health: 123/456 (789)" git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4068 c06c8d41-db1a-0410-9941-cceddc491573
* + Implement most of the suggestions for HUD compression.pauldubois2008-04-021-0/+2
| | | | | | | | | | | | | | | | | | | | Didn't do anything with exp as there didn't seem to be consensus. + Enable the HP/Magic bars in non-tile builds; move them a little bit. I stumbled across these while looking into making HP/MP draw on a single line. I think it's a nice feature; worth at least an option, if they're not on all the time. + Fix bar-drawing bug (the "reduced" part was not drawing properly) + Reduce size of hud by 2, expand mlist by 2. Non-tile only; tile doesn't need the extra space and it uses GOTO_STAT for other things. I don't want to risk making it too small. Not implemented: - Monster list renders from the bottom up (tricky) - Use only 2 lines for warning lights git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4043 c06c8d41-db1a-0410-9941-cceddc491573
* * Monster list is now placed to the left of the view if the terminal is wide ↵ennewalker2008-03-281-1/+2
| | | | | | | | | | | enough to make better use of available space. * Added init.txt options for monster list placement. mlist_min_height - minimum items in the monster list (default: 5) mlist_force_inline - force the monster list to be between hud and messages * Fixed some (but not all) problems with the monster list being updated properly when monsters appear. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3909 c06c8d41-db1a-0410-9941-cceddc491573
* [Bug 1907221] Add "Modified for Crawl Reference" statement and author to aj-p-e-g2008-03-081-1/+1
| | | | | | | | huge number of files. Also correct file name comments. No coding changes. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3539 c06c8d41-db1a-0410-9941-cceddc491573
* Tiles:j-p-e-g2008-01-201-0/+5
| | | | | | | | | Fix the slooooow update of hp/mp during resting because of the coloured bars. Now the bars are redrawn only once resting is over or if it's interrupted. (Hp and mp still grow steadily.) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3311 c06c8d41-db1a-0410-9941-cceddc491573
* In the item selection menu, pressing "." will toggle the next item in thezelgadis2007-09-161-1/+1
| | | | | | | | | | | list; you can press "." repeatedly to select/unselect a number of contiguous items. Also, removed the depedancy upon "menu.h" for formatted_string, since that isn't in menu.h anymore. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2101 c06c8d41-db1a-0410-9941-cceddc491573
* Split off portions of externs.h and enum.h into other files. Thezelgadis2007-09-151-0/+26
| | | | | | | | | | | | | crawl_environment, player and monsters classes have been left in externs.h, which necessitates that all of the enums references by those classes stay in enums.h, since you can't forward declare an enum. However, it's a start. Also, portions of misc.{cc,h} have been split off into traps.{cc,h}, place.{cc,h} and terrain.{cc,h} git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2095 c06c8d41-db1a-0410-9941-cceddc491573
* Added final score to morguedshaligram2007-07-111-1/+1
| | | | | | | | | | Tuned abjuration parameters slightly: - Monster abjuration attenuates more the more summons it hits. - Upped player abjuration power slightly. May need more tuning. Backlight (corona or glow) makes you extremely unstealthy. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1839 c06c8d41-db1a-0410-9941-cceddc491573
* Applied whereis patch from crawl.akrasiac.org (tracks where the player is indshaligram2007-03-251-1/+1
| | | | | | | | the dungeon). All dgamelaunch patches are conditionalised by DGL_foo #ifdefs. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1096 c06c8d41-db1a-0410-9941-cceddc491573
* Merged in crawl.akrasiac.org patches (simple messaging, milestones). These takedshaligram2007-03-251-0/+4
| | | | | | | | | | | | | effect only if compiled with -DDGAMELAUNCH. Simple messaging: interacts with dgamelaunch's messaging facility allowing viewers to send messages to the player. Milestones: Writes a milestones.txt file (in xlogfile format) for things like the player killing uniques, reaching the end of a dungeon branch, etc. (similar to notes). milestones.txt is used for game announcements by an IRC bot. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1095 c06c8d41-db1a-0410-9941-cceddc491573
* Changes to the overview screen (%) - added abilities and made it scrollable.j-p-e-g2007-03-181-3/+0
| | | | | | | | Also, some more clean-up of tutorial.cc. As this involved a lot of spacing changes it was easier to just replace the file as a whole. Sorry about that. There are still some differences between the Linux and Windows versions that I don't really understand but using get_number_of_cols helps a lot. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1055 c06c8d41-db1a-0410-9941-cceddc491573
* New % overview screen (JPEG).dshaligram2007-03-121-0/+5
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1026 c06c8d41-db1a-0410-9941-cceddc491573
* [1624529] Added display of turns used in main play screen. Zero-based, whichdshaligram2006-12-301-7/+2
| | | | | | may seem odd to some players, but I like it. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@735 c06c8d41-db1a-0410-9941-cceddc491573
* Redid how the resists screen works (both in-game and in-dump.)haranp2006-11-291-1/+3
| | | | | | | | Minor notes refactoring. Added a basic notes browser on '_'. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@528 c06c8d41-db1a-0410-9941-cceddc491573
* Merged stone_soup r15:451 into trunk.dshaligram2006-11-221-0/+2
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@452 c06c8d41-db1a-0410-9941-cceddc491573
* Clean up a mistake in the SVN import.nlanza2006-08-131-0/+32
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10 c06c8d41-db1a-0410-9941-cceddc491573