| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
| |
This should fix recent arena display problems.
Also fix los_def::in_bounds to translate coordinates.
|
|
|
|
|
|
| |
Adding a "-- more --" after arena errors was getting in the way of
unattended arena runs, plus the log file can be grepped for ERROR to
find them.
|
| |
|
| |
|
|
|
|
|
|
|
| |
It's not strictly necessary anymore to have sensible fights with
recent AI changes, and could easily be restored if required.
Better to improve non-arena AI, however.
|
| |
|
|
|
|
|
| |
I'm pretty sure I've managed to replace every instance of a reference to
these files, so I hopefully haven't missed anything.
|
|
|
|
| |
Also add a few previously indirect includes.
|
| |
|
|
|
|
|
|
| |
The only use was just removed.
Also move the draw check closer to where it's used.
|
|
|
|
| |
Signed-off-by: Robert Vollmert <rvollmert@gmx.net>
|
|
|
|
| |
The call to set_position was triggering an ASSERT.
|
|
|
|
|
|
|
|
|
|
|
|
| |
This should be used instead of setting position directly.
actor::position could be made "protected" except for the arena's
unwind_var(you.position), which is too difficult for me to fix.
The reason behind this change is that actors should get their
own LOS, whose origin should be synchronized with the actor's
position.
This change also removes the non-const "coord_def& actor::pos()" (yuk).
|
|
|
|
|
|
| |
They were the same as non-_real functions.
Signed-off-by: Robert Vollmert <rvollmert@gmx.net>
|
|
|
|
|
| |
Say "A monster respawns!" or "A monster is summoned!" instead of "A
monster enters the arena!" for respawns and (non-real) summons.
|
|
|
|
|
|
|
| |
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().
|
| |
|
| |
|
|
|
|
| |
Deal with two respawning slime creatures merging and then splitting.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Deal with slime creatures 'dying' when they merge with another slime
creature. Still not quite working 100% properly.
|
|
|
|
| |
New: colour.cc, coord.cc, coordit.cc, random.cc, rng.cc.
|
|
|
|
| |
Doesn't seem to break anything...
|
| |
|
|
|
|
|
| |
Apply arena::adjust_spells() in arena_placed_monster() to make sure that
it gets absolutely everything.
|
|
|
|
|
| |
l_defs.h contains headers for things defined in the Lua functions
but used elsewhere. This should probably not exist long-term.
|
|
|
|
|
|
|
|
|
|
|
| |
Give dgn_place_monster() the proper monster level when respawning.
New "move_respawns" option teleports respawned monsters as soon as
they're placed, so that monsters don't clump up together in a brawl at
the center of the arena.
Don't filter out monster death messages when dumping messages to
arena.result
|
|
|
|
|
|
|
|
| |
If there isn't any room to place a respawning monster in, then rather
than letting it vanish, keep it on the list of pending-respawns and hope
that space clears up later. Also, if a side with pending-respawns is
about to loose because it has 0 active members, then *make* room to
place a respawn.
|
|
|
|
|
| |
Don't dump message to arena.result if they're the result of the user
examine the arena.
|
|
|
|
|
| |
If the arena option "respawn" is used then when one of the originally
placed monster dies it will be replaced by a copy.
|
| |
|
|
|
|
| |
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
|
|
|
|
| |
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10732 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* When Kirke dies and hogs are turned into humans, don't change their
attitute if in arena mode, since that messes up arena book-keeping.
* Give an error if a neutral monster is placed in the arena.
* If a summoned band leader makes it past the summon throttle restriction,
let in all of its band members, even if that will exceed the throttle.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10368 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
| |
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10039 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(further changes will be much smaller). Breaks savefile compatibility,
and bumps the major savefile version up to 6.
Some changes made to some tiles files, but it hasn't been tested with a tiles
build.
Overview of changes:
* Unrand artefacts are now defined in art-data.txt and is turned into
C code via util/art-data.pl. This has the dual advantage of being
more readable by humans, and that if the unrand data structure
changes then you can just change util/art-data.pl and regenerate
the C code rather than having to change some 70 different C structs
by hand.
* util/art-data.pl automatically updates NO_UNRANDARTS, and also
automatically generates an enumeration of all the unrands which are
equal to their item.special field.
* randart.cc and randart.h have been renamed to artefact.cc and artefact.h,
since the files covers all types of artefacts, and the differences
between randarts, unrandarts and (former) fixed arts have been
minimized since the terms were introduced. Also renamed unrand.h to
art-data.h
* The brands and resistances of former fixed arts are now handled via
artefact properties, but the rest of their special behaviours are still
hardcoded.
* Unrandarts are now distinguished between normal and "special",
with the special ones currently just being identical to the list of
the formed fixed arts. Special unrandarts are randomly generated less
often than normal unrandarts, can be generated in the Abyss if they've
been lost, can't be picked up by monsters, and can't be affected by
Tukima's Dance.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10035 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
| |
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9709 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
|
|
|
|
| |
* Rename KeymapContext KC_* -> KMC_* to avoid overlap with
kill_category KC_*.
* Increase odds for chaos brands mimicking brands that hurt the defender.
* Tweak chaos_affects_attacker().
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9595 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
|
|
|
|
|
| |
has a really bad fashion sense.
* Add a sticky flame marker for monsters.
* Replace the trapdoor spider tile with a less original, but nicer one.
* Improve shopping interface: replace "examine item" command with a
toggle between browsing and shopping.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9397 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
|
|
| |
before the other faction is declared the winner then forget the win and
continue the fighting.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8820 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
|
| |
each turn.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8817 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
|
|
|
|
|
|
| |
be set to NON_MONSTER *twice*, the second time after the royal jelly had
responded to the explosion and spat out a new jelly on the spot the spore used
to occupy, leading to the new jelly becoming detached from the mgrd.
Allowing the royal jelly to be radnomly generated in the arena with the
random_uniques tag, since it's no longer causing a crash.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8545 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
|
| |
having entered the arena.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8475 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
|
| |
look around ('x'), message history (Control-P) and suspend game (Control-Z).
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8408 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
| |
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8406 c06c8d41-db1a-0410-9941-cceddc491573
|