Commit Graph

33421 Commits

Author SHA1 Message Date
Guillaume Melquiond
b9a10d95bc Added conversion to string for translatable strings. 2009-05-31 17:20:20 +00:00
Mark de Wever
ba85f91a06 Implement NEW_request_reduce_height in the generator. 2009-05-31 17:02:06 +00:00
Guillaume Melquiond
e50c9cedd5 Removed some newlines, as Pango markup can't cope with them.
It still looks bad, but not so bad.
2009-05-31 16:35:37 +00:00
Mark de Wever
11decc0d3e Set all independant wigets to the same size.
This fixes some redraw glitches, before some parts weren't properly
cleaned.
2009-05-31 13:24:43 +00:00
Mark de Wever
5550d240e9 Polish the new campaign dialog a bit more.
Add some spacing and remove some obsolete code.
2009-05-31 13:24:36 +00:00
Mark de Wever
42eb889776 Implement NEW_request_reduce_width in the generator.
This allows the campaign dialog to no longer to use the entire width but
to nicely wrap.
2009-05-31 13:24:28 +00:00
Mark de Wever
53b1db6f85 Whitespace cleanup. 2009-05-31 13:23:52 +00:00
Mark de Wever
a9dbcb20d4 Capture campaign list by default.
Also add some comment.
2009-05-31 11:48:45 +00:00
Mark de Wever
778e42c05c Fix a copy paste error. 2009-05-31 11:48:39 +00:00
Mark de Wever
2e28b27ad6 Fix some typos. 2009-05-31 11:31:22 +00:00
Mark de Wever
24d8a96547 Rename Rualsha-Tan to Rualsha.
He's called Rualsha during the entire campaign.
2009-05-31 11:31:14 +00:00
Gregory Shikhman
492efa7b4b port to turbogears 2...
...-> much better debugging features and better URL generation control
2009-05-31 06:03:29 +00:00
Mark de Wever
5af294d470 Make sure a dialog is not shown on a faked screen.
cjhopman discovered the problem when running Wesnoth with --no-gui.
2009-05-31 06:00:26 +00:00
Mark de Wever
f75054be69 Remove some useless trailing semicolons. 2009-05-31 06:00:19 +00:00
Mark de Wever
ce0d7d903d A fake screen needs a fixed size.
Before the size was inherited, which lead to subtile breakage with some, not
yet committed, tests.
2009-05-31 05:49:23 +00:00
Ignacio R. Morelle
154a80ba18 Moved around some misplaced documentation. 2009-05-31 01:45:35 +00:00
Ignacio R. Morelle
6c5aed6e35 Forgot to attach a bug number in a changelog entry at 2009-05-31T01:39:07Z!shadowm@wesnoth.org. 2009-05-31 01:40:59 +00:00
Ignacio R. Morelle
1845ed4562 Avoid dereferencing NULL underlying configs from vconfig objects...
...in the storyscreen WML resolver procedure.

