summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/newgame.h
Commit message (Collapse)AuthorAgeFilesLines
* Split itemprop enums out into itemprop-enum.h.Robert Vollmert2009-11-171-1/+1
| | | | Other headers now don't need to include all of itemprop.h.
* Remove "called from:" comments.Vsevolod Kozlov2009-11-031-6/+0
| | | | | | These were of questionable use and freshness. Signed-off-by: Robert Vollmert <rvollmert@gmx.net>
* Move a little more code out of newgame.cc.Robert Vollmert2009-10-281-1/+0
|
* Move opening_screen and name reading routines to ng-input.cc.Robert Vollmert2009-10-241-2/+4
|
* Convert player::your_name to std::string.Robert Vollmert2009-10-241-1/+1
| | | | Doesn't seem to break anything...
* Extract newgame character restrictions from newgame.cc.Robert Vollmert2009-10-241-0/+11
| | | | | | | | | | | | | | | | | 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.
* files.cc: use proper data type for get_class_by_nameSteven Noonan2009-10-231-5/+0
| | | | | | Whoops, apparently it was declared, but not with the correct prototype. Signed-off-by: Steven Noonan <steven@uplinklabs.net>
* newgame.h: add declaration of get_class_by_name to fix tiles buildsSteven Noonan2009-10-231-0/+5
| | | | Signed-off-by: Steven Noonan <steven@uplinklabs.net>
* Moving data out of newgame.cc.Robert Vollmert2009-10-231-20/+3
| | | | Also move species<->string translation from player.cc to species.cc.
* Move new-game enums to newgame.h.Robert Vollmert2009-10-231-8/+36
|
* Drop obsolete CVS last-committed headers ($Author$).Adam Borowski2009-10-061-2/+0
|
* Stricter sanity checking of player ghosts.0.6.0-a0zelgadis2009-05-301-0/+2
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9855 c06c8d41-db1a-0410-9941-cceddc491573
* Miscellaneous arena improvements: items, lua preludes, tiles fixes.ennewalker2009-01-021-0/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8123 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
* Recalculate permanent mutations when changing species, but leave non-permanentzelgadis2008-06-121-0/+5
| | | | | | | mutations in place. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5753 c06c8d41-db1a-0410-9941-cceddc491573
* Add various undead-related fixes.dolorous2008-04-281-0/+2
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4754 c06c8d41-db1a-0410-9941-cceddc491573
* [Bug 1907221] Add "Modified for Crawl Reference" statement and author to aj-p-e-g2008-03-081-1/+3
| | | | | | | | 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
* Reintroduce parts of the old get_species_by_index to code to fixj-p-e-g2008-03-031-0/+8
| | | | | | | | misbehaviuor with wizmode-defined ghosts (doesn't really work anyway) and (hopefully) the highscores. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3507 c06c8d41-db1a-0410-9941-cceddc491573
* Make Options.race and Options.class translate correctly, no matter whether j-p-e-g2008-03-021-1/+12
| | | | | | | | | | | | the old or new species/classes order is used. Entails some more unborking of newgame.cc. Also: make Esc leave the species selection screen (synonym for 'X', quit the game), and use it to jump back to species selection from all other selection possibilities (class, book, weapon, god) as a synonym for Bksp. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3505 c06c8d41-db1a-0410-9941-cceddc491573
* Tutorial (JPEG) and some formatting cleanup.dshaligram2007-02-061-0/+2
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@924 c06c8d41-db1a-0410-9941-cceddc491573
* Clean up a mistake in the SVN import.nlanza2006-08-131-0/+24
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10 c06c8d41-db1a-0410-9941-cceddc491573