45 Commits

Author SHA1 Message Date
Chris Beck
27436d9b0f terrain_filter caches its unit filter construction 2014-07-05 00:41:11 -04:00
Chris Beck
18159f0a6b terrain_filter uses filter_context instead of resources 2014-07-03 11:34:00 -04:00
Ignacio R. Morelle
a4f47a63c7 New Year copyright update 2014-01-01 02:08:52 -03:00
Eric S. Raymond
043c4f9fd3 Remove $Id$ cookies. 2013-03-26 21:41:37 -04:00
Mark de Wever
43b71f2ff0 New year copyright update. 2013-01-01 09:22:03 +00:00
J. Tyne
57deb6363c Adding const qualifiers to functions. 2012-07-05 01:31:44 +00:00
Jérémy Rosen
f2d4b90a36 remove MAX_MAP_AREA patch 3195 by jamit 2012-03-31 08:29:26 +00:00
Ignacio R. Morelle
6ca69b2df5 New year copyright update 2012-01-07 02:35:17 +00:00
Alexander van Gessel
81e0a2007f Revert token t_token commits from 2011-09-08T19:15:40Z!thonsew@yahoo.com on. 2011-10-10 03:43:29 +01:00
Mark de Wever
24c055cd44 Strip trailing whitespace. 2011-09-10 11:52:18 +00:00
Thonsew
fcba175936 Updated terrain_filter to
1. Use t_token in place of string literals to improve speed

2. Use unordered_set in place of std::set to improve terrain filter
lookup times.
2011-09-08 19:16:12 +00:00
Mark de Wever
ecbabea838 New year copyright update. 2011-01-01 15:57:50 +00:00
Mark de Wever
d0f4e8ac94 Remove an unneeded include. 2010-11-21 13:57:36 +00:00
Guillaume Melquiond
eeb047de55 Fixed file headers so that they match the content of the COPYING file. 2010-09-01 21:12:38 +00:00
Guillaume Melquiond
efbd8cc702 Fixed header dependencies. 2010-08-08 17:22:50 +00:00
Ali El Gariani
147d4fcec4 simplify header dependency 2010-06-13 20:11:37 +00:00
Guillaume Melquiond
99b0808dd0 Reduced compilation time and binary size by uninlining some destructors. 2010-05-30 17:02:22 +00:00
Mark de Wever
92f5f92ce5 New year copyright update. 2010-01-01 13:16:49 +00:00
Gunter Labes
5b80e34dd9 made [clear/place_shroud] include the border by default (no x,y given)
fixed bug #14493: Black border in scenario "Showdown in the Northern Swamp"
2009-10-15 19:03:18 +00:00
Ali El Gariani
1f32116d33 Regroup similar utility fonctions in pathutils.?pp where they clearly belong.
Remove or simplify some include of pathfind.hpp
2009-08-29 17:25:53 +00:00
Iurii Chernyi
09223f03cc new AI configuration syntax. Note: boost 1.35 required for compilation 2009-08-01 14:17:15 +00:00
Guillaume Melquiond
bef5b93e84 Removed unneeded forward declarations. 2009-07-19 09:50:08 +00:00
Guillaume Melquiond
cf24df2591 Removed redundant fields map_, tod_manager_, and teams_,
...from class terrain_filter.
2009-07-18 12:05:55 +00:00
Eugen Jiresch
cb81c3f852 removed gamestatus member from class terrain_filter 2009-06-19 15:16:36 +00:00
Eugen Jiresch
aa6f764d53 added tod_manager member to terrain_filter...
...and tod_manager argument to wml_animation()
2009-06-17 14:01:34 +00:00
Eugen Jiresch
3934a3a087 added vector<team> member to terrain_filter...
...(in preparation of gamestatus removal)
2009-06-11 09:31:34 +00:00
Mark de Wever
973a0a7d5c Remove trailing whitespace. 2009-01-01 10:28:26 +00:00
Mark de Wever
a5d1d2e969 New year copyright update. 2009-01-01 10:27:41 +00:00
Tomasz Śniatowski
8c8913524f explain existing vc9 hack and disable warnings there 2008-12-22 20:33:39 +01:00
Tomasz Śniatowski
01e504ede6 remove some map.hpp dependencies,
...also separated viewpoint and map_exception classes from map.hpp
into separate headers (no cpp files)
2008-10-17 17:53:08 +01:00
Tomasz Śniatowski
c54a538139 Refactor gamemap::location -- rename to map_location,
...move into separate cpp/hpp pair. The code under src/ was modified
mainly using a global search-and-replace. This change allows reducing
code dependencies and gets rid of inner-class confusion (parts of the
code had to use "location" when referring to gamemap::location, it is
now consistent across the codebase.)
2008-10-15 17:38:51 +01:00
Mark de Wever
d7841dda63 Rename restrict to restrict_size.
Restrict is a keyword in C99 and might be a C++ keyword in the future.
2008-08-18 16:39:54 +00:00
Mark de Wever
d438f80f12 Added a MSVC 9 projectfile and some fixes for that compiler (patch #1093). 2008-08-17 08:07:54 +00:00
Patrick Parker
74eae8dc3d by convention, avoid using literal zero in a non-numeric context 2008-06-22 17:32:53 +00:00
Mark de Wever
c7089e2162 Initialize all members and replaced NULL with 0. 2008-06-22 09:48:49 +00:00
Mark de Wever
001af46e6e Updated all headers to 2008. 2008-02-16 08:47:16 +00:00
Mark de Wever
b0fee326d9 Remove unused includes. 2007-12-22 14:31:37 +00:00
Mark de Wever
070310d657 Make trunk compile again with GCC-3.3. 2007-12-09 18:34:16 +00:00
Patrick Parker
ca89b9c9fa fixed: [filter_radius] now supports [and][or][not] and radius=
converted terrain_filter into a proper class and cleaned up the code for it
2007-12-09 08:39:24 +00:00
Gunter Labes
ae9e10f260 codeclean run
set svn:eol-style to native where missing
2007-08-31 19:09:40 +00:00
Mark de Wever
080eb69f60 Updated the headers to state GPL 2+ and a few changelog cleanups. 2007-08-15 13:41:56 +00:00
Mark de Wever
bb01934b85 A rather large update which updates the copyright info
* Wesnoth is distributed under the terms of the GPL version 2, made
  that more explicit

* updated the copyright range to 2007

* updated Dave's email adress
2007-07-21 07:28:04 +00:00
Patrick Parker
b491400a3f prevent unnecessary copying of the gamemap
and use the pass-by-reference model when NULL pointers are not needed
2007-07-14 09:46:07 +00:00
Eric S. Raymond
40889aed55 Arrange for keyword expansion. 2007-07-01 18:59:56 +00:00
Eric S. Raymond
10a97953f4 The Standard Terrain Filter belongs in its own module.
This is the first of two commits that will move it.
2007-07-01 16:56:41 +00:00