summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/ng-input.h
Commit message (Collapse)AuthorAgeFilesLines
* Use std namespace.Raphael Langella2012-08-261-2/+2
| | | | | | | | | | | | | 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.
* Split up new_game.Robert Vollmert2010-04-231-1/+1
| | | | | | choose_game() is now only concerned with choosing a character, and doesn't touch "you". setup_game() (ng-setup.cc) then fills out "you" and other stuff.
* Don't modify name in is_good_name().Robert Vollmert2010-04-221-1/+1
| | | | | | In particular, don't replace blank names with Options.prev_name. This means that we can now just use a blank name if we want to ask for the name later.
* Cut a lot of the old name entry code.Robert Vollmert2010-04-211-1/+1
|
* Startup menus.Janne Lahdenpera2010-04-211-0/+1
| | | | | | | | | | | | | | | | | This patch provides the startup menu. Things that (seem) to work properly: Normal game, Sprint, Arena, savegame loading. Things that need improvement: Tutorial does not activate, left it for future project when the new fixed tutorial map is included. Arena needs an options screen before it starts running. MenuScroller does not have a visible scrollbar or more texts. Texts are not properly wrapped inside TextItems. Should also provide an TextItem that uses formatted_string. Signed-off-by: Janne Lahdenpera <felirx@gmail.com> Signed-off-by: Robert Vollmert <rvollmert@gmx.net>
* Fix newlines at end of file.Adam Borowski2010-01-211-1/+0
|
* Move opening_screen and name reading routines to ng-input.cc.Robert Vollmert2009-10-241-0/+11