summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/jobs.h
Commit message (Collapse)AuthorAgeFilesLines
* Extract newgame character restrictions from newgame.cc.Robert Vollmert2009-10-241-0/+3
| | | | | | | | | | | | | | | | | 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.
* Use species_type/job_type instead of int.Robert Vollmert2009-10-231-2/+2
|
* Moving data out of newgame.cc.Robert Vollmert2009-10-231-0/+13
Also move species<->string translation from player.cc to species.cc.