Commit Graph

33643 Commits

Author SHA1 Message Date
Mark de Wever
e9c3a0e64c Reanable blurring for the transient window. 2009-06-01 16:59:09 +00:00
Mark de Wever
64b998da24 Avoid redrawing the window twice.
The grid didn't clear tgrid properly so added a manual clearing. The
code doesn't look too great since too many people clear the dirty state,
which should be fixed later.
2009-06-01 16:59:01 +00:00
Guillaume Melquiond
8b65d8a521 Prevented comments embedded between macro brackets...
...from producing spurious newline characters.
2009-06-01 16:57:02 +00:00
Eugen Jiresch
92f30bf228 savegame reorganization: removed config_adapter.cpp/hpp 2009-06-01 15:41:53 +00:00
Mark de Wever
9fc3108091 Adding the blurring function to the canvas.
It can't be used in a dialog yet since it seems dialogs get drawn twice
upon creation, which creates an ugly blur.
2009-06-01 15:39:40 +00:00
Mark de Wever
7cbcca6fb3 Convert the widgets to use the new blit function. 2009-06-01 15:39:35 +00:00
Mark de Wever
b5278dae9d Add a blit function to the canvas.
This function allows to do pre commit actions (not yet implemented).
2009-06-01 15:39:30 +00:00
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