summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/map_knowledge.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2010-10-15 01:55:59 +0200
committerAdam Borowski <kilobyte@angband.pl>2010-10-15 01:55:59 +0200
commit555734fcd3aef4c83605d70d0456dda28b7b5ace (patch)
tree9c34fe5bc58d5f3d4c0a7622045adc7aa1d17a98 /crawl-ref/source/map_knowledge.cc
parentacf5187334f2cfb983a1a8de07d1e77f73e4283a (diff)
downloadcrawl-ref-555734fcd3aef4c83605d70d0456dda28b7b5ace.tar.gz
crawl-ref-555734fcd3aef4c83605d70d0456dda28b7b5ace.zip
Massive spacing fixes: "( spaces after parentheses )".
I did review it manually to find places where they made sense (like some tables), but for a massive sed job like this there might be places that I missed.
Diffstat (limited to 'crawl-ref/source/map_knowledge.cc')
-rw-r--r--crawl-ref/source/map_knowledge.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/crawl-ref/source/map_knowledge.cc b/crawl-ref/source/map_knowledge.cc
index 66ead7d692..eee87d8009 100644
--- a/crawl-ref/source/map_knowledge.cc
+++ b/crawl-ref/source/map_knowledge.cc
@@ -31,7 +31,7 @@ void map_knowledge_forget_mons(const coord_def& c)
}
// Used to mark dug out areas, unset when terrain is seen or mapped again.
-void set_terrain_changed( int x, int y )
+void set_terrain_changed(int x, int y)
{
env.map_knowledge[x][y].flags |= MAP_CHANGED_FLAG;
@@ -40,7 +40,7 @@ void set_terrain_changed( int x, int y )
los_terrain_changed(coord_def(x,y));
}
-void set_terrain_mapped( int x, int y )
+void set_terrain_mapped(int x, int y)
{
const coord_def gc(x, y);
map_cell* cell = &env.map_knowledge(gc);
@@ -88,7 +88,7 @@ void clear_map(bool clear_detected_items, bool clear_detected_monsters)
}
}
-static void _automap_from( int x, int y, int mutated )
+static void _automap_from(int x, int y, int mutated)
{
if (mutated)
magic_mapping(8 * mutated, 25, true, false,
@@ -105,7 +105,7 @@ static int _map_quality()
return passive;
}
-void reautomap_level( )
+void reautomap_level()
{
int passive = _map_quality();
@@ -115,7 +115,7 @@ void reautomap_level( )
_automap_from(x, y, passive);
}
-void set_terrain_seen( int x, int y )
+void set_terrain_seen(int x, int y)
{
const dungeon_feature_type feat = grd[x][y];
map_cell* cell = &env.map_knowledge[x][y];