98 Commits

Author SHA1 Message Date
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
Nils Kneuper
75789248e8 add the GETTEXT_TEXTDOMAIN definition to all files...
...(hopefully) that had none so far but require one since they are not
in the main textdomain
2008-12-28 00:18:23 +00:00
Eric S. Raymond
9223460daa Remove unused headers. 2008-11-09 04:35:13 +00:00
Mark de Wever
7d2d567553 Update doxygen comment style. 2008-05-24 17:30:03 +00:00
Mark de Wever
bd3a80e350 Tab to spaces and making proper strings in comment. 2008-05-24 17:07:34 +00:00
Mark de Wever
cb303a7fbe Remove code warning about 1.2 terrain format. 2008-05-24 16:57:51 +00:00
Moritz Göbelbecker
f88efeb810 Add support for overlay terrains.
Converted bridges to use the new feature.
2008-04-04 18:43:57 +00:00
Eric S. Raymond
9e2e1829f7 Code cleanup. Fix a type-conversion warning in the display code,
...banish 'letter' for terrain codes in favor of 'tcode'.
2008-02-20 00:16:11 +00:00
Eric S. Raymond
bc6d3b70ab Comment fixes to go with the letter to terrain-code change. 2008-02-17 13:47:21 +00:00
Mark de Wever
001af46e6e Updated all headers to 2008. 2008-02-16 08:47:16 +00:00
Eric S. Raymond
c7dac51c3d Change the t_letter type to t_terrain. They aren't single letters any more. 2008-02-12 13:36:23 +00:00
Mark de Wever
3df02965dd WML_ASSERT -> VALIDATE 2007-12-15 15:16:08 +00:00
Mark de Wever
712272d071 wassert -> assert 2007-12-09 13:27:38 +00:00
Mark de Wever
78499570ce Make sure all members are initialized in the constructor. 2007-09-20 17:09:44 +00:00
Gunter Labes
ae9e10f260 codeclean run
set svn:eol-style to native where missing
2007-08-31 19:09:40 +00:00
Hans Joachim Gurt
af277b1b58 doxygen 2007-08-19 12:46:16 +00:00
Hans Joachim Gurt
061aa9840a doxygen, comments 2007-08-18 05:10:04 +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
6af17e95ca Remove unused code, which was part of the first version of the new border. 2007-08-07 17:50:17 +00:00
Patrick Parker
5003f9dbf0 goto error doesn't compile but goto terrain_error does; go figure. 2007-07-29 15:54:35 +00:00
Patrick Parker
6c3c18a779 caught another terrain error 2007-07-28 17:24:23 +00:00
Patrick Parker
6712a77a33 replace the goto hack (which didn't compile for me) with an equally hideous hack 2007-07-28 16:57:27 +00:00
Mark de Wever
abb3e5742a the assertion 'str.size() <= 4' no longer happens
instead the terrain is read as 'void' and an ingame message is shown

Ivanovic please check whether I added terrain_translation.cpp properly
and whether the multiline string in terrain_translation.cpp is working
properly with gettext.
2007-07-27 18:12:33 +00:00
Moritz Göbelbecker
53ca7dae1c Simplify terrain matching...
...by changing internal representations of terrains with no layer and
thus removing special cases.
2007-07-24 10:17:41 +00:00
Moritz Göbelbecker
5a4b7663c2 Fix bug in terrain matching
Remove (unused and unneccessary) support for wildcards in source terrain
2007-07-23 21:08:54 +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
Mark de Wever
5453bf6c5a some small cleanups 2007-06-30 17:20:43 +00:00
Mark de Wever
a7bdbfa2e3 added underscores to the special off map letters 2007-06-30 13:49:23 +00:00
Mark de Wever
17d24aa380 removed support for the deprecated old keep 2007-06-28 16:34:36 +00:00
Mark de Wever
13ffb08c9c removed support for the obsolete 1.3.1 terrain format 2007-05-27 15:21:26 +00:00
Mark de Wever
960667de7a added the new hardcoded terrains for the new border transitions 2007-05-16 18:13:33 +00:00
Mark de Wever
b0669e064c add some extra debug code, added code support to properly match D^* *^F
enabling this will cause problems with the current t-g.cfg so disabled
2007-05-05 10:51:26 +00:00
Mark de Wever
bd3892149c also converted the debug code to the new format 2007-05-04 16:40:36 +00:00
Mark de Wever
2506dc9e97 remove support for 1.2 map format and allow wildcards on some places,
the latter isn't finished yet
2007-04-29 16:57:56 +00:00
Moritz Göbelbecker
64446eb9b2 Converted some files I previously missed
Undo some unintentional conversions

Fix conversion table
2007-04-22 21:09:45 +00:00
Mark de Wever
bc8dd2287e enable the automatic translation of 1.3.1 to 1.3.2 format 2007-04-22 20:18:27 +00:00
Moritz Göbelbecker
0abbca6073 Added layered terrains
Converted maps and scenarios to new system
2007-04-22 18:34:24 +00:00
Mark de Wever
47bd175adc Added the translation table for 1.3.1 to 1.3.2 format
Changed the internal constants for the terrains to the 1.3.2 format

Both changes are protected by and ifdef and are disabled but this
allows mog to use the changes. The ifdefs need to be removed before 
tagging 1.3.2
2007-04-21 12:33:08 +00:00
Mark de Wever
b1cbb50134 small cleanup, the NO_LAYER is the default value 2007-04-21 09:08:32 +00:00
Mark de Wever
bf74c11bc3 In the spirit of realease early a quick fix for the terrain system.
This might fix bug #8942 but still needs some cleanups
2007-04-18 21:12:04 +00:00
Eric S. Raymond
c058f0034a Merge back in most of mog's commit, Mordante thinks he can fix it. 2007-04-18 11:28:40 +00:00
Eric S. Raymond
253228c67b Back out mog's commit 16648, it caused bug #8739.
Some bits of this commit can and should be saved.
2007-04-18 10:55:11 +00:00
Mark de Wever
2da6d11d8f change the internal functions to use internal linkage 2007-04-06 22:41:00 +00:00
Mark de Wever
723b21389d Cleaned up the sources and added automatic wildcard extension to the terrains.
This is not 100% finished, still needs some tuning but this version works.
2007-04-06 17:20:35 +00:00
Patrick Parker
9f08e18ded silene's patch #708: appease some compiler warnings in GCC 2007-03-31 16:09:13 +00:00
Nils Kneuper
f6283e09cb proposed change by Mordante to fix terrain layering probs on ppc (MacOSX) 2007-03-19 17:34:54 +00:00
Mark de Wever
a56980c25a valgrind found some problems,
this might fix bug #8715. Note cound.cpp is not properly fixed but the
evil has been eliminated.
2007-03-18 21:36:03 +00:00
Mark de Wever
d369bfa867 added some more deprecated messages,
...also avoid the message to be shown on the startup map. It contained
a single 1 which is deemed the old format due to the fact it contains
no comma. Now it's an empty map and avoid to show the message on an
empty map.
2007-03-11 16:25:03 +00:00
Patrick Parker
11cde17531 specify a default string parameter (needed on some compilers). 2007-03-04 04:35:10 +00:00