29638 Commits

Author SHA1 Message Date
Mark de Wever
76300051f1 Enable the new dialogs and update changelogs. 2008-12-25 11:16:11 +00:00
Lari Nieminen
53e42ab4e9 Added a commented-out tip of the day about the ai controller...
...to get the string in.
2008-12-25 10:58:49 +00:00
Mark de Wever
9b8500a979 Enable the new drawing engine by default.
The new engine is a complete rewrite of the old engine and seems to work
properly now. So the engine is enabled now. After more testing the #ifdef hell
will be cleaned up.
2008-12-25 10:56:59 +00:00
Mark de Wever
9949ff3e4a Remove some commented out code. 2008-12-25 10:41:33 +00:00
Mark de Wever
16c522f2c8 Make the toggle panel draw properly.
A toggle panel has no fore and background and need to draw depending on
its state like a control, so use that drawing method.
2008-12-25 10:40:22 +00:00
Mark de Wever
0286721af5 Improve the rendering.
Make sure the foreground also is drawn inside the container and doesn't
leak out of it.
2008-12-25 10:40:18 +00:00
Mark de Wever
3ae242474c Enable the wrapping of the scroll label.
This is needed to make the scroll label wrap on smaller screens, this
works better as a horizontal scrollbar. (Also the horizontal scrollbar
didn't work as expected.)
2008-12-25 10:40:10 +00:00
Mark de Wever
067b70580b Improved the drawing routine for the ttext class.
Loonycyborg pointed me at this side

http://cairographics.org/manual/cairo-image-surface.html#cairo-format-t

which explains why the text rendered looks ugly after one render
cycle.  Used this information to improve the drawing, unfortunately it
doesn't seem to help on Windows.
2008-12-25 09:15:46 +00:00
Christian Bielert
57d2241634 bug #12780: fixed a bug where a function to get a unit type...
...was checked against returning the end of the vector, when actually
it would return a dummy unit, by replacing it with a new function
2008-12-25 03:17:29 +00:00
Alexander van Gessel
05136ad701 Include oldstyle add-on_name.cfg files in the tarballs. 2008-12-25 03:49:40 +01:00
Steven Panek
150d6516e9 Updated the changelogs to mention the changes to Familiar's portrait. 2008-12-25 02:32:12 +00:00
Alexander van Gessel
e493804a88 Rewrite some of my earlier changes to be less intrusive,
fixing some side-effect bugs.
2008-12-25 01:32:44 +01:00
Mark de Wever
fa16daecf7 Properly redraw dialogs.
For semi transparent dialogs it's important the background is also
restored before redrawing that part of the window. Otherwise the
semitransparent area will add to itself and darken the area.
2008-12-24 23:33:22 +00:00
Mark de Wever
eda2623fb1 Added the transparent version of Kitty's portraits. 2008-12-24 22:43:01 +00:00
Lari Nieminen
f6f2f51e24 Various little tweaks. 2008-12-24 22:26:40 +00:00
Lari Nieminen
5256d54dc8 Added a simplistic test case of the new ai controller to HttT. 2008-12-24 20:22:01 +00:00
Lari Nieminen
c99a4f6897 Added my version of the ai controller to core.
Needs some WML changes and better default values.
2008-12-24 20:21:20 +00:00
Steven Panek
e27050afbb Updated the changelogs. 2008-12-24 20:09:36 +00:00
Elias Pschernig
cd5b041b68 UtBS German translation update (no fuzzies yet). 2008-12-24 19:25:12 +00:00
Mark de Wever
ed1acb9544 Fixed the scrolling of listboxes again.
Added a set_origin function to move widget without changing their size.
Note the code still has some redraw bugs left, but at least things start
to work again.
2008-12-24 18:17:06 +00:00
Fabian Müller
5c70572f76 LoW::5, LoW::19: Flipped the map horizontaly. 2008-12-24 18:10:20 +00:00
Steven Panek
39818d5987 Updated the Desert Hunter images. 2008-12-24 17:58:53 +00:00
Mark de Wever
a963d007a0 Rewrote the listbox class.
Now uses the scrollbar container as base and the generator for its
items. The scrolling doesn't work properly yet.
2008-12-24 16:01:02 +00:00
Mark de Wever
0fa63be839 Various minor improvments.
While implementing the new listbox found several minor issues.
2008-12-24 13:51:49 +00:00
Fabian Müller
ad1f31990b Third attempt to create useful output with trackplacer.pl...
...my new most hated software.
2008-12-24 12:37:53 +00:00
David Philippi
f225e4fdf1 dutch translation update 2008-12-24 11:49:23 +00:00
David Philippi
f24175e9c5 danish translation update 2008-12-24 11:47:34 +00:00
Nils Kneuper
fcd0e6c7a9 a little better way to get the sdl define in,
...not perfect, but probably working
2008-12-24 11:11:03 +00:00
Nils Kneuper
5474e2625f make the new memory allocator...
...(or whatever else caused the game to freeze at showing the
mainscreen) work with cmake, too

in all other build systems this define was set due to sdl-config,
might require an explicit addition, just to be sure
2008-12-24 10:48:57 +00:00
Nils Kneuper
eeaacb9006 typo fix in German translation 2008-12-24 09:48:21 +00:00
Fabian Müller
b1d285ebfa LoW: Journey redone. 2008-12-24 03:36:56 +00:00
Fabian Müller
e0221dcad4 Updated the changelog section about LoW. 2008-12-24 01:39:23 +00:00
Fabian Müller
c2ba159820 LoW: Added Espreon to the credits for map making. 2008-12-24 01:22:41 +00:00
Fabian Müller
4c7e9c0bdb LoW::3, LoW::7: Horizontally flipped the Ka'lian map. 2008-12-24 01:06:44 +00:00
Fabian Müller
4b0adc00f5 LoW: All portraits are displayed non scaled from now. 2008-12-24 01:05:18 +00:00
Nils Kneuper
160fe5f04b updated German translation 2008-12-23 20:38:51 +00:00
Steven Panek
08b07c089b Updated SotBE's map of the Far North. 2008-12-23 20:26:03 +00:00
Steven Panek
c2bac84580 Updated EI's map of the Great Continent. 2008-12-23 20:02:29 +00:00
Eric S. Raymond
315fb361f0 Correct an abuse of atoi(). 2008-12-23 20:00:27 +00:00
Fabian Müller
b529ba0312 LoW: new set of 400*400 transparent potrait images from kitty. 2008-12-23 19:24:02 +00:00
Christian Bielert
3772992fc7 added an assert in order to prevent division by zero 2008-12-23 19:18:19 +00:00
Steven Panek
58cc70b951 Updated DiD's map of the Great Continent. 2008-12-23 19:10:07 +00:00
Thomas Baumhauer
407470e72f adding some aliases for /query lobbymsg 2008-12-23 19:08:15 +00:00
Steven Panek
3da39b27aa Updated LoW's version of the map of the Great Continent. 2008-12-23 18:29:49 +00:00
Thomas Baumhauer
fd0559193e update for thalin's stronghold 2008-12-23 18:22:41 +00:00
Thomas Baumhauer
0d7a5d6e75 Making is possible to color messages sent by server moderators via /query 2008-12-23 18:11:58 +00:00
Lari Nieminen
cb22b1895f Fixed mysteriously screwed up [endlevel]s. 2008-12-23 18:10:48 +00:00
Lari Nieminen
16fbe72584 Halve the gold that the enemy leader gains upon the alarm, and made the holy water bottle just deal 1 damage instead of killing the unit. 2008-12-23 18:06:23 +00:00
Ignacio R. Morelle
330d3589a7 Update changelog due to 2008-12-23T17:35:48Z!shadowm@wesnoth.org 2008-12-23 17:42:36 +00:00
Ignacio R. Morelle
18fa1c43f9 Add a 5 movement points margin for dashing units' movement costs...
...in their help pages.

Even if their maximum MP falls into the margin, being above the movement
cost, the cost is tinted red as usual.
2008-12-23 17:35:48 +00:00