32563 Commits

Author SHA1 Message Date
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
Mark de Wever
086aabb6d1 Add some deprecated comments. 2009-04-13 13:02:04 +00:00
Mark de Wever
3f5ccf824f Update doxygen comment. 2009-04-13 13:02:00 +00:00
Mark de Wever
77ae4765d4 Add the initial code of the new layout algorithm.
This new algorithm will be developed parallel with the current
algorithm. Once the new algorithm is finished it will be enabled and the
old code will be removed. Until that time it only works with
--new-widgets.
2009-04-13 13:01:55 +00:00
Mark de Wever
e7cafad477 Add a new layout initialization routine.
This is the start of the new layout algorithm.
2009-04-13 13:01:48 +00:00
Iurii Chernyi
7c5c45e3b2 Fix bug with console ai being sometimes constructed with incorrect side number 2009-04-13 12:13:10 +00:00
Eric S. Raymond
781a1c2186 Some events needed first_time_only=no and did not have it. 2009-04-13 12:00:52 +00:00
Guillaume Melquiond
7e2bca43c5 Added example of custom WML tag. 2009-04-13 11:49:14 +00:00
Guillaume Melquiond
6a8296a177 Added wesnoth.register_wml_action for Lua scripts to register new WML tags. 2009-04-13 11:49:10 +00:00
Guillaume Melquiond
068fa79bc8 Added support for dynamically added action handlers. 2009-04-13 11:49:07 +00:00