summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/defines.h
Commit message (Collapse)AuthorAgeFilesLines
* silence some warningsJesse Luehrs2009-12-161-3/+3
|
* Revert "Remove hard skill pool cutoff."Jesse Luehrs2009-12-161-0/+2
| | | | | | | This reverts commit c652cbec1739a628f87aedc4874c782429f8d7ce. This really needs more discussion; the current implementation isn't reallly reasonable
* Remove unused GOTO_LAST.Robert Vollmert2009-12-101-2/+1
|
* Reduce minimum message window height to 5.Robert Vollmert2009-12-031-1/+1
| | | | | | | | | | This is FR 2814313. This required adding a new option msg_min_height defaulting to 6 to keep the same default layout. I don't believe anything requires a message window of more than 5 lines (acquirement is fine with that).
* Reduce MSG_MIN_HEIGHT from 7 to 6.Robert Vollmert2009-12-031-1/+1
| | | | | | | | | | | On an 80x24 terminal, this won't change anything, since viewsz.y still can't grow 17 to 19, so msgsz.y will increase from 6 to 7. I'm not aware of anything that requires a message window height of 7. Fixes msg_max_height=6 not working in an 80x25 terminal (SF id 2823419).
* Remove aged commented #ifdef COLOUR_OPTS from defines.h.Robert Vollmert2009-11-281-29/+25
|
* Remove hard skill pool cutoff.Robert Vollmert2009-11-221-2/+0
| | | | | | | | | | | | | | | There's now a soft cutoff at player::exp_pool_cutoff() that scales with you.total_skill_points. Above that, you.exp_available is stepped down. It currently starts at ~800 skill points for a new character. A human melee fighter (weapon skill 27, fighting 15, traps 8, armour 15, invo 12) gets around 18000 points (skill level 21). The cutoff is not currently limited. Side-effects are a nerf to the experience card -- it could easily be changed to still give the usual 20000 points.
* Make experience pool defines unsigned.Robert Vollmert2009-11-221-3/+3
|
* Convert skill pool magic numbers to named constants.Robert Vollmert2009-11-221-0/+3
|
* Make icemail recovery proportional to delayCharles Otto2009-11-151-1/+1
| | | | | Subtract you.time_taken from DUR_ICEMAIL_DEPLETED instead of subtracting 1 each player turn. Adjust the corresponding time constant.
* Make the gourmand effect proportional to delay not perceived turnsCharles Otto2009-11-151-2/+3
| | | | | | Add time_taken to DUR_GOURMAND instead of adding 1 each time decrement_duration is called, along with that adjust the baseline and max values used in gourmand calculations.
* Remove #include <conio.h> from all over the place. Convert COLORS to an enum.Adam Borowski2009-11-141-27/+27
|
* Implement 'Icemail' mutation for new DSStefan O'Rear2009-11-021-0/+3
|
* Revert accidental change to default LOS radius.Robert Vollmert2009-10-171-1/+1
|
* Make default LOS configurable.Robert Vollmert2009-10-171-6/+11
| | | | | | Setting LOS_RADIUS in defines.h now works. Fixed a couple of things to allow this, including an apparent off-by-one error in crawl_view -- not quite sure this doesn't break anything.
* Clean up LOS precalculation settings.Robert Vollmert2009-10-171-1/+6
| | | | | | The maximal boundary within which losight/find_ray will work is now clearly defined at the start of los.cc. By default, it's the circle with radius LOS_MAX_RADIUS == LOS_RADIUS.
* project-wide: implement use of platform.h detection macrosSteven Noonan2009-10-101-1/+1
| | | | Signed-off-by: Steven Noonan <steven@uplinklabs.net>
* Drop obsolete CVS last-committed headers ($Author$).Adam Borowski2009-10-061-3/+1
|
* Apply caotto's plant god patch, for now named "Feawn".j-p-e-g2009-07-201-0/+1
| | | | | | | Also fix potions of porridge's menu colour being yellow for Mummies. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10355 c06c8d41-db1a-0410-9941-cceddc491573
* Tiles: Save per-character equipment setting and use it in the characterj-p-e-g2009-07-071-7/+7
| | | | | | | | | | | | | | | | selection menu. TODO: Use this instead of dolls.txt for initialising dolls, falling back on dolls.txt if name.tdl cannot be found and for new characters. I've tried displaying floor type but found it resulted in an information overload, and also distracts from the main information (species, equipment), esp. since it's mostly floor and most of the tile is covered anyway. I left it in (though commented out), so it's in the repository, but will remove it afterwards. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10122 c06c8d41-db1a-0410-9941-cceddc491573
* First part of the merger of fixed artefacts into unrandom artefactszelgadis2009-06-251-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (further changes will be much smaller). Breaks savefile compatibility, and bumps the major savefile version up to 6. Some changes made to some tiles files, but it hasn't been tested with a tiles build. Overview of changes: * Unrand artefacts are now defined in art-data.txt and is turned into C code via util/art-data.pl. This has the dual advantage of being more readable by humans, and that if the unrand data structure changes then you can just change util/art-data.pl and regenerate the C code rather than having to change some 70 different C structs by hand. * util/art-data.pl automatically updates NO_UNRANDARTS, and also automatically generates an enumeration of all the unrands which are equal to their item.special field. * randart.cc and randart.h have been renamed to artefact.cc and artefact.h, since the files covers all types of artefacts, and the differences between randarts, unrandarts and (former) fixed arts have been minimized since the terms were introduced. Also renamed unrand.h to art-data.h * The brands and resistances of former fixed arts are now handled via artefact properties, but the rest of their special behaviours are still hardcoded. * Unrandarts are now distinguished between normal and "special", with the special ones currently just being identical to the list of the formed fixed arts. Special unrandarts are randomly generated less often than normal unrandarts, can be generated in the Abyss if they've been lost, can't be picked up by monsters, and can't be affected by Tukima's Dance. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10035 c06c8d41-db1a-0410-9941-cceddc491573
* Apply my mouse speed-up commit to trunk.j-p-e-g2009-06-161-0/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9987 c06c8d41-db1a-0410-9941-cceddc491573
* Lots more cleanups. haranp2009-02-151-60/+19
| | | | | | | | | Remove the sound-strength #defines because they're not used anymore (except for SL_SPLASH, which has been replaced by its value.) Change some #defines to const variables. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9087 c06c8d41-db1a-0410-9941-cceddc491573
* Correct max armour enchantment to 8 (was 5). Sorry about that!j-p-e-g2008-12-301-1/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8031 c06c8d41-db1a-0410-9941-cceddc491573
* Actually use MAX_WPN_ENCHANT instead of hardcoding +9 everywhere.j-p-e-g2008-12-291-1/+3
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8022 c06c8d41-db1a-0410-9941-cceddc491573
* Add whitespace fixes.dolorous2008-09-281-1/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7054 c06c8d41-db1a-0410-9941-cceddc491573
* Remove pre-Stone Soup change history from source files, and push it allj-p-e-g2008-09-141-8/+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
* Improved Tile screen layout. Small screens get the message window overlaid ↵ennewalker2008-08-051-6/+1
| | | | | | on the dungeon. Even smaller screens get the graphics shrunk (and thus slightly blurry.) Added full screen options and several predefined layouts for older and newer Eee PC resolutions. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6774 c06c8d41-db1a-0410-9941-cceddc491573
* Large tiles-related changes. Platform-specific rendering removed and ↵ennewalker2008-07-151-1/+3
| | | | | | replaced with SDL/OpenGL. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6550 c06c8d41-db1a-0410-9941-cceddc491573
* Fix 1870427: Max hp misreported if frail and rotted.j-p-e-g2008-07-061-2/+2
| | | | | | | | | | Fix 2002931: feature_item_brand not working No, it's not the important bugs, but at least these are bugs I can reproduce. :P git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6433 c06c8d41-db1a-0410-9941-cceddc491573
* Add still more whitespace fixes.dolorous2008-06-101-4/+4
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5694 c06c8d41-db1a-0410-9941-cceddc491573
* Hydras raised from the dead now get the same number of heads as they had ↵dshaligram2008-05-051-0/+2
| | | | | | when alive. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4876 c06c8d41-db1a-0410-9941-cceddc491573
* Fixes to compile with Visual C++. Moved direct.cc and direct.h to directn.* ↵dshaligram2008-04-191-2/+2
| | | | | | to avoid conflict with VC++ direct.h header. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4390 c06c8d41-db1a-0410-9941-cceddc491573
* Monster list fixes:ennewalker2008-03-241-0/+1
| | | | | | | | | | * get_visible_monsters() now just silently returns descriptions * _mpr_monsters() now handles all printing of information * monster list is now written to a separate monster region (GOTO_MLIST) * added asserts to libutil that will catch behavior that breaks tile version * turned off monster list for tile version (until implemented) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3851 c06c8d41-db1a-0410-9941-cceddc491573
* Add a neutral monster brand (defaulting to darkgrey).j-p-e-g2008-03-211-4/+5
| | | | | | | | | | | | Of course we still need something like this for Tiles! Make Ctrl+Dir call close_door() if the square in question is a closed door. I've tested it, and found this change (suggested by dpeg) extremely convenient. Also fixed the information leak about an invisible monster blocking a doorway without time passing. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3778 c06c8d41-db1a-0410-9941-cceddc491573
* Fix collision between gotoxy(int,int,int) and DOS djgpp gotoxy().dshaligram2008-01-251-1/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3337 c06c8d41-db1a-0410-9941-cceddc491573
* Tiles!ennewalker2008-01-051-0/+28
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3194 c06c8d41-db1a-0410-9941-cceddc491573
* Made labyrinths bigger, removed padding around minivaults.dshaligram2007-12-271-1/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3114 c06c8d41-db1a-0410-9941-cceddc491573
* Added Sage card, which boosts skill training.haranp2007-11-301-0/+2
| | | | | | | [Side note: rm saves/ * is a bad idea.] git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2945 c06c8d41-db1a-0410-9941-cceddc491573
* [1829067] Fixed mephitic cloud not setting enchantment owner correctly on ↵dshaligram2007-11-091-1/+1
| | | | | | affected monsters. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2833 c06c8d41-db1a-0410-9941-cceddc491573
* Fixed broken MHITNOT/MHITYOU, changed handling of DUR_SLOW to be like ↵dshaligram2007-11-021-5/+5
| | | | | | DUR_HASTE, reduced paralysis duration for crystal balls of fixation. MHITNOT fix breaks saves. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2725 c06c8d41-db1a-0410-9941-cceddc491573
* Fixed labyrinth sizes for trunk.dshaligram2007-10-251-1/+3
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2574 c06c8d41-db1a-0410-9941-cceddc491573
* Increased max monsters to 350, breaks saves, may be buggy. Incremented save ↵dshaligram2007-10-071-1/+1
| | | | | | major version. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2352 c06c8d41-db1a-0410-9941-cceddc491573
* First steps toward removing the need for 6-deep rock-wall padding around ↵dshaligram2007-10-061-1/+1
| | | | | | dungeon maps. This is likely to be buggy for a while. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2341 c06c8d41-db1a-0410-9941-cceddc491573
* Added new commands "re-do previous command" (bound to `) and "repeatzelgadis2007-09-191-0/+1
| | | | | | | | | | next command" (bound to 0). Though this is just an interface change, it changes code in the core input processing function (input() in acr.cc), and also messes around with the input buffer, so it could probably do with more testing before merging it into the 0.3 branch. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2137 c06c8d41-db1a-0410-9941-cceddc491573
* Add trap_item_brand that behaves like stair_item_brand.j-p-e-g2007-09-131-1/+2
| | | | | | | Defaults to 'none'. (FR 1793669) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2083 c06c8d41-db1a-0410-9941-cceddc491573
* Turfed out obsolete orange crystal statue and silver statue features.dshaligram2007-09-071-6/+0
| | | | | | | | | | | | Moved MINMOVE and MINSEE brain damage into the dungeon_feature_type enumeration where it is clearer what they represent. Fixed ice statues not being appropriately affected by Shatter and Lee's. Moved 'v' examine hint information and feature notability into feature_def flags. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2061 c06c8d41-db1a-0410-9941-cceddc491573
* Fixed feature timeout not working right for bazaars.dshaligram2007-07-301-1/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1949 c06c8d41-db1a-0410-9941-cceddc491573
* Added rod of venom [1701655]. Redid some braindead staff handling.haranp2007-07-261-2/+0
| | | | | | | Breaks savefiles. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1932 c06c8d41-db1a-0410-9941-cceddc491573
* Updated level-design.txt.dshaligram2007-07-211-1/+4
| | | | | | | | | | | Moved map markers to mapmark.cc. Added support for timer markers that remove a feature after a certain timeout. Need to hook up messaging to Lua. Added bazaars (need more bazaar layouts). git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1899 c06c8d41-db1a-0410-9941-cceddc491573