From 9d9efc7fd96b37de17094f6f7cff8abb43a1e8a2 Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Fri, 6 Jun 2008 19:09:12 +0000 Subject: Add a line on good gods disapproving of certain items to their description (evil_item). Same for evil_eating. In another step on the way to monster pathfinding, take the shortest path and extract a vector of waypoints out of it. When experimenting with ways to do this I noticed that grid_see_grid is not symmetrical (A may see B but not vice versa); I'm not sure what effects that could have. It won't directly affect the player as the checks for monster sees player and player sees monster both use the player LoS, but it could have an effect on friendly monsters fighting enemy ones, I guess. Also, I don't think num_feats_between needs the shortest beam available (called with false now). In fact, that seemed to hurt visibility a bit, probably because of attempting to take vision obstructing shortcuts. If this reasoning is wrong, please speak up and/or correct it. (I sure hope not because the shortest beam calculation has some more overhead that can be avoided this way.) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5501 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/enum.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'crawl-ref/source/enum.h') diff --git a/crawl-ref/source/enum.h b/crawl-ref/source/enum.h index 1a906c9303..9a1ea32df8 100644 --- a/crawl-ref/source/enum.h +++ b/crawl-ref/source/enum.h @@ -863,21 +863,21 @@ enum dungeon_feature_type DNGN_CLEAR_STONE_WALL, // 10 - Transparent DNGN_CLEAR_PERMAROCK_WALL, // 11 - Transparent - // lowest/highest grid value which is a wall + // Lowest/highest grid value which is a wall. DNGN_MINWALL = DNGN_WAX_WALL, DNGN_MAXWALL = DNGN_CLEAR_PERMAROCK_WALL, - // Random wall types for big rooms + // Random wall types for big rooms. DNGN_RNDWALL_MIN = DNGN_METAL_WALL, DNGN_RNDWALL_MAX = DNGN_STONE_WALL, - // highest grid value which is opaque + // Highest grid value which is opaque. DNGN_MAXOPAQUE = DNGN_PERMAROCK_WALL, - // lowest grid value which can be seen through + // Lowest grid value which can be seen through. DNGN_MINSEE = DNGN_CLEAR_ROCK_WALL, - // highest grid value which can't be reached through + // Highest grid value which can't be reached through. DNGN_MAX_NONREACH = DNGN_CLEAR_PERMAROCK_WALL, // Can be seen through and reached past. @@ -885,7 +885,7 @@ enum dungeon_feature_type DNGN_GRANITE_STATUE = 21, // 21 DNGN_STATUE_RESERVED, - // lowest grid value which can be passed by walking etc. + // Lowest grid value which can be passed by walking etc. DNGN_MINMOVE = 31, DNGN_LAVA = 61, // 61 -- cgit v1.2.3-54-g00ecf