33023 Commits

Author SHA1 Message Date
Guillaume Melquiond
33eeeec071 Added some Lua accessors to unit data. 2009-04-21 20:56:24 +00:00
Jörg Hinrichs
4e8f049149 Savegame reorganization Step 1: a simpler interface to saving and loading.
Add further comments to savegame.hpp.
2009-04-21 19:56:25 +00:00
Jörg Hinrichs
4924bd2ca1 Savegame reorganization Step 1: a simpler interface to saving and loading.
Rename interactive_ to show_confirmation_, thus better describing its task.
2009-04-21 19:21:49 +00:00
Jörg Hinrichs
8b3471eb57 Savegame reorganization Step 1: a simpler interface to saving and loading.
Doesn't make much sense to create a filename if it is provided. This
code might have had some use earlier on while refactoring, but doesn't
anymore.
2009-04-21 18:49:04 +00:00
Ali El Gariani
645e8230c0 fix missing space and typo in comment in previous commit 2009-04-21 18:34:40 +00:00
Ali El Gariani
439c6cec7a When used on a village, make debug actions 'create unit'...
...and 'change side' (of a unit) capture the village (better for debug
and prevent impossible cases)
2009-04-21 18:27:26 +00:00
Nils Kneuper
6d71ccb379 updated Icelandic and Italian translation 2009-04-21 09:18:07 +00:00
Ali El Gariani
dfcea60951 Make the context-menu 'change unit side' allow to change village flag.
(cycle between teams and free. Supposed to fire the event but not tested)
Also rename 'Change unit side' to 'Change side' to better reflect this.
But not sure if not confusing.
2009-04-21 02:06:41 +00:00
Ali El Gariani
5d09f3eeba Hide the new ':undiscover' to prevent unwanted clearing of user's progress.
The fact that it's not an English word is now a feature. It prevent the case
where an user wanting to shout 'cover' (or another English word) to his
teammate but hit the 'command' hotkey instead of 'message'. ;-)
2009-04-21 01:02:27 +00:00
Ali El Gariani
fc5fc0b726 Add 2 new commands ':discover' and ':undiscover'...
...which allow to fill or clear the list of discovered units filtering
what to show in help.

