| 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.
|
|
|
|
|
| |
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>
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
It's only required by webtiles server builds
|
|
|