| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| | |
Merge commits instead of rerere suck, but not being able to comfortably use
the test rig sucks even more.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
I had to rename distance() (in coord.h) to distance2() because it conflicts
with the STL function to compare 2 iterators. Not a bad change given how it
returns the square of the distance anyway.
I also had to rename the message global variable (in message.cc) to buffer.
I tried to fix and improve the coding style has much as I could, but I
probably missed a few given how huge and tedious it is.
I also didn't touch crawl-gdb.py, and the stuff in prebuilt, rltiles/tool
and util/levcomp.*, because I have no clue about those.
|
|/
|
|
|
|
|
|
|
|
| |
Also, get rid of one of three copies of '8'/'9' logic.
Also, fix the depth of place: not being heeded for some purposes.
Technically, there is one actual change: shallow items in Ziggurats had
a fixed level of 27, they now use 27 + depth in Zig. Not noticeable as
most nearby items use level 351 anyway.
|
|
|
|
|
|
|
| |
"File:" is shown in your editor's status bar.
"Written by:" was used only for the first person who changed a file. We got
git for that now, and pre-DCSS history is so woefully inaccurate it doesn't
really matter.
|
|
|
|
|
| |
It did resolve in __declspec(noreturn) which is used by the system headers
as well...
|
| |
|
| |
|
| |
|
|
|
|
|
| |
This adds a primitive arena team choice screen, and integrates arena
team settings with newgame_def.
|
|
|
|
|
|
|
| |
Some classes were erroneously referred to as 'struct' in forward
declarations, and vice versa.
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
|
|
|
|
| |
Deal with two respawning slime creatures merging and then splitting.
|
|
|
|
|
|
|
|
| |
This breaks the GCC if you're using precompiled headers, and we
don't need this included in these headers anyway. All the .cc
files have AppHdr.h included first anyway.
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
|
| |
|
|
|
|
|
|
|
| |
having entered the arena.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8475 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
|
|
|
| |
I had to comment out the line set_random_mon_list in icecave.des because
that gave an error "Too many arguments" and I couldn't find any example
where it was already used.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8356 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
items first.
Removed arena tag "move_spawners", replaced it with "move_summons", which moves
summons to a random location as soon as they're placed.
Added tag "summon_throttle:", which if set prevents summons from being placed
if the summoner has N or more allies.
Make arena monsters ignore test spawners, since spawners are only
pseudo-monsters placed in order to summons real monsters (plus attacking them
is a waste of time since they're unkillable).
Tell the arena when a corpse is placed.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8349 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
During arena mode don't reserve any of mitm[] when creating new items, and when
mitm[] fills up call arena_cull_items() instead of _cull_items(), since in
arena mode we can cull via how boring/interesting the items are rather than
having to consider game balance and fairness to the player.
Allow the arena to veto monster placement, rather than culling them immediately
after they're placed.
New arena tags:
* "no_bands" prevents band members from being placed.
* "move_spawners" teleports test spawners every turn to spread their
summons randomly over the arena.
* "ban_glyphs:" lists a set of text glyphs of types of monsters which
shouldn't be allowed in the arena.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8300 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
pick_random_monster() to try something else, rather than by culling them after
they're placed.
By default the arena prevents zero xp monsters from being randomly placed. To
allow them to be placed use the spec tag "allow_zero_xp".
Removed the arena spec tag "alert", since it's no longer needed.
Added the arena spec tag "cycle_random", which if set causes
pick_random_monster() to cycle through all the monsters valid for the level_id
chosen as the arena's place. Produces a greater variety of monsters when
using test spawners.
If arena mode is dumping message to the output file then prefix error messages
with "ERROR: " and diagnostic messages with "DIAG: "
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8165 c06c8d41-db1a-0410-9941-cceddc491573
|
|
monster"' (eg: crawl -arena "Sigmund v Jessica") to let monsters fight each other undisturbed by the player. Good to examine monster AI and monster behaviour when the player is AWOL.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8059 c06c8d41-db1a-0410-9941-cceddc491573
|