| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|