summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/newgame.cc
Commit message (Collapse)AuthorAgeFilesLines
...
* Apply castamir's antiscum patch. Except for Wanderers, starting stats,j-p-e-g2009-09-151-95/+90
| | | | | | | | | | skills and equipment enchantment are now fixed, as are hp gains when leveling. (Stat gains during level up are still random.) Thank you! git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10683 c06c8d41-db1a-0410-9941-cceddc491573
* Shorten Lair to 8 levels. j-p-e-g2009-09-131-4/+4
| | | | | | | | | | | | | | In monster generation I collapsed monsters of Lair:1-2 to Lair:1 and Lair:3-4 to Lair:2, with the rest following as usual. Monster weights have *not* been changed. The subbranch entrances are now as follows: Swamp/Shoals: 2-5 Snake : 3-6 Slime Pits : 5-8 git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10666 c06c8d41-db1a-0410-9941-cceddc491573
* Add spacing fixes.dolorous2009-09-121-3/+3
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10664 c06c8d41-db1a-0410-9941-cceddc491573
* Fix an error I accidentally introduced when tweaking the previous patch.dolorous2009-09-121-1/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10663 c06c8d41-db1a-0410-9941-cceddc491573
* Apply caotto's patch in [2853994] to overhaul wanderers, with a few dolorous2009-09-121-283/+976
| | | | | | | tweaks. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10660 c06c8d41-db1a-0410-9941-cceddc491573
* Comment fixes.dolorous2009-09-121-2/+2
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10659 c06c8d41-db1a-0410-9941-cceddc491573
* Move all tiles for stairs, gates and portals into a new subfolderj-p-e-g2009-07-191-21/+22
| | | | | | | | dc-dngn/gateways/. Also prompt for randomly rolled unnamed characters. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10338 c06c8d41-db1a-0410-9941-cceddc491573
* Comment fix.dolorous2009-07-191-1/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10314 c06c8d41-db1a-0410-9941-cceddc491573
* Remove unneeded blank lines.dolorous2009-07-191-2/+0
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10301 c06c8d41-db1a-0410-9941-cceddc491573
* Add the Slime god as per n78291's (Shayne?) patch. Thanks! :Dj-p-e-g2009-07-181-0/+19
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10271 c06c8d41-db1a-0410-9941-cceddc491573
* Comment fixes.dolorous2009-07-181-2/+2
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10269 c06c8d41-db1a-0410-9941-cceddc491573
* Add minor cosmetic fixes.dolorous2009-07-181-59/+43
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10268 c06c8d41-db1a-0410-9941-cceddc491573
* Tiles: Save per-character equipment setting and use it in the characterj-p-e-g2009-07-071-23/+1
| | | | | | | | | | | | | | | | 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
* * Fix centaur/naga tiles not being displayed correctly in the characterj-p-e-g2009-07-031-1/+17
| | | | | | | | | | | | | | | | | selection menu. * Add dolls_data to player_save_info struct, to make it easier to read in per-character doll information once we get around to that. Including the tiledef files in externs.h is probably overkill, though, so we might want to move player_save_info into another header file. * Fix Xom's repel stair effect moving shops. * Fix decks granting permanent summons at low power (and only at low power). * Make default settings of the brand options consistent between init.txt and initfile.cc. * Update FAQ. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10086 c06c8d41-db1a-0410-9941-cceddc491573
* Add player icons (default species/job tile) to the selection menu for j-p-e-g2009-07-011-21/+24
| | | | | | | | | | | | | | | | | | | | saved games. Bugs/issues: * cannot handle more lines than fit the screen [*] * does not show actual equipment * probably should respect dolls.txt settings I guess the equipment problem could be solved by yet another per-character save file similar to dolls.txt, so newgame.cc could read directly from this rather than have to open the save to calculate equipment tiles or any such insanity. *) presumably because maxpagesize() assumes the entire screen is available for use by the menu git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10083 c06c8d41-db1a-0410-9941-cceddc491573
* First part of the merger of fixed artefacts into unrandom artefactszelgadis2009-06-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (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 recent commits to trunk.j-p-e-g2009-06-151-4/+6
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9984 c06c8d41-db1a-0410-9941-cceddc491573
* Forward-port 0.5 r9932 to trunk.dolorous2009-06-091-11/+13
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9933 c06c8d41-db1a-0410-9941-cceddc491573
* Apply 0.5 r9875 to trunk.dolorous2009-06-011-2/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9877 c06c8d41-db1a-0410-9941-cceddc491573
* Stricter sanity checking of player ghosts.0.6.0-a0zelgadis2009-05-301-5/+10
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9855 c06c8d41-db1a-0410-9941-cceddc491573
* Add spacing fixes.dolorous2009-05-241-2/+2
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9818 c06c8d41-db1a-0410-9941-cceddc491573
* Unrestrict OgHe, as a few other races with a staves aptitude of 120 can dolorous2009-05-241-1/+0
| | | | | | | | | be healers (and pacification can hold off beginning monsters until they can find a better weapon); ogres have average invocations aptitude; and the healing powers can keep them alive. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9817 c06c8d41-db1a-0410-9941-cceddc491573
* Unrestrict DDPa and OgMo.dolorous2009-05-141-2/+0
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9767 c06c8d41-db1a-0410-9941-cceddc491573
* Add minor cosmetic fixes.dolorous2009-05-081-1/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9753 c06c8d41-db1a-0410-9941-cceddc491573
* * Replace the range_view_annotator loop with an simple check for thej-p-e-g2009-05-051-28/+47
| | | | | | | | | | | | | | current range, which if set to a value > 0 will cause viewwindow to colour all grids not in los or not in range to be coloured grey. Has the side effect to also work for Tiles. :) * Change THELM_DESC_JEWELLED to golden, do as to avoid overlap with the randart description. * Make porridge sometimes brown and blood potions sometimes viscous/sedimented. (Yes, these don't really fit but I don't like the fixed descriptions.) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9735 c06c8d41-db1a-0410-9941-cceddc491573
* Add spacing fixes.dolorous2009-04-301-1/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9709 c06c8d41-db1a-0410-9941-cceddc491573
* Check for the ogre genus in more places, in case another ogre species is dolorous2009-04-291-1/+1
| | | | | | | ever added. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9701 c06c8d41-db1a-0410-9941-cceddc491573
* [2719487] Fixing off-by-one error for artificer previous start wand.ennewalker2009-04-201-1/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9664 c06c8d41-db1a-0410-9941-cceddc491573
* [2773135] Fixing bug where Options.weapon could specify a weapon that was ↵ennewalker2009-04-191-7/+18
| | | | | | not an available option for the character. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9663 c06c8d41-db1a-0410-9941-cceddc491573
* [2774528] Tiles splash screen.ennewalker2009-04-191-1/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9658 c06c8d41-db1a-0410-9941-cceddc491573
* Unrestrict the summoning book for ogres, since they can be summoners.dolorous2009-04-171-0/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9616 c06c8d41-db1a-0410-9941-cceddc491573
* Unrestrict ogre hunters.dolorous2009-04-171-1/+0
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9610 c06c8d41-db1a-0410-9941-cceddc491573
* * Allow 'Ctrl-T' as tutorial trigger (currently 'T').j-p-e-g2009-04-091-4/+5
| | | | | | | | * Allow choice of deck for Stack Five like for the other abilities. * Include revision in chardump. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9592 c06c8d41-db1a-0410-9941-cceddc491573
* Xom again:j-p-e-g2009-03-281-1/+1
| | | | | | | | | | * tweak values for tension and amusement * Xom only laughs about "funny" deaths * gift_timeout rerolling after a bad act depends on its severity * replace the blink effect with position swapping git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9561 c06c8d41-db1a-0410-9941-cceddc491573
* * A few starting choice restriction tweaks.j-p-e-g2009-03-241-4/+6
| | | | | | | | | | | | | | | | | | * Increase probability of Xom acts some more, in particularly tension ones. * Greatly lower the chance of Xom doing a bad act despite xom_is_nice() having been rolled. (Now that Xom's mood is no longer predefined, it's not really necessary anymore.) * When making Xom cast a spell, distinguish between spells that require tension and those that don't. * Monsters that are more than 3 waypoints away from their target grid don't count towards tension. (This applies to monsters attracted by noise to a nearby position, or monsters "tracking" you.) * If there are no monsters within line of sight (including invisible ones), tension will always be zero. (This avoids the mysterious berserk effects while a monster is lurking around the corner.) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9543 c06c8d41-db1a-0410-9941-cceddc491573
* Restrict deep dwarf crusaders, as deep dwarves are bad with dolorous2009-03-231-0/+1
| | | | | | | enchantments, just as mountain dwarves are. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9540 c06c8d41-db1a-0410-9941-cceddc491573
* Fix [2705960]: Give deep dwarf hunters axes, as mountain dwarf hunters dolorous2009-03-231-0/+1
| | | | | | | get them as well. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9539 c06c8d41-db1a-0410-9941-cceddc491573
* Unrestrict fire and ice spellbooks for ogres, so that ogre conjurers dolorous2009-03-231-0/+2
| | | | | | | don't have both books restricted. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9538 c06c8d41-db1a-0410-9941-cceddc491573
* Restrict ogres' using hand axes and being paladins. Regarding the dolorous2009-03-211-1/+1
| | | | | | | | | | latter, ogres have a horrible aptitude for axes; regarding the latter, ogres have a horrible aptitude for long swords, and can't wear heavy armor, so they'll waste time training dodging and stealth for the most part. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9524 c06c8d41-db1a-0410-9941-cceddc491573
* Add more comment fixes.dolorous2009-03-151-3/+4
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9503 c06c8d41-db1a-0410-9941-cceddc491573
* Comment fix.dolorous2009-03-151-1/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9502 c06c8d41-db1a-0410-9941-cceddc491573
* Add more spacing fixes.dolorous2009-03-151-3/+3
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9501 c06c8d41-db1a-0410-9941-cceddc491573
* Various documentation tweaks. Among others, replace all references toj-p-e-g2009-03-121-7/+7
| | | | | | | | "class" with "job", and "race" with "species" because that comes much closer to what they actually are. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9425 c06c8d41-db1a-0410-9941-cceddc491573
* Add yet more minor cosmetic fixes.dolorous2009-03-121-2/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9422 c06c8d41-db1a-0410-9941-cceddc491573
* Prompt for pre-named characters chosen completely randomly (via optionj-p-e-g2009-03-111-3/+24
| | | | | | | | random_pick, !, or #), defaults to 'y' == "I want to play this combination." (Implements part of FR 2088453.) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9416 c06c8d41-db1a-0410-9941-cceddc491573
* Consolidate routines for picking a random draconian monster species.dolorous2009-03-081-4/+4
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9374 c06c8d41-db1a-0410-9941-cceddc491573
* Add spacing fix.dolorous2009-03-071-1/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9373 c06c8d41-db1a-0410-9941-cceddc491573
* Remove gnomes and grey elves. (Can someone check the tiles compile?)haranp2009-03-041-86/+25
| | | | | | | Species-shifts saves. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9328 c06c8d41-db1a-0410-9941-cceddc491573
* Comment fixes.dolorous2009-03-031-3/+3
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9321 c06c8d41-db1a-0410-9941-cceddc491573
* Clean up.dolorous2009-03-021-1/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9313 c06c8d41-db1a-0410-9941-cceddc491573