Mark de Wever
f561e6df5d
Add an inplace blur function.
...
This function will be used to reenable blurring of transparent dialogs.
2009-06-01 15:39:14 +00:00
Guillaume Melquiond
411538ce19
Delayed substitution of macro arguments...
...
...so that they are preprocessed only once. (Fix bug #13606.)
2009-06-01 15:28:37 +00:00
Eugen Jiresch
e4095a30cf
savegame reorganization:
...
...moved the functions of config_adapter to controller_base,
play_controller, team and game_state
2009-06-01 14:33:13 +00:00
Guillaume Melquiond
8fe5a6046b
Removed unused member preprocessor::is_macro.
2009-06-01 14:31:08 +00:00
Guillaume Melquiond
0cb0671abb
Removed unused member preoprocessor::called_macros_.
2009-06-01 14:24:24 +00:00
Guillaume Melquiond
29cb33b0e2
Improved error recovery on missing file/macro when parsing broken WML.
2009-06-01 11:35:06 +00:00
Guillaume Melquiond
d8d3902388
Fixed idiotic error messages when parsing broken WML.
2009-06-01 11:07:34 +00:00
Guillaume Melquiond
b12b0d611b
Fixed Lua events not being loaded when going to next scenario.
2009-06-01 06:29:58 +00:00
Eric S. Raymond
f49f219f8f
Minor translation fixes and reversions requested by Mordante.
2009-05-31 20:45:09 +00:00
Mark de Wever
1270c64e05
Increase the lineheight in the new dialogs.
...
The default space was deemed to be a little bit too small.
http://www.wesnoth.org/forum/viewtopic.php?p=358832#p358832
2009-05-31 19:49:11 +00:00
Guillaume Melquiond
b6d39b9f58
Added checks for stack overflow in recursive functions.
2009-05-31 19:27:20 +00:00
Mark de Wever
ef8895a344
Add a new real multi page widget and use it.
...
It's used in the campaign dialog, this change breaks the unit tests
for small gui and small gui since UtBS won't fit in the available
space. This will be fixed later.
2009-05-31 18:52:42 +00:00
Guillaume Melquiond
84a358af57
Removed obsolete todo.
2009-05-31 17:32:42 +00:00
Guillaume Melquiond
e5a3390eca
Converted default MP objectives to Pango markup.
2009-05-31 17:30:55 +00:00
Guillaume Melquiond
2ee50c09dc
Converted objective dialog box to Pango markup.
2009-05-31 17:20:24 +00:00
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