| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
Use /** for block comments, /// for short comments, and /**< and ///< for
post-member comments.
The //<! that appeared in a few places wasn't even correct: it should
have been //!< (but is now ///<).
|
|
|
|
|
| |
Sometimes, they're there to emphasize a break between two sections of code,
which is good. In a majority of cases, though, they're just inconsistent.
|
|
|
|
|
|
|
|
|
|
| |
For most header files, this only saves on having to recompile a
small number of source files, but there are also a few headers
where small changes would now take significantly less time.
This is most obvious for the Tiles build for which the dependencies
have been greatly reduced, so that the only additional includes
when compared to console are strictly library or tile related.
|
| |
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
"File:" is shown in your editor's status bar.
"Written by:" was used only for the first person who changed a file. We got
git for that now, and pre-DCSS history is so woefully inaccurate it doesn't
really matter.
|
|
|
|
|
| |
Grouped by category, as suggested on the tavern:
https://crawl.develz.org/tavern/viewtopic.php?p=9905#p9905
|
| |
|
|
|
|
|
|
| |
They do much the same thing, except that claws_level() only deals with
the claws mutation, so allow controlling that with a parameter in
species_has_claws().
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is highly redundant with Priest of Yredelemnul.
Necromancy death knights are also up for removal,
but:
1. I'm not as convinced of that.
2. The current change is what's required for new_game
clean-up.
3. That would mean changing the job_type enum.
Death Knight species choice restrictions are now
the species that used to be unrestricted both for
DK and for the necromancy choice, apart from Kenku.
That probably needs updating, but let's wait to see
if DK isn't removed completely first.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
We still need another synonym, right? *sighs*
|
|
|
|
| |
Other headers now don't need to include all of itemprop.h.
|
|
|
|
|
|
| |
These were of questionable use and freshness.
Signed-off-by: Robert Vollmert <rvollmert@gmx.net>
|
| |
|
| |
|
|
|
|
| |
Doesn't seem to break anything...
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
Whoops, apparently it was declared, but not with the correct prototype.
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
|
|
|
|
| |
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
|
|
|
|
| |
Also move species<->string translation from player.cc to species.cc.
|
| |
|
| |
|
|
|
|
| |
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9855 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
| |
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8123 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
mutations in place.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5753 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
| |
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4754 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@924 c06c8d41-db1a-0410-9941-cceddc491573
|
|
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10 c06c8d41-db1a-0410-9941-cceddc491573
|