Fixes bug #13601.
2009-05-31 01:39:07 +00:00
Gunter Labes
5c3e5b24f5 clarified ban error messages 2009-05-31 01:05:44 +00:00
Gregory Shikhman
ad97cc5304 started work on database-defined views 2009-05-31 01:05:26 +00:00
Guillaume Melquiond
1c2ade5f54 Fixed statistics involving a defender with firststrike. 2009-05-30 20:33:39 +00:00
Chris Hopman
e614510b83 add copyright notice 2009-05-30 18:41:00 +00:00
Mark de Wever
8d4681200a Improve the new campaign dialog.
Still needs work (wrapping of the description fails) but at least you
can read the description of the campaign again.
2009-05-30 17:13:47 +00:00
Mark de Wever
fdee062a3b Implement tindependant::set_visible_area. 2009-05-30 17:13:42 +00:00
Mark de Wever
332e2c9e2c Allow generic widgets in the listbox.
When the items aren't toggled upon selection there's no reason to forbid
not toggable items.
2009-05-30 17:13:34 +00:00
Mark de Wever
f38e6c89a7 Properly set the deselected state for new items. 2009-05-30 17:13:30 +00:00
Mark de Wever
4a7d84d774 Implement tindependant::set_origin. 2009-05-30 17:13:26 +00:00
Mark de Wever
0363e92f2e Properly handle the setting of visibility.
Fix a small bug and when no new re-layout is required a redraw is.
2009-05-30 17:13:20 +00:00
Mark de Wever
007ceb34ed Create a better dirtylist callstack.
A better optimized version for 2009-05-30T08:22:15Z!koraq@xs4all.nl, which does more validation.
2009-05-30 16:05:25 +00:00
Mark de Wever
02bdd31d0f Properly redraw the children.
The code contained a minor bug which caused the background to be drawn
instead of the children.
2009-05-30 15:33:30 +00:00
Mark de Wever
428ad52858 Fix a formatting issue discovered by silene. 2009-05-30 15:31:19 +00:00
Guillaume Melquiond
781bbc7c83 Removed abusive unit_map::iterator. 2009-05-30 11:45:24 +00:00
Guillaume Melquiond
c19d12296f Simplified interface of ai_recruit_result. 2009-05-30 10:26:13 +00:00
Guillaume Melquiond
23c0de9152 Removed unused field ai_recruit_result::unit_type_. 2009-05-30 10:26:10 +00:00
Guillaume Melquiond
58af0bf407 Simplified interface of ai_recruit_result. 2009-05-30 10:26:07 +00:00
Guillaume Melquiond
7849675593 Simplified interface of ai_stopunit_result. 2009-05-30 10:26:04 +00:00
Guillaume Melquiond
332fbc3b91 Simplified interface of ai_move_result. 2009-05-30 10:26:00 +00:00
Guillaume Melquiond
f5c8810455 Added a unit::set_name accessor for lightweight modification of unit names. 2009-05-30 08:56:47 +00:00
Mark de Wever
5e30366e45 Add more validation when redrawing.
Just to make sure when a widget is redrawn, it's really visible. For
containers make sure the container and its grid have the same status.
2009-05-30 08:22:28 +00:00
Mark de Wever
59c1fecd3c Also add the grid to the dirty list.
This in order to make sure that if the grid is not visible, it's
children aren't redrawn.
2009-05-30 08:22:15 +00:00
Mark de Wever
5fb2078749 Clear the dirty state for not drawn widgets.
The dirty flag caused a big slowdown in certain cases so needs to be
cleared.
2009-05-30 08:21:53 +00:00
Guillaume Melquiond
c9cf3e7c18 Fixed dwarf leaders starting with 1hp in MP games. 2009-05-29 20:59:27 +00:00
Chris Hopman
6457ce1b90 add shared_object.hpp, the base for shared string and tstring 2009-05-29 17:12:21 +00:00
Gunter Labes
d6454595ee screw quoting 2009-05-29 14:21:24 +00:00
Nils Kneuper
0c7dc352ef updated Turkish translation 2009-05-29 13:50:17 +00:00
Nils Kneuper
ea5d817416 add missing translation marker 2009-05-29 13:48:05 +00:00
Gunter Labes
fa56679a93 fixed quoting for the alternate servers as well 2009-05-29 00:52:18 +00:00
Gunter Labes
82ac25049e improved output about illegal commands 2009-05-28 22:43:23 +00:00
Gunter Labes
b4aa3d5a80 if the host is an observer still allow him to do some commands 2009-05-28 22:43:16 +00:00
Gunter Labes
a6eb5c8602 always update side data on start_game
...and don't on take_side since the host ultimately decides (which
will then be processed in update_side_data())

this hopefully fixes a race condition on game start that could lead to
an inconsistent state
2009-05-28 22:43:06 +00:00