| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
| |
With the previous change to unseen cells, the check against
buffy[bufcount] is not needed anymore, so we no longer
need to fill buffy for the tiles build.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Since at the moment, different buffers need to be passed depending
on whether or not we're doing a tiles build, this involves some
ugly macroing.
|
|
|
|
| |
Also make view.cc use crawl_view_geometry.tbuf for tiles drawing.
|
| |
|
| |
|
|\ |
|
| |
| |
| |
| |
| |
| | |
Give giant spores a chance of creating a ballistomycete when they move
while wandering. This ability is on a timer, so they can't create more
than 1 ballisto per 20 turns. Numbers may need tweaking.
|
| |
| |
| |
| |
| | |
Automatically add exclusions for harmful clouds which are generated by
nither monsters nor the player.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
New MF_GOING_BERSERK flag: monsters with this flag will go berserk the
next turn after they see you.
Remove sight limitations from Dowan/Duvessa death effects. Flavour
messages will now always occur, as will Dowan's fear effect, even if you
cannot see him.
Duvessa's berserk effect is only triggered if you are in her line of
sight upon Dowan's death. If you are not, she's given the
MF_GOING_BERSERK flag, and will go berserk when she next sees you.
Reasoning is that they have some magical ability to sense the other's
death.
|
| | |
|
| |
| |
| |
| |
| | |
I'm pretty sure I've managed to replace every instance of a reference to
these files, so I hopefully haven't missed anything.
|
|/
|
|
|
|
|
| |
A total of 53 have been converted; 39 left, of which some should
stay. Now at a net loss of lines of code for monster_iterator.
Occurrences of MAX_MONSTERS down to 65 from 116 in *.cc.
|
|
|
|
| |
Also add a few previously indirect includes.
|
|
|
|
|
| |
This was a weird mix of in_bounds and map_bounds (exclusive
top-left, inclusive top-right). Replaced with in_bounds.
|
| |
|
| |
|
|
|
|
|
|
| |
The only use was just removed.
Also move the draw check closer to where it's used.
|
| |
|
| |
|
|
|
|
|
| |
In most places Feawn is now referred to as "Fedhas," its long name
(used in the religion screen) is "Fedhas Madash"
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Signed-off-by: Jude Brown <bookofjude@users.sourceforge.net>
|
|
|
|
|
|
|
| |
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>
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Signed-off-by: Robert Vollmert <rvollmert@gmx.net>
|
|
|
|
|
|
|
| |
Not all are changed yet, as there are several index checks still needed
for debugging purposes.
Also, make many checks for player/monster (non)existence use actor_at().
|
|
|
|
| |
Signed-off-by: Robert Vollmert <rvollmert@gmx.net>
|
|
|
|
|
| |
viewwindow() was always calling monster_grid() with "do_updates ==
true".
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
env.show is now a class show_def that stores tagged
unions of type show_type. For the moment, there's also
env.show_los for use in LOS determination, but that
should become an array of boolean at some point.
This breaks save compatibility.
Tiles and console version build and appear to work
fine, but this kind of change is likely to have
some side-effects.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Fixes seeing in-LOS squares on incorrect levels. Fixes the minimap not
updating. Fixes the player dot appearing on the minimap on wrong levels.
|
| |
|
|
|
|
|
|
|
| |
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.
|