summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2010-01-21 10:27:47 +0100
committerAdam Borowski <kilobyte@angband.pl>2010-01-21 10:27:47 +0100
commit3526973df9b10845d6c63e79cb2463631157b980 (patch)
tree980c713c976cd821e4213cec675b72741fcbccfc
parent0b392a6cf59581f51facfb72e0c5f64c843374ab (diff)
downloadcrawl-ref-3526973df9b10845d6c63e79cb2463631157b980.tar.gz
crawl-ref-3526973df9b10845d6c63e79cb2463631157b980.zip
Fix newlines at end of file.
-rw-r--r--crawl-ref/source/areas.h1
-rw-r--r--crawl-ref/source/art-func.h1
-rw-r--r--crawl-ref/source/bitary.h1
-rw-r--r--crawl-ref/source/coord.cc1
-rw-r--r--crawl-ref/source/dat/clua/macro.lua2
-rw-r--r--crawl-ref/source/dat/clua/sanity.lua2
-rw-r--r--crawl-ref/source/dat/clua/test.lua2
-rw-r--r--crawl-ref/source/dat/lua/pickup.lua2
-rw-r--r--crawl-ref/source/dat/trove.des3
-rw-r--r--crawl-ref/source/exclude.h1
-rw-r--r--crawl-ref/source/geom2d.h1
-rw-r--r--crawl-ref/source/l_defs.h1
-rw-r--r--crawl-ref/source/libunix.cc2
-rw-r--r--crawl-ref/source/los_def.h1
-rw-r--r--crawl-ref/source/message-stream.cc2
-rw-r--r--crawl-ref/source/mgen_data.h1
-rw-r--r--crawl-ref/source/mislead.h1
-rw-r--r--crawl-ref/source/mon-iter.cc1
-rw-r--r--crawl-ref/source/mon-pathfind.h1
-rw-r--r--crawl-ref/source/ng-init.h1
-rw-r--r--crawl-ref/source/ng-input.h1
-rw-r--r--crawl-ref/source/ng-restr.h1
-rw-r--r--crawl-ref/source/options.h1
-rw-r--r--crawl-ref/source/random.h1
-rw-r--r--crawl-ref/source/ray.cc1
-rw-r--r--crawl-ref/source/rltiles/dc-mon/animals/animals.txt2
-rw-r--r--crawl-ref/source/rng.cc1
-rw-r--r--crawl-ref/source/rng.h1
-rw-r--r--crawl-ref/source/scripts/genlevel.lua2
-rw-r--r--crawl-ref/source/sha256.h1
-rw-r--r--crawl-ref/source/shout.h1
-rw-r--r--crawl-ref/source/showsymb.h1
-rw-r--r--crawl-ref/source/species.h1
-rw-r--r--crawl-ref/source/teleport.h1
-rw-r--r--crawl-ref/source/test/shoal-hut.lua2
-rw-r--r--crawl-ref/source/test/snake-rune.lua2
-rw-r--r--crawl-ref/source/trap_def.h1
-rw-r--r--crawl-ref/source/unwind.h1
-rw-r--r--crawl-ref/source/viewchar.h1
-rw-r--r--crawl-ref/source/viewgeom.h3
-rw-r--r--crawl-ref/source/viewmap.h1
41 files changed, 8 insertions, 47 deletions
diff --git a/crawl-ref/source/areas.h b/crawl-ref/source/areas.h
index 693b349007..7df17a4fea 100644
--- a/crawl-ref/source/areas.h
+++ b/crawl-ref/source/areas.h
@@ -11,4 +11,3 @@ bool silenced(const coord_def& p);
std::list<actor*> haloers(const coord_def &c);
#endif
-
diff --git a/crawl-ref/source/art-func.h b/crawl-ref/source/art-func.h
index d0bbfd8151..1fb7aed35b 100644
--- a/crawl-ref/source/art-func.h
+++ b/crawl-ref/source/art-func.h
@@ -531,4 +531,3 @@ static void _RCLOUDS_equip(item_def *item, bool *show_msgs, bool unmeld)
{
_equip_mpr(show_msgs, "A thin mist springs up around you!");
}
-
diff --git a/crawl-ref/source/bitary.h b/crawl-ref/source/bitary.h
index 110a9e846c..fc622f0e06 100644
--- a/crawl-ref/source/bitary.h
+++ b/crawl-ref/source/bitary.h
@@ -32,4 +32,3 @@ protected:
};
#endif
-
diff --git a/crawl-ref/source/coord.cc b/crawl-ref/source/coord.cc
index c4f1a5ec64..4145662f15 100644
--- a/crawl-ref/source/coord.cc
+++ b/crawl-ref/source/coord.cc
@@ -108,4 +108,3 @@ coord_def grid2player(const coord_def &gc)
{
return (gc - you.pos());
}
-
diff --git a/crawl-ref/source/dat/clua/macro.lua b/crawl-ref/source/dat/clua/macro.lua
index b624ed0292..8f5e42a0e9 100644
--- a/crawl-ref/source/dat/clua/macro.lua
+++ b/crawl-ref/source/dat/clua/macro.lua
@@ -36,4 +36,4 @@ function c_macro(fn)
c_macro_name = fn
c_macro_coroutine = coroutine.create(_G[fn])
return c_macro()
-end \ No newline at end of file
+end
diff --git a/crawl-ref/source/dat/clua/sanity.lua b/crawl-ref/source/dat/clua/sanity.lua
index aea29a5b96..6fa3ac615d 100644
--- a/crawl-ref/source/dat/clua/sanity.lua
+++ b/crawl-ref/source/dat/clua/sanity.lua
@@ -14,4 +14,4 @@ local function sanity_checks()
end
end
-sanity_checks() \ No newline at end of file
+sanity_checks()
diff --git a/crawl-ref/source/dat/clua/test.lua b/crawl-ref/source/dat/clua/test.lua
index 03a23842e5..a21895db82 100644
--- a/crawl-ref/source/dat/clua/test.lua
+++ b/crawl-ref/source/dat/clua/test.lua
@@ -76,4 +76,4 @@ end
function script.usage(ustr)
ustr = string.gsub(string.gsub(ustr, "^%s+", ""), "%s+$", "")
error("\n" .. ustr)
-end \ No newline at end of file
+end
diff --git a/crawl-ref/source/dat/lua/pickup.lua b/crawl-ref/source/dat/lua/pickup.lua
index 29bac13e3e..988e4e3733 100644
--- a/crawl-ref/source/dat/lua/pickup.lua
+++ b/crawl-ref/source/dat/lua/pickup.lua
@@ -55,4 +55,4 @@ function pickup_butcher(it, name)
return true
end
-add_autopickup_func(pickup_butcher) \ No newline at end of file
+add_autopickup_func(pickup_butcher)
diff --git a/crawl-ref/source/dat/trove.des b/crawl-ref/source/dat/trove.des
index abfa17dd61..d61e63ea36 100644
--- a/crawl-ref/source/dat/trove.des
+++ b/crawl-ref/source/dat/trove.des
@@ -593,6 +593,3 @@ wwwwwwwwwwwwwwwwwwwwwwwwwwwww
wwwwwwwwwwwwwwwwwwwwwwwwwwwww
wwwwwwwwwwwwwwwwwwwwwwwwwwwww
ENDMAP
-
-
-
diff --git a/crawl-ref/source/exclude.h b/crawl-ref/source/exclude.h
index 0889d4679f..d5951ac0af 100644
--- a/crawl-ref/source/exclude.h
+++ b/crawl-ref/source/exclude.h
@@ -103,4 +103,3 @@ void marshallExcludes(writer& outf, const exclude_set& excludes);
void unmarshallExcludes(reader& inf, char minorVersion, exclude_set& excludes);
#endif
-
diff --git a/crawl-ref/source/geom2d.h b/crawl-ref/source/geom2d.h
index b52d417638..d373159294 100644
--- a/crawl-ref/source/geom2d.h
+++ b/crawl-ref/source/geom2d.h
@@ -96,4 +96,3 @@ double degrees(const vector &v);
}
#endif
-
diff --git a/crawl-ref/source/l_defs.h b/crawl-ref/source/l_defs.h
index 8d0974a918..07c1605f74 100644
--- a/crawl-ref/source/l_defs.h
+++ b/crawl-ref/source/l_defs.h
@@ -17,4 +17,3 @@ bool in_show_bounds(const coord_def &c);
coord_def player2grid(const coord_def &p);
#endif
-
diff --git a/crawl-ref/source/libunix.cc b/crawl-ref/source/libunix.cc
index 20cb139f29..1d476855a9 100644
--- a/crawl-ref/source/libunix.cc
+++ b/crawl-ref/source/libunix.cc
@@ -1090,5 +1090,3 @@ extern "C" {
return (str);
}
}
-
-
diff --git a/crawl-ref/source/los_def.h b/crawl-ref/source/los_def.h
index d9841cea96..ded8c1c792 100644
--- a/crawl-ref/source/los_def.h
+++ b/crawl-ref/source/los_def.h
@@ -34,4 +34,3 @@ public:
};
#endif
-
diff --git a/crawl-ref/source/message-stream.cc b/crawl-ref/source/message-stream.cc
index a069d3e24a..2ed836fd08 100644
--- a/crawl-ref/source/message-stream.cc
+++ b/crawl-ref/source/message-stream.cc
@@ -100,5 +100,3 @@ std::ostream& operator<<(std::ostream& os, const msg::setparam& sp)
ps->set_param(sp.m_param);
return os;
}
-
-
diff --git a/crawl-ref/source/mgen_data.h b/crawl-ref/source/mgen_data.h
index d2794796ec..a43e024141 100644
--- a/crawl-ref/source/mgen_data.h
+++ b/crawl-ref/source/mgen_data.h
@@ -171,4 +171,3 @@ struct mgen_data
};
#endif
-
diff --git a/crawl-ref/source/mislead.h b/crawl-ref/source/mislead.h
index cc5d2ebed3..0dddd08cf6 100644
--- a/crawl-ref/source/mislead.h
+++ b/crawl-ref/source/mislead.h
@@ -7,4 +7,3 @@ monster_type get_misled_monster (monsters *monster);
int update_mislead_monsters(monsters* caster);
bool update_mislead_monster(monsters* monster);
int count_mara_fakes();
-
diff --git a/crawl-ref/source/mon-iter.cc b/crawl-ref/source/mon-iter.cc
index 1158a9028d..978ce3573e 100644
--- a/crawl-ref/source/mon-iter.cc
+++ b/crawl-ref/source/mon-iter.cc
@@ -84,4 +84,3 @@ void monster_iterator::advance(bool may_stay)
while (curr_mid < MAX_MONSTERS && !valid(curr_mid))
++curr_mid;
}
-
diff --git a/crawl-ref/source/mon-pathfind.h b/crawl-ref/source/mon-pathfind.h
index 2741612de5..9507680f31 100644
--- a/crawl-ref/source/mon-pathfind.h
+++ b/crawl-ref/source/mon-pathfind.h
@@ -66,4 +66,3 @@ protected:
};
#endif
-
diff --git a/crawl-ref/source/ng-init.h b/crawl-ref/source/ng-init.h
index dc41e8168d..e8dc2a111b 100644
--- a/crawl-ref/source/ng-init.h
+++ b/crawl-ref/source/ng-init.h
@@ -7,4 +7,3 @@ void initialise_temples();
void initialise_item_descriptions();
#endif
-
diff --git a/crawl-ref/source/ng-input.h b/crawl-ref/source/ng-input.h
index 8c45247f90..963083e429 100644
--- a/crawl-ref/source/ng-input.h
+++ b/crawl-ref/source/ng-input.h
@@ -8,4 +8,3 @@ bool validate_player_name(const std::string &name, bool verbose);
void enter_player_name(newgame_def &ng, bool blankOK);
#endif
-
diff --git a/crawl-ref/source/ng-restr.h b/crawl-ref/source/ng-restr.h
index 067c09f09f..3bfa0c7239 100644
--- a/crawl-ref/source/ng-restr.h
+++ b/crawl-ref/source/ng-restr.h
@@ -21,4 +21,3 @@ char_choice_restriction religion_restriction(god_type god,
const newgame_def &ng);
#endif
-
diff --git a/crawl-ref/source/options.h b/crawl-ref/source/options.h
index bd2a057ca9..2b29a87676 100644
--- a/crawl-ref/source/options.h
+++ b/crawl-ref/source/options.h
@@ -454,4 +454,3 @@ private:
extern game_options Options;
#endif
-
diff --git a/crawl-ref/source/random.h b/crawl-ref/source/random.h
index 2ab25a5241..5b6c3afdc1 100644
--- a/crawl-ref/source/random.h
+++ b/crawl-ref/source/random.h
@@ -119,4 +119,3 @@ int choose_random_weighted(Iterator beg, const Iterator end)
}
#endif
-
diff --git a/crawl-ref/source/ray.cc b/crawl-ref/source/ray.cc
index 6c802f4c6c..989a8234ae 100644
--- a/crawl-ref/source/ray.cc
+++ b/crawl-ref/source/ray.cc
@@ -535,4 +535,3 @@ void ray_def::set_degrees(double d)
{
r.dir = geom::degree_to_vector(d);
}
-
diff --git a/crawl-ref/source/rltiles/dc-mon/animals/animals.txt b/crawl-ref/source/rltiles/dc-mon/animals/animals.txt
index e06ad01866..efe778d7ac 100644
--- a/crawl-ref/source/rltiles/dc-mon/animals/animals.txt
+++ b/crawl-ref/source/rltiles/dc-mon/animals/animals.txt
@@ -17,4 +17,4 @@ U (bears)
Y (yaks, sheep)
; (fish) and jellyfish (J)
-See mon-data.h. \ No newline at end of file
+See mon-data.h.
diff --git a/crawl-ref/source/rng.cc b/crawl-ref/source/rng.cc
index 4b7200093c..0f214bd7df 100644
--- a/crawl-ref/source/rng.cc
+++ b/crawl-ref/source/rng.cc
@@ -114,4 +114,3 @@ void pop_rng_state()
pop_sha256_state();
#endif
}
-
diff --git a/crawl-ref/source/rng.h b/crawl-ref/source/rng.h
index 0f8bf4b7f6..1e97db31da 100644
--- a/crawl-ref/source/rng.h
+++ b/crawl-ref/source/rng.h
@@ -11,4 +11,3 @@ void cf_setseed();
unsigned long random_int();
#endif
-
diff --git a/crawl-ref/source/scripts/genlevel.lua b/crawl-ref/source/scripts/genlevel.lua
index 4cb4bbff7d..c26157d454 100644
--- a/crawl-ref/source/scripts/genlevel.lua
+++ b/crawl-ref/source/scripts/genlevel.lua
@@ -16,4 +16,4 @@ for _, place in ipairs(places) do
local filename = map_dump_name_for_place(place)
crawl.mpr("Dumping map of " .. place .. " to " .. filename)
debug.dump_map(filename)
-end \ No newline at end of file
+end
diff --git a/crawl-ref/source/sha256.h b/crawl-ref/source/sha256.h
index 6ddbb0a0c6..d39a5917fd 100644
--- a/crawl-ref/source/sha256.h
+++ b/crawl-ref/source/sha256.h
@@ -8,4 +8,3 @@ void pop_sha256_state();
void reset_sha256_state();
#endif
-
diff --git a/crawl-ref/source/shout.h b/crawl-ref/source/shout.h
index eee25615e8..b21d03f073 100644
--- a/crawl-ref/source/shout.h
+++ b/crawl-ref/source/shout.h
@@ -10,4 +10,3 @@ void handle_monster_shouts(monsters* monster, bool force = false);
bool check_awaken(monsters* monster);
#endif
-
diff --git a/crawl-ref/source/showsymb.h b/crawl-ref/source/showsymb.h
index 07e76c9317..f1f2ab0210 100644
--- a/crawl-ref/source/showsymb.h
+++ b/crawl-ref/source/showsymb.h
@@ -18,4 +18,3 @@ glyph get_show_glyph(show_type object);
unsigned get_screen_glyph( const coord_def &p );
#endif
-
diff --git a/crawl-ref/source/species.h b/crawl-ref/source/species.h
index 6648fda35f..5b701a706d 100644
--- a/crawl-ref/source/species.h
+++ b/crawl-ref/source/species.h
@@ -34,4 +34,3 @@ species_type str_to_species(const std::string &species);
bool is_valid_species(species_type);
#endif
-
diff --git a/crawl-ref/source/teleport.h b/crawl-ref/source/teleport.h
index e54a437bc6..4e55874210 100644
--- a/crawl-ref/source/teleport.h
+++ b/crawl-ref/source/teleport.h
@@ -15,4 +15,3 @@ bool random_near_space(const coord_def& origin, coord_def& target,
bool forbid_sanctuary = false);
#endif
-
diff --git a/crawl-ref/source/test/shoal-hut.lua b/crawl-ref/source/test/shoal-hut.lua
index 208d590a84..8d31b13ea0 100644
--- a/crawl-ref/source/test/shoal-hut.lua
+++ b/crawl-ref/source/test/shoal-hut.lua
@@ -96,4 +96,4 @@ local function test_shoal_huts(nlevels)
end
end
-test_shoal_huts(iterations) \ No newline at end of file
+test_shoal_huts(iterations)
diff --git a/crawl-ref/source/test/snake-rune.lua b/crawl-ref/source/test/snake-rune.lua
index dbf973afa7..128066853d 100644
--- a/crawl-ref/source/test/snake-rune.lua
+++ b/crawl-ref/source/test/snake-rune.lua
@@ -64,4 +64,4 @@ for i = 1, niters do
visit_branch_end_from("D:1",
branch_entrance_feats,
thing_exists_fn("serpentine rune"))
-end \ No newline at end of file
+end
diff --git a/crawl-ref/source/trap_def.h b/crawl-ref/source/trap_def.h
index 2ec924d3b4..9ed3c6001f 100644
--- a/crawl-ref/source/trap_def.h
+++ b/crawl-ref/source/trap_def.h
@@ -28,4 +28,3 @@ private:
};
#endif
-
diff --git a/crawl-ref/source/unwind.h b/crawl-ref/source/unwind.h
index 1f1a85e807..426d629225 100644
--- a/crawl-ref/source/unwind.h
+++ b/crawl-ref/source/unwind.h
@@ -37,4 +37,3 @@ private:
typedef unwind_var<bool> unwind_bool;
#endif
-
diff --git a/crawl-ref/source/viewchar.h b/crawl-ref/source/viewchar.h
index b0e606758d..ccf08cf378 100644
--- a/crawl-ref/source/viewchar.h
+++ b/crawl-ref/source/viewchar.h
@@ -12,4 +12,3 @@ int multibyte_strlen(const std::string &s);
dungeon_char_type dchar_by_name(const std::string &name);
#endif
-
diff --git a/crawl-ref/source/viewgeom.h b/crawl-ref/source/viewgeom.h
index 6913849679..413aafdf06 100644
--- a/crawl-ref/source/viewgeom.h
+++ b/crawl-ref/source/viewgeom.h
@@ -140,6 +140,3 @@ inline coord_def show2grid(const coord_def &pos)
}
#endif
-
-
-
diff --git a/crawl-ref/source/viewmap.h b/crawl-ref/source/viewmap.h
index ad6cb28490..0dd97d9a67 100644
--- a/crawl-ref/source/viewmap.h
+++ b/crawl-ref/source/viewmap.h
@@ -5,4 +5,3 @@ bool emphasise(const coord_def& where);
unsigned get_map_col(const coord_def& c, bool travel = true);
#endif
-