| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
Move the post-teleport update to its own function so that it can be
called from other functions. Provide a new function that accepts a
coord_def; try hard to move the player here, moving monsters if allowed,
but return false if we weren't able to.
Lua wrappers for you_teleport_to.
|
| |
|
|
|
|
| |
Returns a numerical value of your piety.
|
| |
|
|
|
|
| |
invokes torment when corpses are offered via prayer, in the same way that other gods accept corpses for piety. god_likes_butchery() has been removed and tutorial messages referencing the old style of offering corpses have been updated.
|
| |
|
| |
|
|
|
|
| |
Also add a few previously indirect includes.
|
|
|
|
| |
Also collect actor/player LOS code in actor-los.cc.
|
|
|
|
|
|
|
| |
Calls to plain see_cell(pos) were replaced with either observe_cell(pos)
or you.see_cell(pos). observe_cell where related to drawing the
interface and messaging, you.see_cell for game mechanics, and
one or the other in less clear cases (targetting, say).
|
| |
|
|
|
|
|
|
| |
This also removes you.where_are_you() so as not to require lua scripts to
know the value of C++ enums. This change also fixes stricmp incorrectly
falling through to strcmp on non-MSVC platforms.
|
|
|
|
|
|
| |
you.where_are_you dlua binding, further Volcano tweaks.
Signed-off-by: Matthew Cline <zelgadis@sourceforge.net>
|
|
|
|
| |
New: colour.cc, coord.cc, coordit.cc, random.cc, rng.cc.
|
|
|
|
|
|
| |
The basics of a wish-list/shopping-list. While in a shop the
shopping-list can be modified, and the player is notified as soon as
they have enough money to buy things on the shopping-list.
|
|
|
|
| |
Doesn't seem to break anything...
|
|
|
|
| |
Also move species<->string translation from player.cc to species.cc.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
cluautil.cc should eventually contain all of the functions
for passing objects from and to lua, at least the shared
ones.
Also cut down on clua.cc include list.
|
| |
|
|
|
|
|
| |
Also remove you.pos() from clua since grid coordinates aren't
supposed to be known to the user.
|
| |
|
|
|
|
| |
To avoid name clashes, rename dlua libs from *_lib to *_dlib.
|
|
|