| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
.cc, moving its contents into the new stepdown.cc and strings.cc.
(The latter also got many donations from libutil.h.)
Down with stuff! Up the new flesh!
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
A good deal of functions move to the two new files, mon-poly and
mon-message. Of the others, some go to where they are used, some to
mon-util, and a few are made member methods of monster.
This probably breaks Xcode compilation, and I'm not able to test
the changes I made to MSVC that will (hopefully) keep it working.
|
|
|
|
|
| |
We weren't setting USE_TILE and friends, and were furthermore omitting
the SDL include directory.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
TODO: tie this up to the beam code; move shared code between melee and
ranged to plain attack; write ranged-specific code.
|
|
|
|
|
|
|
|
|
|
| |
Specifically player_reacts, decrement_durations, and various helper
functions.
[Committer's note: updated the xcode and MSVC project files too; I don't
guarantee that they work.]
Signed-off-by: Steve Melenchuk <smelenchuk@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
All the ones that reference mon_spellbook_type, so that the users
of mon-util.h don't all require a rebuild whenever mon-spll.h is
touched and mon-mst.h regenerated.
For the same reason, change the 'sec' field mon monster_entry back to an
int, and make get_spellbooks a function rather than a method of
monster_info.
I did not split the implementations off into a new .cc file, but that
wouldn't be unreasonable.
|
|
|
|
| |
The old name was quite puzzling...
|
|
|
|
|
|
| |
It was a pure interface screw, and even worse, required a large amount of
support code that's a maintenance burden, causing crashes we need to fix
from time to time.
|
|
|
|
|
| |
It degenerated to a simple loop over menv, hardly worth any syntactic sugar.
I kept it for now, though.
|
| |
|
|
|
|
|
| |
This takes some coding out of creating an enum-indexed data list (existing
examples would include lists of player status data, spell data, etc.)
|
|
|
|
|
| |
This works in an identical fashion to monster_picker
using the same format of distribution tables.
|
|
|
|
|
|
|
|
|
|
| |
This enables the distributions to be easily used for picking over
enums other than monster_type, and even for arbitrary objects.
The new template is contained in random_pick. It can be used
simply by creating a random_picker<T> and calling its pick
method, or can be subclassed if more complex veto behaviour
is required.
|
|
|
|
|
|
| |
After creating the monster, the make_chimera function
in mon-chimera.cc can be used to set its component
creatures.
|
|
|
|
| |
Windows doesn't support piping to /dev/null
|
| |
|
| |
|
|
|
|
|
| |
Precompiled headers speed up compilation and appear to be the reason why
we have to have AppHdr.h included first in every .cc file.
|
|
|
|
| |
It's only required by webtiles server builds
|
|
|