I think that ':discover' is a frequent user request and ':undiscover' will help
to debug the currently not perfect update of discovered units.
2009-04-20 23:24:49 +00:00
Ali El Gariani
95db0d45de Since the non-working ":buff" was commented off, do the same for ":unbuff" 2009-04-20 22:54:49 +00:00
Ali El Gariani
b98861cf10 In help, fix position of "Advances from/to"...
...to allow faster exploration of the advancement tree ("Advances
from/to" sometimes switched under the mouse) Also exploit the symmetry
between from/to to eliminate some code redundancy.
2009-04-20 22:49:58 +00:00
Ali El Gariani
befeb4b8e8 In help, hide "Advances to/from:" when empty, as mentionned in bug #13369 2009-04-20 22:12:14 +00:00
Ali El Gariani
97ecdfb03c Add a key 'type_adv_tree' in [hide_help]...
...to hide a whole advancement tree

Syntax: type_adv_tree=Peasant hides peasant, bowman, longbowman, spearman...

Also add an utility function to get the advancement tree of a unit_type.
2009-04-20 21:58:45 +00:00
Ali El Gariani
fd5b4f762f Little cleaning of [hide_help]:
Reset it between campaigns and allow to use more than one [not] subtag
2009-04-20 21:46:25 +00:00
Nils Kneuper
9fe173c1bf updated Lithuanian translation 2009-04-20 21:13:52 +00:00
Guillaume Melquiond
26db1ca432 Added some Lua accessors for unit data. 2009-04-20 20:19:23 +00:00
Mark de Wever
2fac1b80a0 Fix a compiler warning. 2009-04-20 20:00:06 +00:00
Guillaume Melquiond
e8e3959776 Fixed copy-paste error. 2009-04-20 19:38:05 +00:00
Eric S. Raymond
1f9b67a3ca Text fixes for DM. 2009-04-20 10:50:39 +00:00
Iurii Chernyi
f020299342 Added an additional VALIDATE call...
...to prevent potential segfault in attack::attack
2009-04-20 09:59:40 +00:00
Gunter Labes
82a4f0e278 removed the Python AI note...
...from an error message and moved one validate to a better place
2009-04-20 09:00:49 +00:00
Nils Kneuper
997584556f updated Icelandic translation 2009-04-20 08:07:47 +00:00
Eric S. Raymond
8ba0304aa8 Ficx a logic bug and bring the walkthrough up to date. 2009-04-20 04:10:16 +00:00
Guillaume Melquiond
b60e23446b Fixed test scenario not loading Kaleh's picture. 2009-04-19 22:01:02 +00:00
Gunter Labes
7521ea90e3 only load the test scenarios when we're in test mode 2009-04-19 21:07:47 +00:00
Alexander van Gessel
2630325c37 Fix dutch translation errors from mailinglist. 2009-04-19 21:32:25 +01:00
Alexander van Gessel
f842e9ceba Remove duplicate event. 2009-04-19 20:53:50 +01:00
Mark de Wever
231c120b17 Remove translation markers from test scenario. 2009-04-19 19:50:44 +00:00
Eric S. Raymond
2e5beec113 Arrange for Sagus's dialog to fire properly. 2009-04-19 19:42:45 +00:00
Guillaume Melquiond
b9935f9828 Ensured the show_objectives action handler is called...
...when the user asks for objectives, in case the scenario wants to
perform special actions, or just to make sure that they are
up-to-date.
2009-04-19 19:41:48 +00:00
Guillaume Melquiond
f6403ad465 Added a few more Lua accessors for team data. 2009-04-19 19:20:56 +00:00
Eric S. Raymond
951ce5b3b9 Make Delfador return with the correct class in Clash at the Manor. 2009-04-19 19:13:01 +00:00
Guillaume Melquiond
d07d33fdbe Fixed broken i18n of team names. 2009-04-19 19:08:08 +00:00
Guillaume Melquiond
098b3da848 Stored gold and income as integers. Clarified naming of team interface. 2009-04-19 18:54:11 +00:00
Alexander van Gessel
0d47d1530e [objectives][show_if] testcase. 2009-04-19 19:07:12 +01:00
Alexander van Gessel
49cb5c10b7 Add [show_objectives] testcase. 2009-04-19 19:06:50 +01:00
Eric S. Raymond
fce91456ed Tweak a recruit list slightly. 2009-04-19 17:59:54 +00:00
Eric S. Raymond
bc1bad6805 Improve explanatory comments. 2009-04-19 17:52:24 +00:00
Mark de Wever
ca934892bc Updated the description string.
The original string wasn't too clear and Polarina had a better suggestion.
2009-04-19 17:17:50 +00:00
Guillaume Melquiond
da3246c8ed Simplified team interface a bit. 2009-04-19 17:11:35 +00:00
Nils Kneuper
24501e20ae updated Chinese (Traditional) translation 2009-04-19 17:02:16 +00:00
Mark de Wever
1659756a0f Initialize all members. 2009-04-19 15:05:30 +00:00
Mark de Wever
4e9068e9b2 Fix indention. 2009-04-19 15:05:25 +00:00
Mark de Wever
e586684b95 Initialize all members. 2009-04-19 15:05:21 +00:00
Mark de Wever
1da642d585 Initialize all members. 2009-04-19 15:05:17 +00:00
Mark de Wever
9cb5100cce Initialize all members. 2009-04-19 15:05:12 +00:00
Mark de Wever
166a7f04ab Templatize another find_widget function. 2009-04-19 14:52:22 +00:00
Nils Kneuper
23c598200c updated Italian translation 2009-04-19 14:28:23 +00:00
Nils Kneuper
5c16421f25 updated German translation...
...(fixing reference/WML errors as pointed out by Chusslove in a mail
to the wesnoth-i18n ml)
2009-04-19 13:15:33 +00:00