32572 Commits

Author SHA1 Message Date
Eric S. Raymond
25e9e53cb6 Change the terrain definition tag from [terrain] to [terrain_type].
This is paraallel to the change from [unit] to [unit_type], and for
similar reasons - reduces ambiguity, enables better WML sanity
checking.
2009-04-14 20:17:41 +00:00
Mark de Wever
8f0fe91612 Fix a compiler warning. 2009-04-14 19:47:32 +00:00
Mark de Wever
226533c704 Fix a compiler warning. 2009-04-14 19:47:20 +00:00
Gunter Labes
139b0a33ad fixed a memory leak on advancing a game...
...and clear the history early when saving a replay
2009-04-14 19:17:46 +00:00
Gunter Labes
3e6c9ba2d4 only don't display the ended game message when the user is an observer...
...and we're destructing the game; fixes odd games that are ended by
observers (all sides empty so there is no player in the game on start)
2009-04-14 19:17:40 +00:00
Gunter Labes
6d08eec299 implemented a white list of valid chars for replay filenames 2009-04-14 19:17:34 +00:00
Ali El Gariani
4723ac9a05 Small optimization of pathfinding (paths() version) by skipping backwards moves 2009-04-14 15:59:44 +00:00
Eric S. Raymond
ec8df73ff9 Enable wmllint to see saveames, including compressed savegames,
...and do its transformations on them.
2009-04-14 14:32:46 +00:00
Eric S. Raymond
fc9939f360 Turn bell has a separate preference option,
...so it should be orthogonal to sound effects.  Fixes bug #13275:
Turn Bell Not Functioning.  Patch by corn.
2009-04-14 13:45:15 +00:00
Eric S. Raymond
9cd76d490c Wesnoth WML tools module now has an issave() entry pointy...
...that detects savefiles, including compressed savefiles.
2009-04-14 13:41:28 +00:00
Eric S. Raymond
590083fa78 Fix for bug #13364 from corn. 2009-04-14 12:58:08 +00:00
Guillaume Melquiond
f3189d7a48 Fixed const-ness of strchr result. 2009-04-14 12:49:22 +00:00
Eric S. Raymond
a14805a3b8 Bug #10077 is marked Fixed, so make the code simplification indicated here. 2009-04-14 12:43:50 +00:00
Nils Kneuper
e597e31ae1 add missing source files to POTFILES.in 2009-04-14 12:37:54 +00:00
Eric S. Raymond
3830227912 Fix incorrect comment. 2009-04-14 12:31:09 +00:00
Ali El Gariani
0011376185 Remove dead member 2009-04-14 11:35:01 +00:00
Tomasz Śniatowski
83ea299518 Editor: Moved the clipboard actions to a context menu...
...available in paste mode. Added a terrain sampler feature --
ctrl+click when in paint or fill mode
2009-04-14 12:14:52 +01:00
Iurii Chernyi
b03e2556d4 Moved ai-related files to /src/ai/
Prefixes retained (at least for now).
2009-04-14 11:04:03 +00:00
Tomasz Śniatowski
8489a88d70 make the editor able to load maps referenced in scenario files...
...and load and save maps embedded in scenario files. If you wanted to
make just that little change in the test scenario's map, rejoice. Also
some doc comments.
2009-04-14 11:44:11 +01:00
Eric S. Raymond
5f2fc39085 Clarifying comments. 2009-04-14 10:39:16 +00:00
Nils Kneuper
a537786333 updated Italian translation 2009-04-14 10:16:03 +00:00
Nils Kneuper
024dfe079a categories= in cmake modified .desktop files were broken,
...a clean fix has to be done later...
2009-04-14 09:14:17 +00:00
Nils Kneuper
6c983bc731 make desktop entry compatible with freedesktop specification 2009-04-14 08:44:16 +00:00
Daniel Franke
2cf2fc5082 Accepted patch by cornmander implementing better semantics...
...for sorting unit/recall list by XP. (bug #13360)
2009-04-14 08:18:56 +00:00
Iurii Chernyi
b8b7b2f1ce Used lua scripting to make AI Arena independent from test situations.
Special thanks to silene for hints on using lua.
2009-04-14 00:05:48 +00:00
Eric S. Raymond
f89acd9648 Text tweaks, walkthrough and todo updates. 2009-04-13 22:53:16 +00:00
Eric S. Raymond
9d94b8c310 Regrade DM as Intermediate on advice from fendrin...
...(my wife has made similar noises).  Minor text tweaks suggested by
zookeeper.
2009-04-13 21:57:43 +00:00
Tomasz Śniatowski
013a06293a editor action debugging aid 2009-04-13 21:56:23 +01:00
Eric S. Raymond
80c71a471b Address bug #13367. 2009-04-13 20:44:59 +00:00
Chris Hopman
214ec80899 added --rng-seed command line option to specify the seed for the rng. 2009-04-13 20:20:13 +00:00
Tomasz Śniatowski
cf0c6e872b Make wesnoth --editor --load DIR (wesnoth -e -l DIR)...
...start the editor with a load map dialog pointed at DIR, and make
DIR the default map directory for the current session, per ESR's
request. Also make wesnoth -e foo work like wesnoth -e --load foo, and
change how -e MAP is processed internally.
2009-04-13 21:09:35 +01:00
Eric S. Raymond
7a60e7cc13 Give the Masked Tuhunderer back his mask. 2009-04-13 19:30:00 +00:00
Jörg Hinrichs
1e8b5cb7fb Fix broken replays for campaign saves after the first scenario. 2009-04-13 18:57:33 +00:00
Eric S. Raymond
724162f0d1 Make sure an event is properly tagged first_time_only=yes. 2009-04-13 18:43:07 +00:00
Jérémy Rosen
a2b82f90f7 remove the strategic type, the idea is not mature enough at this point 2009-04-13 16:44:31 +00:00
Guillaume Melquiond
ef14bceed8 Fixed localization on MacOSX.
It seems like Apple is now using the LANG variable, as most other systems do.
2009-04-13 16:06:09 +00:00
Jérémy Rosen
4484c0ff62 me <= stupid 2009-04-13 15:57:32 +00:00
Iurii Chernyi
f91a27a8d6 Modified user interface of AI Arena to use right-click menu. 2009-04-13 15:45:22 +00:00
Guillaume Melquiond
60c2d0e85a A few more occurrences of the ternary bug. 2009-04-13 15:02:25 +00:00
Guillaume Melquiond
db90a225b4 Fixed two other occurrences of the ternary bug from hell.
(My fault.) Factored the code a bit.
2009-04-13 15:02:18 +00:00
Jörg Hinrichs
165866231b fix processing of load_game settings 2009-04-13 14:59:10 +00:00
Jérémy Rosen
0637baab53 changelog entry for 2009-04-13T14:46:34Z!jeremy.rosen@enst-bretagne.fr 2009-04-13 14:47:25 +00:00
Jérémy Rosen
7e8ec5f191 new type of candidate move:
...strategic, only called once with no parameter. Also initialize
name_ and type_ correctly
2009-04-13 14:46:34 +00:00
Mark de Wever
f8ce5aef8b Fix a MSVC cmake compiler issue.
The escaping of the defines now also works for MSVC, tested by Reisiger.
2009-04-13 14:41:42 +00:00
Mark de Wever
4006de8ea5 Fix a MSVC cmake compiler issue.
sdl-config is not available for MSVC, tested by Reisiger.
2009-04-13 14:41:32 +00:00
Guillaume Melquiond
7a90bdf220 Fixed segfault.
Reference should never be used on the result of a ternary operator.
2009-04-13 14:21:56 +00:00
Iurii Chernyi
08a6860c95 Poisoning formula improvement:
...it it better to poison regenerating/in_village unit than to not poison them.
2009-04-13 13:58:37 +00:00
Iurii Chernyi
21e3e164a5 Fixed bug with ai parameters not being set correctly during ai redeployment 2009-04-13 13:37:15 +00:00
Mark de Wever
d02c85eb64 Documentation update. 2009-04-13 13:02:14 +00:00
Mark de Wever
5a3b8dff7f Add the basics of the new layout algorithm.
The resize functions are still a NOP.
2009-04-13 13:02:09 +00:00