| 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.
|
| |
|
| |
|
|
|
|
|
| |
It had failed to keep up with changes to the source tree, and we don't
support such an old MSVC anyway.
|
| |
|
|
|
|
|
| |
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.
|
|
|
|
| |
Also moved the tiles definitions into rltiles/ virtual folder in the project.
|
|
|
|
| |
Something else it's useful to catch when searching globally.
|
|
|
|
|
|
|
|
|
|
|
|
| |
These are purely for ease of editing. The webserver cannot be run
in any form from Visual Studio at this stage.
However, Visual Studio offers Intellisense and other editing
features for the HTML/Javascript in the webserver, and additionally
extensions can be installed for Lua and Python syntax highlighting.
If you are globally searching for strings, it's often very useful to
have these files included in such global searches.
|
|
|
|
| |
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
|
|
|
|
| |
Defines it in unistd.h stub instead.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
build.h and compflag.h weren't being generated, and the projects
didn't have the latest source tree layout.
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
|
|
|
|
|
|
|
|
| |
Vaults can now include other vaults as a part of their definition. These
subvaults are currently included by tag only and replace glyphs in their
parent vault. See documentation for more details.
Vault:8 has been modified to use subvaults.
|
|
|
|
|
|
|
| |
This lets regular vaults use the same Lua functions that layout vaults
do. Convert functions in l_dgnbld that acted on grd. Update layout
vaults to use these new functions. Also, remove l_dgn_bf, as all of
its functionality is now in l_dgnbld.
|
|
|
|
| |
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
|
|
|
|
| |
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
|
|
|
|
|
|
|
| |
This updates all the contrib projects for this support
as well.
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
|
|
|
|
| |
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Instead of
defined(WIN32CONSOLE)
we should use:
defined(TARGET_OS_WINDOWS) && !defined(USE_TILE)
As well as replace
defined(WIN32TILES)
with:
defined(TARGET_OS_WINDOWS) && defined(USE_TILE)
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
|
|
|
|
| |
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
|
|
|
|
|
|
| |
It breaks on compiling debug.cc, because __LINE__ is variable
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
|
|
|
|
| |
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
|
|
|
|
| |
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
|