Ali El Gariani
987536f2c4
store waypoints in usual vector of locations...
...
...instead of list (was not worth the trouble)
2009-12-22 12:18:00 +00:00
Ali El Gariani
9b76d692e0
remove one unneeded include
2009-12-22 12:12:53 +00:00
Ali El Gariani
8672af2695
remove one unneeded include
2009-12-22 12:11:52 +00:00
Lari Nieminen
463b38ffe6
Used pixelmind's fire dragon portrait for Shek'kahan.
2009-12-22 07:21:46 +00:00
Nils Kneuper
39f3f58911
updated Latvian translation
2009-12-21 23:15:00 +00:00
Steven Panek
67f144c5d5
Added Chantal's missing portrait.
2009-12-21 23:01:29 +00:00
Eric S. Raymond
baa89688df
Address bug #14978 : Custom Chantal portrait...
...
...not used in the HttT Elves Besieged scenario.
2009-12-21 22:02:19 +00:00
Eric S. Raymond
ee929c7ef2
Make it easier to exclude directories for VCSes from resource trees.
2009-12-21 21:40:51 +00:00
Eric S. Raymond
64ad6085c0
wmlscope/wmllint cleanup.
2009-12-21 21:08:07 +00:00
Eric S. Raymond
57dd65255d
Reindent mainline. Most of these changes are tab expansions.
2009-12-21 20:23:34 +00:00
Nils Kneuper
23f6ae570f
remove the "Fireball" from TRoW since it is unused
2009-12-21 12:36:12 +00:00
Ali El Gariani
c544b380cb
Temporaroly disable an assert preventing to test campaign's trunk
...
(problem caused by 2009-12-20T20:46:27Z!koraq@xs4all.nl). Note there is still a small icon glitch.
2009-12-21 12:02:24 +00:00
Steven Panek
f3e09dc178
Ran set-properties on the new portraits;...
...
...ran wesnoth-optipng on said portraits; saved 23 KiB; 3%.
2009-12-21 00:54:06 +00:00
Eric S. Raymond
7faa45ae12
Portraits of the Four Oracles for DM.
2009-12-21 00:47:07 +00:00
Benoît Timbert
03ca9bee67
French translation update
2009-12-20 20:54:00 +00:00
Mark de Wever
6395eca2a4
Use the new set_row_shown overload.
2009-12-20 20:46:43 +00:00
Mark de Wever
866b6a8844
Add an overload for set_row_shown.
...
Hiding one row at a time in the game_load dialog, when the filter
resulted in an empty set was slow. Every time a row was hidden the next
row was selected and its callback called. Directly after that the newly
selected row was hidden as well... The speedup is quite noticable.
2009-12-20 20:46:35 +00:00
Mark de Wever
39946e74aa
Fix a redraw glitch when hiding a widget.
...
When hiding the grid in the game_load dialog it wasn't redrawn properly,
this fixes it. (The changes uncovering this problem will be committed
later.)
2009-12-20 20:46:27 +00:00
Mark de Wever
26de717da2
Rename set_row_visible to set_row_shown.
2009-12-20 20:46:20 +00:00
Mark de Wever
229470a84b
Let set_row_visible call the selection update.
...
When the selection changes due to hiding rows the callback for a changed
value should also be called.
2009-12-20 19:35:16 +00:00
Mark de Wever
c636eaf402
Protect against no savegame selected in the list.
...
The filter can filter out all savegames, then the preview pane shouldn't
try to access an invalid index.
2009-12-20 19:35:13 +00:00
Mark de Wever
1200875a6e
set_row_visible() can now properly handle sizing.
...
Before it always "worked" since set_visible in twidget calls
invalidate_layout(). Now only call invalidate_layout() if we failed to
handle the resize ourselves.
2009-12-20 19:35:09 +00:00
Mark de Wever
c0d4476ef1
Let content_resize_request() return a status.
...
This allows classes the try to handle the resize know whether suceeded
or not.
2009-12-20 19:35:06 +00:00
Mark de Wever
e45d341f6a
Add a blocker for invalidate_layout().
...
This will be used by classes that can (partly) handle their own resizes.
2009-12-20 19:35:02 +00:00
Mark de Wever
3b69aec985
Comment out some undefined functions.
2009-12-20 19:34:58 +00:00
Ali El Gariani
45e7487f18
Fix various bugs when a unit has more MP than its maximum
2009-12-20 18:05:16 +00:00
Guillaume Melquiond
b2059ad22b
Avoided checking for translation marker on identifiers.
2009-12-20 16:57:45 +00:00
Guillaume Melquiond
dc05377dc7
Removed virtual qualifier from function called from constructor.
2009-12-20 16:57:17 +00:00
Mark de Wever
fdec9c57c0
Initialize all members.
2009-12-20 16:56:46 +00:00
Mark de Wever
c50e70bc43
Initialize all members.
2009-12-20 16:56:42 +00:00
Mark de Wever
640e644ca3
Initialize all members.
2009-12-20 16:56:38 +00:00
Lari Nieminen
6a06d10943
Rewrote how the prisoners are created in 'Captured':
...
...now the prisoners are the highest level units possible and new
recruits are created if the player doesn't have enough
recallables. Also added a variable telling whether or not the player
has gotten ogres to recruit.
2009-12-20 16:02:36 +00:00
Mark de Wever
46d3bf1382
The load game dialog uses the new set_row_visible.
...
Still needs some more tuning to avoid the last invalidate_layout call.
2009-12-20 15:55:27 +00:00
Mark de Wever
1539dc50c8
Add set_row_visible function to the listbox.
2009-12-20 15:55:24 +00:00
Mark de Wever
fc6fe18859
Allow generator items to have a shown flag.
...
By toggling this flag the contents update their size and placement of
the items.
2009-12-20 15:55:20 +00:00
Mark de Wever
45f7dcf2ee
Improve content_resize_request().
...
Better handle scrollbar visibility and whether or not items fit.
2009-12-20 15:55:17 +00:00
Mark de Wever
9966bc4ab5
Add recalculate_best_size to update the best size.
...
When a scrollbar container changes its contents this function can update
the wanted best size.
2009-12-20 15:55:13 +00:00
Mark de Wever
d364981596
Add tscrollbar_::all_items_visible().
...
This makes it easier to test whether the scrollbar is needed or not,
used it in the scrollbar container.
2009-12-20 15:55:10 +00:00
Mark de Wever
ecd628f3e8
Make at_end() in all cases.
2009-12-20 15:55:06 +00:00
Richard Kettering
c0c41c054c
Updated sprite for the elven lady.
2009-12-20 06:50:38 +00:00
Richard Kettering
2ae0e71f32
Updated sprite for the elven lady.
2009-12-20 06:31:01 +00:00
Ignacio R. Morelle
a2bb2990d0
Move Zarel above in the art contributors list...
...
...to restore alphabetical order
2009-12-20 01:03:57 +00:00
Nils Kneuper
69141fa8fd
updated Spanish translation
2009-12-19 08:00:15 +00:00
Benoît Timbert
1ab65e637c
French translation update
2009-12-18 22:04:15 +00:00
Nils Kneuper
40f9fc2874
updated Russian translation
2009-12-18 16:06:06 +00:00
Ignacio R. Morelle
c878dcda84
Cookie time.
2009-12-18 15:03:22 +00:00
Guillaume Melquiond
61f5727523
Partly fixed compilation issues with ICC,
...
...including some real bugs in the code.
2009-12-18 08:08:48 +00:00
Chusslove Illich
64db3b1ff4
Updated localized images for Russian.
2009-12-17 20:15:06 +00:00
Steven Panek
3bca25c919
Updated the xcf for the Spanish maps.
2009-12-17 01:02:41 +00:00
Steven Panek
86d0e7fb06
Updated most of the Spanish BfW maps.
2009-12-17 00:57:24 +00:00