summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/newgame_def.h
Commit message (Collapse)AuthorAgeFilesLines
* Use std namespace.Raphael Langella2012-08-261-4/+4
| | | | | | | | | | | | | I had to rename distance() (in coord.h) to distance2() because it conflicts with the STL function to compare 2 iterators. Not a bad change given how it returns the square of the distance anyway. I also had to rename the message global variable (in message.cc) to buffer. I tried to fix and improve the coding style has much as I could, but I probably missed a few given how huge and tedious it is. I also didn't touch crawl-gdb.py, and the stuff in prebuilt, rltiles/tool and util/levcomp.*, because I have no clue about those.
* Artificer changes.elliptic2011-09-091-15/+0
| | | | | | They don't get to choose their wands, their skills are a little lower, and their starting weapon is a weak staff... but they start with three wands instead of two: flame, enslavement, and random effects.
* Make HOPr always start with Beogh, remove god selection menusChris Campbell2011-06-301-2/+1
| | | | | | | 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-11/+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.
* Properly handle saves whose name doesn't match the character.Adam Borowski2011-04-291-0/+1
| | | | Before, they would show up but start a new game after choosing them.
* Fix Tab not working in Sprint map menu for DGL builds, fix Sprint startup ↵Darshan Shaligram2010-07-101-1/+1
| | | | failing when selecting a random character with '!'.
* Bring sanity to enums by making them diffable/patchable.Adam Borowski2010-06-081-2/+2
|
* Allow starting the arena from the startup menu.Robert Vollmert2010-04-301-0/+2
| | | | | This adds a primitive arena team choice screen, and integrates arena team settings with newgame_def.
* Add a startup menu for sprint map choice.Robert Vollmert2010-04-291-0/+4
| | | | The menu will show up once more than one sprint map exists.
* Unify startup menu with rest of character choice.Robert Vollmert2010-04-271-0/+1
| | | | | | | | | Game type is now also stored in newgame_def, and crawl remembers the last choice. We could now easily add a Tab key to the startup menu that functions like the species choice Tab but that includes filling out the same name.
* Clean up newgame.cc:_choose_wand.Robert Vollmert2010-04-261-1/+3
|
* Clean up newgame.cc:_choose_book.Robert Vollmert2010-04-251-2/+3
|
* A start at cleaning up handling of new game choices.Robert Vollmert2010-04-231-0/+52
No more storing species and background indices. Instead, there's now a few instances of newgame_def: Options.game: command line and option game settings (used to be Options.cls, Options.race, ...) Options.prev_game: the previous game's choices (used to be Options.prev_cls, ...; should not be in Options) ngchoice: current choices, internal to newgame.cc The species and background choice now separate interrogating the user from applying settings from Options.game. This is not the case yet for the secondary choices. Secondary choice memory may be slightly broken at the moment.