Guillaume Melquiond
d366cd5603
Implemented a whole new status as an example of modifying report generators.
2010-12-31 16:01:06 +00:00
Lari Nieminen
7c1b6eb5bb
When Delfador appears to speak, use his stored self...
...
...so the player doesn't think his XP has vanished.
2010-12-31 07:05:55 +00:00
Guillaume Melquiond
69121b6010
Awarded correct amount of research to units.
...
(Fix for bug #17406 , patch by kernigh.)
2010-12-29 08:03:05 +00:00
Guillaume Melquiond
58354874a4
Improved [command] tag so that it can cope with WML...
...
...from [insert_tag] containing code that is either self-modified or
modified by its siblings.
2010-12-28 15:09:39 +00:00
Nils Kneuper
2bac37f5b6
two more moves of campaign specific strings...
...
...that now go into the -help domain
@campaign maintainers: when using strings that are copies from code,
please consider making things in a way that *exactly* those strings
that are defined somewhere else are reused (by eg providing some macro
for the usage in mainline so that eg a "add berserk to weapon" action
(with the description) is provided by mainline instead of the
campaign)
2010-12-28 11:58:16 +00:00
Nils Kneuper
d21b6c93a6
move the ability dscriptions in utbs from the main domain...
...
...to wesnoth-help, too (those are most likely a copy of those anyway...)
2010-12-28 11:47:54 +00:00
Nils Kneuper
85ef7ad025
moved the race descriptions into the help textdomain
2010-12-28 11:31:37 +00:00
Anonymissimus
53d3f7f49f
better code logic for previous commit
2010-12-28 02:01:24 +00:00
Anonymissimus
9301736078
made modify_unit handle the case type=""...
...
...(old behavior of ADVANCE_UNIT macro - advancing to the units'
advances_to= when no target type given)
http://forums.wesnoth.org/viewtopic.php?f=21&t=32555&p=471573#p471573
2010-12-28 01:37:50 +00:00
Alexander van Gessel
532ff83ef2
Un-hardwire the [language] block in data/hardwired/english.cfg.
...
Move the file out of that dir
2010-12-27 11:27:15 +01:00
Nils Kneuper
35846ec989
updated Japanese translation
2010-12-27 09:51:53 +00:00
Alexander van Gessel
20d10a972a
Read names of attack types from data/hardwired/english.cfg
2010-12-27 06:11:14 +01:00
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