| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
| |
map_cell no longer has the field "properties", which has been
replaced by the unsigned long array env.pgrid.
env.map has been renamed to env.map_knowledge. It should really
be moved into player.
|
|
|
|
|
| |
Also convert the TSO halo to use this. actor::haloed() is still
specific to the player TSO halo.
|
|
|
|
|
|
|
|
|
| |
adjacent_iterator had a default center of you.pos(), which is now
gone (also the uses of).
I was running into circular header dependencies with actor.h
including los_def.h including coordit.h including player.h including
actor.h.
|
| |
|
|
|
|
|
|
|
| |
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).
|
|
|
|
| |
Signed-off-by: Robert Vollmert <rvollmert@gmx.net>
|
|
|
|
| |
Signed-off-by: Jude Brown <bookofjude@users.sourceforge.net>
|
|
|
|
|
|
|
|
| |
There were several places that had copies of the same code, checking
whether mesmerisation blocked movement to a given target.
The various mesmerisation functions have become methods of player
and were moved into behold.cc.
|
|
|
|
|
|
|
|
| |
Specifically, use random_in_bounds() in a few places instead of random
ranges involving X_BOUND and Y_BOUND values. The former won't return
any coordinates in the dungeon's map border (which acts as a wall), but
the latter will, and all the changed places are looking for empty
dungeon squares, so this should make these operations more efficient.
|
| |
|
|
|
|
|
|
|
| |
There are three new commands described on the X? screen. Interlevel
travel works. Other levels are not currently highlighted by reachability;
let me know if you want this. Interface stolen from TAEB :). dpeg's
stair view is not yet in.
|
|
|
|
|
| |
We can have either this, making SIGHUP on teleport control prompt
make you randomly teleport, or forcing a teleport on reload.
|
|
|
|
|
|
|
| |
A lot of monstuff.cc was moved into mon-abil.cc (monster abilities),
mon-act.cc (the main monster loop), mon-behv.cc (monster behaviour) and
mon-cast.cc (monster spells). mstuff2.cc was completely merged into
other files.
|
|
|
|
| |
convenience function.
|
|
|
|
|
|
| |
shadows or chaos) as a good god worshipper, ensure that the "turns into
a zombie" message always comes before the "enraged by your holy aura"
message.
|
|
|
|
|
|
|
|
|
| |
Change MONS_PROGRAM_BUG to MONS_NO_MONSTER when "no monster" is what was
meant. Now all instances of MONS_PROGRAM_BUG should indicated some sort
of failure or error.
Also, fixed some places which were still using -1 instead of
MONS_NO_MONSTER.
|
| |
|
|
|
|
|
|
| |
NO_RTELE_INTO restricts random teleport from choosing a specific grid square marked with this. This does not stop controlled teleport onto specific grid squares; controlled teleport is completely unrestricted.
Updated documentation for new property. Do not apply to branch ends/Orb chamber yet, please!
|
| |
|
| |
|
| |
|
|
|
|
| |
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
|
|
|
|
|
| |
Mostly rename functions from terrain.h that accept features of typ
dgn_feature_type from grid_is_* to feat_is_*.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix some conditions causing permanent stat loss or gain for Mf with
stat modifying boots.
Unmerge boots when the player starts levitating or flying on a water
square.
Use move_player_to_grid in blink, semi-controlled blink, and
teleportation.
Also fix a bug where Mf could random teleport into solid walls.
|
|
|
|
|
|
|
|
|
|
|
| |
The nicer interface to losight is now
void losight(env_show_grid& sh, const coord_def& center,
const opacity_func &opc = opc_default,
const bounds_func &bds = bds_default);
bounds_func provides the LOS boundary (usually just a circle with
radius the current LOS radius). opacity_func is a mapping of grid
coordinates to opacity values.
|
| |
|
| |
|
|
|
|
| |
the tiles accordingly.
|
|
|
|
| |
that can summon multiple wraiths and ghosts (FR 2865657).
|
| |
|
|
|
|
|
|
| |
i.e., allow merely praying over said corpses. Now, the only gods that
pay attention to butchery are Kikubaaqudgha and Elyvilon. Also, add
several miscellaneous fixes.
|
|
|
|
|
|
|
| |
The console version still compiles on Linux; both console and
tiles version compile in OS X. I haven't been able to test the
DOS and Windows compiles -- please fix or tell me about any
errors that show up.
|
| |
|
|
|
|
|
|
|
|
|
| |
los.cc: basic raycasting algorithm; losight(), see_grid() etc.
ray.cc: ray_def implementation.
mon-los.cc: monster_los
This includes adding a bunch of #includes; there's probably some
obsolete includes of view.h now.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
invocation to provide corpses, provides (partial) torment resistance, provides torment when butchering while praying, and gifts Necromancy books. As the final gift, the player can choose between blessing the wielded weapon with Pain brand, or Necronomicon.
Flavour and help texts haven't been altered yet.
Signed-off-by: evktalo <evktalo@users.sourceforge.net>
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
jewellery.
* As per FR 1937144, leave a purple cloud if the player or a monster
blinks or teleports away. For some reason this doesn't yet work
correctly with scrolls of blinking, even though wizard blink (which
uses the same function) does work.
--
(from svn)
Signed-off-by: Darshan Shaligram <dshaligram@users.sourceforge.net>
|
|
|
|
|
|
|
|
|
|
|
| |
* 2856912: being turned into a pig while berserk complaining about being
"too berserk" when unequipping the weapon
* 2849963: shields working even when melded
* 2845355: melded equipment not being affected by remove curse
* 2836148: disallow toggle_with_I if you've got a spell on 'I'
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10671 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
|
|
|
|
|
|
| |
* patch 2849505 by weyrava: make submerged monsters use the correct colour
* patch 2857771 by caotto: another Feawn update
* patch 2838771 by camedo: add potions of brilliance/agility
* BR 2841651 by bookofjude: allow Merfolk to control-tele into deep water
Now we need tiles for the new potions!
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10669 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
at the more after "You have lost your religion!" to avoid the negative
consequences of excommunication): when a HUP signal is received, instead of
immediately saving the game, close the stdin stream, which will cause all of
the Curses calls which normal block on key-presses to unblock, so that the code
after a more() call will execute before the disconnected game is saved (which
will happen in _input() in acr.cc). This only affects Curses
(non-tiles/console) UNIX builds which have both USE_UNIX_SIGNALS and
SIGHUP_SAVE defined.
Exceptions to the above:
* If HUP is received during a call to yesno() with safeanswer == 0, then
the game will be saved immediately, since there's no way for the
function to tell which answer is safe to give automatically.
* If HUP is received while selecting the target for a controlled teleport
then the teleport will be canceled, since otherwise a target other than
the intended one might be the one under the cursor when the disconnect
happened.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10443 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
|
| |
cleanups added by me.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10442 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
|
|
| |
* Change Portal Projectile range to LOS.
* Fix crash with Summon Horrible Things if there's not enough space.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10380 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
|
|
| |
* Limit Xom tele rounds to a maximum of 12 (unlikely, but you know...)
* Update player doll for Merfolk entering/leaving water.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10379 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
|
|
|
|
| |
lose hit points until back in water, using ENCH_AQUATIC_LAND. (Bug 2824663)
Also fix tiles compilation (patch 2824632) and add DATA_DIR_PATH to tiled
icons (patch 2824635). Both patches (and some more) by Trent W. Buck.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10364 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
plus: thrown weapon permabrand being removed when
DUR_WEAPON_BRAND is active
plus: double messaging of "You are now empty-handed."
Fix 2810517: Added a pre-ability requirements check that handles Lugonu's
enter/exit abyss, berserking, recite, breath attacks and
some more. If the requirements aren't met, the check fails
before the success check, thus no turn is wasted.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10360 c06c8d41-db1a-0410-9941-cceddc491573
|