diff options
author | pauldubois <pauldubois@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-03-10 07:19:24 +0000 |
---|---|---|
committer | pauldubois <pauldubois@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-03-10 07:19:24 +0000 |
commit | 361c56d9be596f5ed726015c24e847f98c6e75fb (patch) | |
tree | a3b13d30ba75a165bb5271181c9fc4fd6fb6d9d8 /crawl-ref | |
parent | 6b30618d321c3a9521d9fcb1f01b023cbd4acae4 (diff) | |
download | crawl-ref-361c56d9be596f5ed726015c24e847f98c6e75fb.tar.gz crawl-ref-361c56d9be596f5ed726015c24e847f98c6e75fb.zip |
Two more instances of static members that already have vaguely
linked definitions.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3577 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref')
-rw-r--r-- | crawl-ref/source/travel.cc | 5 | ||||
-rw-r--r-- | crawl-ref/source/view.cc | 9 |
2 files changed, 8 insertions, 6 deletions
diff --git a/crawl-ref/source/travel.cc b/crawl-ref/source/travel.cc index fc612ac569..d43b3a49f2 100644 --- a/crawl-ref/source/travel.cc +++ b/crawl-ref/source/travel.cc @@ -1330,8 +1330,9 @@ static void fill_exclude_radius(const travel_exclude &exc) FixedVector<coord_def, GXM * GYM> travel_pathfind::circumference[2]; -const int travel_pathfind::UNFOUND_DIST; -const int travel_pathfind::INFINITE_DIST; +// already defined in header +// const int travel_pathfind::UNFOUND_DIST; +// const int travel_pathfind::INFINITE_DIST; travel_pathfind::travel_pathfind() : runmode(RMODE_NOT_RUNNING), start(), dest(), next_travel_move(), diff --git a/crawl-ref/source/view.cc b/crawl-ref/source/view.cc index dd0d4e9ffc..00a0fa8dd3 100644 --- a/crawl-ref/source/view.cc +++ b/crawl-ref/source/view.cc @@ -4764,10 +4764,11 @@ void crawl_view_buffer::size(const coord_def &sz) ////////////////////////////////////////////////////////////////////////////// // crawl_view_geometry -const int crawl_view_geometry::message_min_lines; -const int crawl_view_geometry::hud_min_width; -const int crawl_view_geometry::hud_min_gutter; -const int crawl_view_geometry::hud_max_gutter; +// already defined in header +// const int crawl_view_geometry::message_min_lines; +// const int crawl_view_geometry::hud_min_width; +// const int crawl_view_geometry::hud_min_gutter; +// const int crawl_view_geometry::hud_max_gutter; crawl_view_geometry::crawl_view_geometry() : termsz(80, 24), viewp(1, 1), viewsz(33, 17), |