Ignacio R. Morelle
605ef43cd3
Reflect branches/1.4 (2008-03-17T11:09:23Z!shadowm@wesnoth.org)
2008-03-17 11:10:00 +00:00
Eric S. Raymond
3205c58fdd
generate_description -> generate_name.
2008-03-17 10:58:02 +00:00
Eric S. Raymond
9ea8a35f8d
Remove --display-revision switch, always build revision-stamp file.
...
Implement a :version debug command that shows the build version,
including the SVN revision from the build-stamp file.
2008-03-17 08:46:37 +00:00
David White
d2505473d0
new wesnothd implementation using simple_wml
2008-03-17 05:11:14 +00:00
Eric S. Raymond
adb426dd08
Address bug #11287 .
2008-03-17 04:57:25 +00:00
Benoît Timbert
31eb999674
Cosmetic fixes on obsoletion messages
2008-03-16 22:45:31 +00:00
Benoît Timbert
5c3d8d2f59
Fix that backward compatibility issue
2008-03-16 22:39:29 +00:00
Jérémy Rosen
14aaeaa23a
make drain numbers be handled by the animation engine instead of the game engine
2008-03-16 19:44:57 +00:00
Eric S. Raymond
f62d7491e0
Deprecate SET_IMAGE, move PLACE_IMAGE.
2008-03-16 19:11:26 +00:00
Jérémy Rosen
b1eac81170
slight tweak to drawing order to guarantee the order is a strict ordering
2008-03-16 18:55:23 +00:00
Benoît Timbert
28983b04ad
ThemeWML: [unit_description] -> [unit_name]
...
NOTE: the backward compatibility code is broken, i'll try to find
after diner why
2008-03-16 18:45:59 +00:00
Nils Kneuper
84a3a4843c
patch by Andrius Štikonas to add plural support for a string
2008-03-16 18:43:28 +00:00
Mark de Wever
6101e42337
Convert the line also to the formula system.
...
Documenation update for the rect and the line.
2008-03-16 18:38:21 +00:00
Eric S. Raymond
34180d285a
Another consequence of unit_description -> name.
2008-03-16 18:30:42 +00:00
Eric S. Raymond
9b72d2af84
Address bug #11268 .
2008-03-16 18:22:44 +00:00
Jérémy Rosen
219b163fc9
have frame parameters returned as a big struct,
...
...so future changes are waaaay simpler
2008-03-16 17:55:57 +00:00
Benoît Timbert
6384d3b1f3
New [unit_side] theme element. This is a flag of the side of the current unit.
2008-03-16 17:42:13 +00:00
Mark de Wever
48741f7406
Converted the rectangle shape class of the canvas to be able to use formulas.
...
I knew that I needed calculations to make the GUI stuff cool and I was right :-)
2008-03-16 16:11:30 +00:00
Nils Kneuper
7cefa2145e
updated German translation
2008-03-16 15:27:23 +00:00
Karol Nowak
f50f49af9d
Stop sound when sound source is removed.
2008-03-16 15:02:39 +00:00
Lari Nieminen
20368e4cd7
A fix by mesilliac to a mountain<->castle glitch.
2008-03-16 14:17:12 +00:00
Mark de Wever
b6d222a683
Moved the tsizer class to grid.?pp and renamed it to tgrid.
2008-03-16 14:04:18 +00:00
Karol Nowak
9f342c90e1
Made it possible to specify fading distance for a soundsource.
...
Removed specification of default value for full_range from game events code.
2008-03-16 13:56:13 +00:00
Mark de Wever
f2b701c996
Add some more debug domains in the gui area...
...
...(changes to log.?pp aren't committed).
2008-03-16 13:37:43 +00:00
David Philippi
67cf6cad9f
hungarian translation update
2008-03-16 13:16:00 +00:00
Mark de Wever
c36093730c
Adding the first proof-of-concept window builder code.
...
With this code it's possible to define a window from a config file.
The code needs a lot of extra love and polishing.
2008-03-16 12:10:43 +00:00
Eric S. Raymond
e6816f4c8d
Implement feature request in bug #11265 .
2008-03-16 11:16:30 +00:00
Eric S. Raymond
acd3f95a70
generate_description -> generate_name.
2008-03-16 11:08:04 +00:00
Benoît Timbert
d4b281f530
Actually AMLA without XP defined did not make any sense...
2008-03-16 10:44:50 +00:00
Eric S. Raymond
4a5a030151
Change definition-list format to carry more information.
2008-03-16 10:28:07 +00:00
Karol Nowak
3b9705905b
Changed logic responsible for determining volume of sound sources.
...
It's now based on hex distance.
2008-03-16 10:22:25 +00:00
Karol Nowak
3e0594928c
Work around for a bug in SDL_mixer...
...
...that makes the channel finished hook fire twice. Fixed a potential
problem with channel getting marked as busy even before sample was
(not) loaded. Removed (buggy) reseting of channel status in
reposition_sound().
2008-03-16 10:10:41 +00:00
Nils Kneuper
25188c34f8
updated Italian translation
2008-03-16 09:16:47 +00:00
Eric S. Raymond
51c60615df
Address bug #11267 .
2008-03-16 03:40:35 +00:00
Eric S. Raymond
9f92ced657
Clear SpellingMistakes problems.
2008-03-16 03:37:18 +00:00
Benoît Timbert
526f983612
Even more robust version...
...
...(see http://www.wesnoth.org/forum/viewtopic.php?f=7&t=20198 )
2008-03-16 00:48:02 +00:00
Benoît Timbert
c7be012d7e
French translation update
2008-03-16 00:27:34 +00:00
Benoît Timbert
cb272d0278
New [switch] WML tag.
...
It shall save us for the sometimetime highly nested [if]s.
Here is the basic syntax :
[switch]
variable=foo
[case]
value="A"
... code if foo=A ...
[/case]
[case]
value="B"
... code if foo=B ...
[/case]
[else]
... code if foo has another value ...
[/else]
[/switch]
2008-03-15 23:54:06 +00:00
Nils Kneuper
17b9fd3e75
updated Italian translation
2008-03-15 23:16:12 +00:00
Christian Bielert
a509c0361b
Add the actions [set_variable][join] and [set_variables]...
...
...which allows you to modify containers, also includes
[set_variables][split].
2008-03-15 22:53:53 +00:00
Mark de Wever
340d1531ac
Turn all widths and heights into unsigned...
...
...and make a const parameter a reference instead of a copy.
2008-03-15 22:46:25 +00:00
Eric S. Raymond
c70a1064b3
Make WML match C++ reality,
...
...which is that object takes a "description" attribute rather than a
"user_description" attribute. I think this error was a fossil from an
experiment just after 1.4.
2008-03-15 22:40:47 +00:00
Nils Kneuper
787e438af2
updated Greek translation
2008-03-15 22:38:27 +00:00
Eric S. Raymond
3e2f3a0a95
Tweak some structure member names to match new nomenclature.
2008-03-15 22:21:01 +00:00
Eric S. Raymond
50132051fb
Fix some more WML references.
2008-03-15 22:19:34 +00:00
Eric S. Raymond
4ec05d32b7
Fix up WML variable references...
...
...to track the SingleUnitWML attribute name changes. These cannot be
lifted mechanically, but wmllint warns about possible problems.
2008-03-15 21:55:05 +00:00
Mark de Wever
e4c1da3ec6
Added proof-of-concept code to do the window drawing,
...
...the window can now draw it's own contents and the closing now
properly cleans up.
2008-03-15 21:35:00 +00:00
Karol Nowak
3d33008605
How did this become an int..?
2008-03-15 21:20:55 +00:00
Eric S. Raymond
b2b55e5996
description= -> name in [unit]
...
This will cause unit names to be displayed incorrectly from savefiles made
since 2008-03-14T01:38:17Z!esr@thyrsus.com. It was either that or break compatibility with 1.3/1.4
savefiles.
2008-03-15 20:30:45 +00:00
Mark de Wever
7287928794
Fixed the rectangle code and did some testing with it.
2008-03-15 19:31:22 +00:00