summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/ng-restr.h
Commit message (Collapse)AuthorAgeFilesLines
* Allow job and species recommendations to be independent.Steve Melenchuk2014-02-141-1/+2
| | | | | | | | | | That is, CK -> Tr can be recommended where Tr -> CK might not be. This functionality is inspired by an impending rewrite of the recommendation list where it is necessary. I may have gotten some of the species recommendations wrong, but they're probably going to all be rewritten shortly anyway.
* Remove unnecessary includes from header files.Jay3.14152012-10-231-1/+3
| | | | | | | | | | 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.
* Make HOPr always start with Beogh, remove god selection menusChris Campbell2011-06-301-2/+0
| | | | | | | With the theme justification that there are no temples to Zin in the orcish lands, or something. Since previously they were only used for HOPr to choose between Zin and Beogh, this allows the removal of god selection menus on character creation.
* Remove the Conjurer book choice.elliptic2011-06-201-2/+0
| | | | | | | | | | | This is another move towards simplifying the startup procedure; now you never need to choose a book (and the book menu code has been gutted). The Fire/Earth book was the one removed, because it had become far too similar to the Book of Flames; the Ice/Air book gives much more unique gameplay. One possibility for addressing the slight imbalance this creates between Ice/Air and Fire/Earth would be to bring back Reaver with a Fire/Earth-themed book.
* Bring sanity to enums by making them diffable/patchable.Adam Borowski2010-06-081-1/+1
|
* Fix newlines at end of file.Adam Borowski2010-01-211-1/+0
|
* Rename several functions involving player "class" to "job".Johanna Ploog2010-01-191-3/+2
| | | | We still need another synonym, right? *sighs*
* Extract newgame character restrictions from newgame.cc.Robert Vollmert2009-10-241-0/+25
The functions in the new ng-restr.cc are "pure": They don't access global state; data is passed in via the new and incomplete newgame_def. Eventually, new_game should be split into something like newgame_def choose_game(); that doesn't access "you", and void setup_game(newgame_def); that sets up the player. Also get rid of player_size in favour of player::body_size. Rename player_size_type to size_part_type since it's not really player-specific (used in actor::body_size). Move parts of player_genus, player::has_claws, body_size out into species.cc.