15591 Commits

Author SHA1 Message Date
Guillaume Melquiond
db4ff78b99 Passed viewing side and displayed unit to theme functions,
...since these data cannot be recovered easily.
2010-12-26 20:01:16 +00:00
Guillaume Melquiond
02d1772101 Added wesnoth.register_theme_item...
...for setting custom drawing functions for theme widgets (e.g., turn
number, countdown, unit status, and so on).
2010-12-26 20:01:07 +00:00
Mark de Wever
21c721cbc6 Fix a include location broken due to 2010-12-26T15:58:45Z!crazy-ivanovic@gmx.net. 2010-12-26 18:04:19 +00:00
Mark de Wever
d8b025e716 Add a new debug clock dialog.
The dialog is used to test the drawing routines. The clock will need
some appearance changes later on. It's main goal is to test the drawing
routine timing and several other things I want to test in the near
future, where I want to see what parts get updated.
2010-12-26 17:07:48 +00:00
Nils Kneuper
3dccbda7a1 fix typo (remove leading space)
this fix can't be fixed using pofix.py easily since it is at the
beginning of the string
2010-12-26 16:12:44 +00:00
Nils Kneuper
2c23ef0d4d move the drake specific encyclopedia entries...
...over to the encyclopedia instead of having them in the units folder
2010-12-26 15:58:45 +00:00
Nils Kneuper
911b92042c fix 2 typos pointed out by the galician translation maintainer 2010-12-26 15:56:28 +00:00
Ignacio R. Morelle
198bba9ec4 GUI2: taddon_description: formula cleanup 2010-12-26 14:26:21 +00:00
Ignacio R. Morelle
c514d77361 GUI2: taddon_description:
Un-hardcode max icon size of 72x72 and avoid scaling smaller icons
(attacks/, etc.)
2010-12-26 14:19:58 +00:00
Guillaume Melquiond
634d6fe885 Improved wesnoth.synchronize_choice so that AI handling comes for free. 2010-12-26 11:35:10 +00:00
Guillaume Melquiond
9d457f101d Changed the dialog test so that it also transforms units. 2010-12-26 11:35:07 +00:00
Guillaume Melquiond
bec8a218da Preserved item orders at load and save time. (Fix for bug #16771.) 2010-12-24 10:00:20 +00:00
Lari Nieminen
64a0e111e5 Fixed bug #17388 (typoed flag variant). 2010-12-24 08:33:14 +00:00
Mark de Wever
119349b09e Add drawing widget.
This widget allows to customize drawing the widget in the window definition.
The widget has, like the spacer a fixed best size.
2010-12-23 20:05:37 +00:00
Elias Pschernig
22f7e80164 [wmlunits]fix navbar for translations 2010-12-23 19:27:21 +00:00
Elias Pschernig
7524e6befc [wmlunits] use translations only for mainline units...
...(very few addon units had translations but creating all the addon
units in each language takes a lot of time and .html files). Also
report less errors for addons (the addon authors don't get to read
them anyway i'm afraid :/)
2010-12-22 23:34:08 +00:00
Guillaume Melquiond
a5576c461b Removed small portraits that are just scaled down versions...
...of the transparent ones.

Checked that they are identically rendered by the engine: MSE visual
distortion less than 0.007%.
2010-12-22 18:11:36 +00:00
Nils Kneuper
bc1d7ec1a5 create textdomain wesnoth-help (part3)
load the textdomain ingame

change the textdomain for some relevant files
2010-12-22 11:36:22 +00:00
Ignacio R. Morelle
979f2e4e69 GUI2: taddon_description: merge 2/2 2010-12-21 21:08:58 +00:00
Ignacio R. Morelle
e7b7abe209 GUI2: New add-ons description dialog...
...with more details than the description (merge 1)
2010-12-21 21:08:36 +00:00
Mark de Wever
56579c4972 Allow the progress bar to become higher. 2010-12-21 20:43:15 +00:00
Mark de Wever
328e5541f6 Fix the progress bar colours.
Forgot to add the alpha value, which made the objects fully transparent.
2010-12-21 20:43:10 +00:00
Mark de Wever
f001feb9b2 Fix some typos in the formulas. 2010-12-21 20:43:07 +00:00
Guillaume Melquiond
742b794302 Removed small portraits that are just scaled down versions...
...of the transparent ones.

Checked that they are identically rendered by the engine: MSE visual
distortion less than 0.007%.
2010-12-20 22:38:37 +00:00
Mark de Wever
36574dc37a Fix some typos.
(Part of patch #2261.)
2010-12-20 20:31:15 +00:00
Guillaume Melquiond
1c752ccb70 Fixed the APPLY_HYDRATION_EFFECT macro being used...
...in an event with instant variable substitution. (Fix for bug
#17342, patch by Elvish_Hunter.)
2010-12-20 07:29:53 +00:00
Guillaume Melquiond
aaa95db999 Ensured that the user don't have to kill half ghosts.
(Fix for bug #17339, patch by Elvish_Hunter.)
2010-12-20 07:29:50 +00:00
Anonymissimus
24a8edb7bd replaced a wesnoth.get_side -> wesnoth.sides 2010-12-19 20:34:47 +00:00
Fabian Müller
8cb9c84cc4 Removed an obsolte whitespace. 2010-12-19 13:17:50 +00:00
Fabian Müller
da46ca4cc8 Added a missing translation mark. 2010-12-19 13:17:09 +00:00
Lari Nieminen
3edd7f940e Used a very crude hack to fix some tree-hill combinations...
...not functioning as forested hills. Still doesn't cover every
possible combination.
2010-12-18 23:10:47 +00:00
Anonymissimus
d44d619532 fixed an optimization condition in [store_unit] 2010-12-17 22:19:52 +00:00
Anonymissimus
7a73632541 Fixed [store_unit]mode=replace clearing the variable...
...even if no units are found. Array entries are cleared as far as
neccessary now (if the array was longer those entries remain).
2010-12-17 22:12:01 +00:00
Anonymissimus
e1828a43f0 allow comma-separated list for side= in [disallow_recruit]...
...and [set_recruit] (FR bug #17266) (the three should behave
analogically...)
2010-12-17 19:42:07 +00:00
Nils Kneuper
d478bfa6b9 added new Russian translator 2010-12-16 10:51:33 +00:00
Anonymissimus
89ca6db076 new action tag [harm_unit] (patch #2230 by Elvish_Hunter) 2010-12-14 23:50:56 +00:00
J.W. Bjerk
7a0ee7fbd3 commited doofus' transitions for wood floor. 2010-12-14 18:34:37 +00:00
Elias Pschernig
c51f7b701f [wmlunits] Try to make it robust enough again to survive user-made WML. 2010-12-12 16:22:35 +00:00
Elias Pschernig
a42f90daaa [wmlunits] Fixed issue with old-style .cfg files...
...in user add-on parse-test script.
2010-12-12 15:35:58 +00:00
Elias Pschernig
f75d178cec [wmlunits] fix two minor issues 2010-12-12 15:13:08 +00:00
Alexander van Gessel
f35e0d1738 Add a village-overlay terrain to go with castle-overlay and keep-overlay 2010-12-12 02:52:09 +01:00
Fabian Müller
4924694a6c Replaced the unicode bullet char by another more bulleting unicode char. 2010-12-11 23:39:03 +00:00
Fabian Müller
66541a59f2 Replaced some ASCII unworthy bulletin symbols with realy cool unicode ones. 2010-12-11 23:12:35 +00:00
Fabian Müller
330420129a Finished transfering the articles from the drakipedia...
...to the races page under units in the help.
2010-12-11 16:17:57 +00:00
Fabian Müller
8e8051ad51 More work on the encyclopedia. 2010-12-11 16:16:47 +00:00
Mark de Wever
a6feb1e5c5 Applying a cleanup patch for wiki_grabber.py.
Applying patch #2254 by iwontbecreative.
2010-12-11 14:52:12 +00:00
Fabian Müller
5e256769d3 First rugh geography section. 2010-12-10 23:18:42 +00:00
Lari Nieminen
f5b663dcc1 Updated Eldaric's portrait with a newer version. 2010-12-10 20:51:17 +00:00
Fabian Müller
23d4a0b0d0 Added a first few working test topics...
...to the encyclopedia and to the drake race.
2010-12-10 19:33:03 +00:00
Fabian Müller
289c83c688 Added the encyclopedia to the help. 2010-12-10 19:28:01 +00:00