summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/hiscores.h
Commit message (Collapse)AuthorAgeFilesLines
* hiscores: log whether killer is a uniqueSamuel Bronson2013-12-251-0/+1
|
* Drop double newlines where they seem to serve no purpose.Adam Borowski2013-12-211-2/+0
| | | | | Sometimes, they're there to emphasize a break between two sections of code, which is good. In a majority of cases, though, they're just inconsistent.
* Use the correct title in scorefile_entry stuff.elliptic2013-12-091-0/+1
| | | | | This fixes issues with the wrong UC title appearing sometimes if str > dex but base str < base dex (or the reverse).
* Add logfile/milestone fields for AC, EV, SH, aut.elliptic2013-03-161-0/+4
|
* Save subvaults, tag vault monsters.Darshan Shaligram2013-01-131-0/+1
| | | | | | | | | Save subvaults in vault_placement with their parent mapdefs, include subvault names when generating logfile entries. Tag monsters with the name of the map that placed them, and write a killermap field to the logfile if the killer was placed by a map, and the player did not die in that same map.
* Remove unnecessary includes from header files.Jay3.14152012-10-231-1/+0
| | | | | | | | | | For most header files, this only saves on having to recompile a small number of source files, but there are also a few headers where small changes would now take significantly less time. This is most obvious for the Tiles build for which the dependencies have been greatly reduced, so that the only additional includes when compared to console are strictly library or tile related.
* Use unique_ptr instead of auto_ptr (emulated for non-C++11).Adam Borowski2012-08-281-1/+1
| | | | | | This stops the tons of warnings, while allowing building for both old and new C++ standards. And if we wanted to use shared_ptr or something, now we can without being ambiguous.
* Use std namespace.Raphael Langella2012-08-261-48/+48
| | | | | | | | | | | | | I had to rename distance() (in coord.h) to distance2() because it conflicts with the STL function to compare 2 iterators. Not a bad change given how it returns the square of the distance anyway. I also had to rename the message global variable (in message.cc) to buffer. I tried to fix and improve the coding style has much as I could, but I probably missed a few given how huge and tedious it is. I also didn't touch crawl-gdb.py, and the stuff in prebuilt, rltiles/tool and util/levcomp.*, because I have no clue about those.
* Add a milestone for the first time each branch is exited.elliptic2012-08-221-1/+1
| | | | | | Only applies to branches with more than one level, so it shouldn't be too many milestones. In order to get oplace to work correctly, the report_origin_level argument to mark_milestone() was made slightly more flexible.
* Remove fruit_found_mask.Adam Borowski2012-08-221-2/+0
| | | | It is a remnant of a gimmick banner from one of past tourneys.
* Revert player mummy death curses, which were committed by accident.Steve Melenchuk2012-07-301-1/+0
| | | | | This reverts commit 90551e86189b850caf36c73f3445c480abc79f59. This reverts commit ada134d4137d8d869c0f97e1cd4e553a2e58acc9
* Death-curse a monster that kills the player if the player is a mummy.Frank Benkstein2012-07-301-0/+1
|
* Kill some longs.Adam Borowski2012-05-261-1/+0
| | | | | | In portable code, basically every use of long or %ld/%lu/%lx is a bug. A legitimate use in Crawl is the bit array: storing it in-memory should be preferably done a word at a time.
* Revert "Report the old place in br.enter milestones."elliptic2012-05-081-1/+0
| | | | | | | | This reverts commit 7cd5a58682c59923555cb4e57b6bb1fe97ef8dfe. Henzell and Sequell already use oplace correctly, and this commit made Sequell unable to determine correctly which branch is entered. Updating Gretell with the oplace code already in place in Henzell/Sequell shouldn't be hard.
* Report the old place in br.enter milestones.Adam Borowski2012-05-021-0/+1
| | | | | | This was already done as "oplace", but none of the bots actually reported it. It's pointless to say you are in Lair:1 when entering Lair, so it's a waste of space to note the new level.
* Merge branch 'master' into portal_branchesAdam Borowski2012-04-251-0/+4
|\
| * Some refactoring of highscore table code, catching enter keypress, and ↵Thomas Holmes2012-04-191-0/+1
| | | | | | | | stubbing the loading of the morgue file
| * Beginning of working highscore functionality. Adds the beginning menu item, ↵Thomas Holmes2012-04-191-0/+3
| | | | | | | | and builds the list. Shows a short lines and then the detailed listing as you select each entry.
* | Merge branch 'master' into portal_branchesAdam Borowski2012-03-261-5/+0
|\| | | | | | | | | This includes fixes for 64834896234968 places in master that add new uses of LEVEL_FOO and so on.
| * Make some more functions static/gone.Adam Borowski2012-03-251-5/+0
| |
* | Merge branch 'master' into portal_branchesAdam Borowski2011-12-281-1/+2
|\|
| * Coding style fixes: braces to their own line.Neil Moore2011-12-141-1/+2
| | | | | | | | The exceptions are extern "C", multi-line macros, and json.{cc,h}.
* | Get rid of level_type, unify BRANCH_*, LEVEL_* and portal vaults.Adam Borowski2011-11-041-1/+0
|/
* Add more printf warnings (SamB).Adam Borowski2011-09-211-2/+1
|
* Add a tiles field to scorefile entries.Florian Diebold2011-08-081-0/+1
|
* Record which skills are at least 15 in the logfile.elliptic2011-06-301-0/+2
|
* Count completed Ziggurats, and record deepest level reached.Adam Borowski2011-06-191-0/+3
|
* Make sure death milestones are one line.Adam Borowski2011-04-201-2/+2
| | | | The death description code is a nightmare...
* Make file headers doxygen-friendly, drop useless fields.Adam Borowski2011-03-281-5/+4
| | | | | | | "File:" is shown in your editor's status bar. "Written by:" was used only for the first person who changed a file. We got git for that now, and pre-DCSS history is so woefully inaccurate it doesn't really matter.
* Don't write uids to score files anymore.Adam Borowski2010-12-021-1/+0
|
* Replace int by skill_type whenever possibleRaphael Langella2010-10-271-1/+1
|
* Massive spacing fixes: "( spaces after parentheses )".Adam Borowski2010-10-151-6/+6
| | | | | | I did review it manually to find places where they made sense (like some tables), but for a massive sed job like this there might be places that I missed.
* Write some active status effects to the log file.Robert Vollmert2010-09-131-0/+1
| | | | | | They're in a comma-separated field and use the same text as the @:-line of the %-screen for now. I made a somewhat arbitrary selection of effects. It's not clear we shouldn't just save all effects.
* Track cumulative damage per turn and death source.Robert Vollmert2010-09-041-0/+2
| | | | This adds fields "sdam" and "tdam" to the score file.
* Allow overriding death time in scorefile_entry, mark_milestone.Robert Vollmert2010-08-041-3/+4
|
* Rename chars used as numbers to int8_t/uint8_t. Fix some other type usage.Adam Borowski2010-07-301-5/+5
| | | | | | | | | | This should help against the signed char problems, and is good for code readability. Now, if you have a char, it's either an untyped in-memory byte, or a symbol inside a string. Small numbers are instead [u]int8_t, ints, an enum type, or, in so many cases, bools. I didn't touch any of the tiles code, as it's currently broken and I don't want to risk making it unbroken harder.
* Always store full trap name in kaux.Robert Vollmert2010-07-301-1/+0
| | | | | Fixes things like "killed by triggering a a Zot trap trap" or "killed by triggering a hand axe trap".
* Keep track of different fruit types the player has found for the 2010 ↵Darshan Shaligram2010-07-141-0/+2
| | | | tournament Fedhas banner.
* Rename is_rune* to item_is_rune*, make mark_milestone usable without dgl ↵Darshan Shaligram2010-07-141-2/+0
| | | | check at every point of use.
* Fix a crash on win32 due to msvc libc screwing up sprintf("%ld", long).Adam Borowski2010-07-121-6/+6
| | | | Also, get rid of a few other longs.
* If the PC dies in a vault, log the map name and description.Darshan Shaligram2010-06-281-0/+2
| | | | | Map descriptions are intended to be human-readable place name qualifiers, such as Pan (Cerebov's castle).
* Save 1-based absdepth in logfile and milestone records.Darshan Shaligram2010-06-251-0/+1
|
* Remove unused scorefile_entry::mon_num.Robert Vollmert2010-06-031-1/+0
|
* allow to pass death_source_name directly to a scoreboard entryxale2010-06-031-2/+3
| | | | Signed-off-by: Robert Vollmert <rvollmert@gmx.net>
* hiscores.cc: Fix DGL compile.Robert Vollmert2010-05-191-0/+1
|
* Make scorefile_entry aware of removed backgrounds.Robert Vollmert2010-05-161-1/+1
| | | | | | | | | For one, don't assert when reading an unknown background from the score file. Instead, such backgrounds will be output as "unknown" or "??". Then, make the translation functions from job to and from string aware of the old "Thief" and "Death Knight" backgrounds, so they can be printed when crawl lists highscores.
* Make scorefile_entry members private.Robert Vollmert2010-05-161-3/+7
| | | | That way I'll feel safer changing the meaning of scorefile_entry::cls.
* Don't crash on unknown species in the score file. Don't trample such ↵Adam Borowski2010-03-171-0/+3
| | | | scores, nor any with unknown fields.
* Report parent level in branch entry milestones.Darshan Shaligram2010-02-271-1/+2
| | | | | | | | | | | | | | | | | | | | When generating a milestone for entering a new area, include the level containing the entry stair/portal in the 'oplace' key. This will allow Henzell to report the dungeon level containing the Lair entrance, wizlab, etc. This isn't perfect: oplace will be plain Wrong when the player uses the Trowel card to create portal vaults outside the main dungeon (such as Trowel in Pandemonium). Trowel is generally problematic outside the dungeon (see http://crawl.develz.org/mantis/view.php?id=960). Since Ziggurats can legitimately be generated in Pandemonium, generate ziggurat entry milestones in the onclimb event of the ziggurat portal, instead of waiting until the player has entered the Ziggurat. Unfortunately this means that the entry place for Ziggurats will be reported in the 'place' field instead of 'oplace'. I recommend that this change not be included in 0.6, since we need additional work to fix Trowel and other issues before we have full milestone sanity.
* Add summoner chain information to death reportsStefan O'Rear2009-11-121-3/+2
|