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
9250e0de7d
pot-update
...
also fixing the drake encyclopedia stuff being in the wrong folder/domain, now it is in wesnoth-help, where it belongs
2010-12-26 16:15:43 +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
Mark de Wever
472056b19c
Remove set_drawing function.
...
The builder can use the internal function and user code isn't really
supposed to use that interface.
2010-12-26 15:01:23 +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
Mark de Wever
95b25e5527
Add sin and cos function.
2010-12-26 14:10:34 +00:00
Mark de Wever
46d6bb2444
Make pi a constant.
2010-12-26 14:10:29 +00:00
Mark de Wever
5e7a9fc7fb
Add some comment.
...
The fix in 2010-12-24T09:09:51Z!guillaume.melquiond@gmail.com looks strange at first sight until...
...you see res is a reference.
2010-12-26 14:10:26 +00:00
Mark de Wever
1203d74e32
Add concatenate function.
2010-12-26 14:10:22 +00:00
Mark de Wever
04112eb00b
Add length function to determine string length.
2010-12-26 14:10:17 +00:00
Mark de Wever
c8e4b49005
Fix gui2 line drawing algorithm.
...
The previous implementation of the Bresenham line algorithm had a bug,
took another implementation which doesn't have the glitch.
The problem only occered rare cases and never with a horizontal or
vertical line, which caused the bug to remain hidden that long.
2010-12-26 14:10:11 +00:00
Mark de Wever
51416bc610
Enable gui formula logging.
...
It's needed quite often during testing so enable it by default now.
2010-12-26 14:10:06 +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
669d1dd8b0
Added a wesnoth.transform_unit function.
2010-12-26 11:35:04 +00:00
Guillaume Melquiond
6c9c16f730
Added missing comment.
2010-12-26 11:35:00 +00:00
Guillaume Melquiond
f7a89b548d
Added wesnoth-help as new text domain.
2010-12-26 10:14:01 +00:00
Mark de Wever
243f9fd87d
Add a substring function to the formula language.
...
Also added a unit test for the function.
2010-12-26 09:47:09 +00:00
Nils Kneuper
c2b37db47b
pot-update
...
regenerated doc files
2010-12-26 09:25:34 +00:00
Nils Kneuper
0d5dbb498e
removed a pofix rule that breaks with the new encyclopedia...
...
(reference to drakes since it "fixes"
<ref>dst='..race_drake' text='drakes'</ref> to
<ref>dst='..race_drake' text='drakes’</ref>
which basically breaks the description text of the link
2010-12-26 09:21:26 +00:00
Nils Kneuper
e20e398d97
updated Slovak translation
2010-12-26 09:09:38 +00:00
Mark de Wever
e363927678
Rename a log domain macro.
...
The new name fits better with the domain it uses.
2010-12-26 08:33:18 +00:00
Guillaume Melquiond
d5e081efb2
Ensured that the AI algorithm set in an [ai] tag is preferred when it exists.
2010-12-26 08:05:41 +00:00
Steven Panek
e008466432
Set svn:eol-style.
2010-12-26 06:01:04 +00:00
Guillaume Melquiond
429c65fdbc
Fixed RCA AI not loading for scenarios with a custom [ai] config,
...
...especially when the RCA AI is still the only choice available to
the user in the dropbox. (Fix for bug #16607.)
2010-12-25 21:06:27 +00:00
Anonymissimus
07ccfc6be4
CodeBlocks projectfile update
2010-12-24 15:12:22 +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
Guillaume Melquiond
28db7a19d0
Ensured that delegated defense modifiers...
...
...are still stored into the cache. (Fix for bug #17235.)
2010-12-24 09:09:51 +00:00
Lari Nieminen
64a0e111e5
Fixed bug #17388 (typoed flag variant).
2010-12-24 08:33:14 +00:00
Timotei Dolean
4d75a28933
eclipse plugin: add the plain text readme format
2010-12-24 08:29:32 +00:00
Guillaume Melquiond
fdd00009ea
Added a get_image_size function for querying the...
...
...width and height of an image. (Fix for bug #17387.)
2010-12-24 08:07:18 +00:00
Guillaume Melquiond
a7f8fed3a5
Fixed comments.
2010-12-24 08:07:14 +00:00
Timotei Dolean
08036b65a5
eclipse plugin: post release version bump
2010-12-24 07:02:31 +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
Guillaume Melquiond
3dc96eea83
Avoided truncation error when downscaling,
...
which reduces the MSE distortion of 2010-12-20T22:38:37Z!guillaume.melquiond@gmail.com by 20% more.
2010-12-22 18:11:32 +00:00
Guillaume Melquiond
51f38f9d7e
Fixed story screens not being displayed when they have no text.
...
(Fix for bug #17375.)
2010-12-22 17:28:49 +00:00
Nils Kneuper
da2facd1e3
set some svn:ignore entries
2010-12-22 14:27:46 +00:00
Nils Kneuper
8de9a71416
updated Russian translation
2010-12-22 14:24:02 +00:00
Nils Kneuper
b49e56edfe
create textdomain wesnoth-help (part7), should be done now
...
set svn:ignore for the new textdomain
2010-12-22 11:56:39 +00:00
Nils Kneuper
f966a54e08
create textdomain wesnoth-help (part6)
...
used this command:
for i in *.po; do grep -v '^#~' $i > $i.tmp; mv $i.tmp $i; done
2010-12-22 11:55:21 +00:00
Nils Kneuper
6a9eb5b7ff
add the new textdomain to g.w.o
2010-12-22 11:47:16 +00:00
Nils Kneuper
e27fb294b6
create textdomain wesnoth-help (part4)
...
pot-update
regenerated doc files
2010-12-22 11:46:15 +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
Nils Kneuper
fada480797
create textdomain wesnoth-help (part2)
...
also add the .pot file to the repo
2010-12-22 11:35:46 +00:00