Commit Graph

25100 Commits

Author SHA1 Message Date
Ignacio R. Morelle
87639c63c9 Add code support for disabled button state graphic added on 2008-05-19T20:47:23Z!shadowm@wesnoth.org 2008-05-19 20:48:15 +00:00
Ignacio R. Morelle
565b9a159f Add disabled button (normal) graphic for new toolkit 2008-05-19 20:47:23 +00:00
Jérôme Brongniart
a1aefe1807 finish the "heal_unit" action...
...(i.e add a healers filter, choose if the animation must be played
and clean the unused variable)
2008-05-19 20:45:19 +00:00
Ignacio R. Morelle
b48116df19 Add path to some of the graphics on 2008-05-19T20:25:06Z!shadowm@wesnoth.org to GUI WML 2008-05-19 20:27:23 +00:00
Ignacio R. Morelle
87f486f921 Graphics for the new toolkit as requested by Mordante:
- Disabled checkbox (checked)

- Disabled checkbox (unchecked)

- Disabled scrollbar groove

- Disabled scrollbar block

- Disabled slider

- Focused slider (different to current 'pressed' one)
2008-05-19 20:25:06 +00:00
Jérémy Rosen
c8dd8e4c9f generalize the way TC is handled,
...as a side effect, we have an image_mod= parameter that can be put
both at [frame] and [animation] level and will be applied to the
image(s) of the block
2008-05-19 18:03:25 +00:00
Gunter Labes
6579fbe8fe fixed bug #11702: wrong next_scenario references in UtBS 2008-05-19 17:26:05 +00:00
Richard Kettering
5a2118db84 Upgraded animations for the orcish assassin. 2008-05-19 07:49:26 +00:00
Patrick Parker
8542b0de22 fix a typo in a variable initialization 2008-05-19 02:45:22 +00:00
Moritz Göbelbecker
9547d08f0f Remove lava images from UtBS as they are already in mainline. 2008-05-18 21:58:36 +00:00
Moritz Göbelbecker
a1f010dfc9 Port UtBS terrains to new terrain macros. 2008-05-18 21:45:34 +00:00
Moritz Göbelbecker
9631f90b96 Move terrain-graphics/_final.cfg to terrain-graphics.cfg...
...and include it after the campaigns.

This makes campaign specific terrains work without ugly workarounds.
2008-05-18 21:40:55 +00:00
Pauli Nieminen
3ce6dc03dc Improved wesnothd performace: Removed transfer stats from server 2008-05-18 18:47:29 +00:00
Nils Kneuper
ac3938f8d6 updated Serbian translation 2008-05-18 17:41:12 +00:00
Mark de Wever
946ac219ac Forgot to commit this one with the std::cerr removal patch. 2008-05-18 17:29:12 +00:00
Mark de Wever
d05c944220 Added the list() function to get the spacer area for the list.
Some cleanups in the unit.
2008-05-18 17:28:31 +00:00
Ignacio R. Morelle
4dff058572 Add Kitty's human dark adept (male) portrait 2008-05-18 16:25:44 +00:00
Benoît Timbert
193e125865 Fix some compilation error (double->int) 2008-05-18 16:10:29 +00:00
Ignacio R. Morelle
7238b0b975 New graphics for pressed scrollbar block (new widget system) 2008-05-18 16:05:47 +00:00
Jérémy Rosen
81a5868805 add a heal_unit action, patch by segfault 2008-05-18 15:51:27 +00:00
Moritz Göbelbecker
0d5cfe7ff3 Fix minimap and editor image for lit terrain 2008-05-18 15:29:02 +00:00
Jérémy Rosen
da953ecbb4 fix slight misplacement of halos on non-default zoom 2008-05-18 15:18:25 +00:00
Benoît Timbert
0eefb20a7a Apply patch #1067 by xonev: Add image key to removeitem tag 2008-05-18 15:08:29 +00:00
Mark de Wever
6d53f6899f Remove a bunch of std:cerr debug statements which are no longer needed. 2008-05-18 14:25:08 +00:00
Mark de Wever
99b9026880 Fix an off by one error,
...this allows the background of the listbox to have no gaps.
2008-05-18 14:08:54 +00:00
Benoît Timbert
e4ba59b1fe French translation update 2008-05-18 14:03:24 +00:00
Mark de Wever
30c19f0704 Update doxygen comment style. 2008-05-18 13:59:35 +00:00
Mark de Wever
9ef9846816 Update doxygen comment style. 2008-05-18 13:54:58 +00:00
Mark de Wever
37fec94e59 Add another background colour for disabled items. 2008-05-18 13:54:50 +00:00
Bruno Wolff III
755e47c928 Update cmake status comments. 2008-05-18 13:53:40 +00:00
Mark de Wever
f7dce21b55 Update doxygen comment style. 2008-05-18 13:47:04 +00:00
Moritz Göbelbecker
770b3dd989 Make default_base work also for fill/new map/resize.
Cleaned up some of the terrain merging code while on it.
2008-05-18 12:53:14 +00:00
Moritz Göbelbecker
d434b8d2ce Add "default_base" parameter to [terrain].
The editor will use this do draw a default base for overlay terrains.
2008-05-18 10:56:04 +00:00
Benoît Timbert
41be94978e Document 2008-05-18T00:40:26Z!benoit.timbert@free.fr 2008-05-18 10:09:07 +00:00
Mark de Wever
0f6f0a1525 Added a new experimental feature in the new widget library.
This feature disables languages not available on the system. It has
only been tested on Linux and it can use more testing on other
platforms. (bug #11212)
2008-05-18 09:34:19 +00:00
Mark de Wever
97f98b5390 Add tlistbox::set_row_active()...
...so we can activate and deactive a row in a listbox.
2008-05-18 07:47:39 +00:00
Mark de Wever
2b8b19b63a Add tgrid::set_active(). 2008-05-18 07:46:57 +00:00
Mark de Wever
d86efb4a34 The scrollbar now is also deactivate when nothing to scroll.
set_size() also should call set_scrollbar_button_status(), which is now done.
2008-05-18 07:18:06 +00:00
Mark de Wever
3495b3551b set_active() now only changes the state if changed. 2008-05-18 07:14:57 +00:00
Mark de Wever
66c207f801 Refactoring:
* Rename get_widget_by_id and get widget both to find_widget.

* Add an extra flag to these functions to only find active widgets.

* Add const version for all of them.

* Mouse events now only find active widgets.
2008-05-18 06:05:59 +00:00
Mark de Wever
d6593bf277 Make get_active() more like the other get_active()'s 2008-05-18 05:50:12 +00:00
Benoît Timbert
71fdce2ae2 [[faction_from_recruit]]
- don't lock the faction if recruit= is set, except if
  faction_from_recruit=yes (it used to lock the faction in all cases).

- get the first best matching faction when choosing a faction from a criteria

PS: It's time to sleep, i'll document this and the existing
undocumented faction= feature tomorrow.

This gives some time to get a better name for this new
"faction_from_recruit" key - feel free to "fix" it in the meantime.
2008-05-18 00:40:26 +00:00
Ignacio R. Morelle
bfb88a8e01 New overlay terrain: Lit...
...(replaces Cave Lit and Rockbound Cave lit definitions)
2008-05-17 22:08:33 +00:00
Sergey Popov
e17de9d691 SCons recipe: no longer link campaignd against libwesnoth helper library...
...which is unnecessary and also makes campaignd dependent on SDL_ttf
and SDL_mixer.
2008-05-17 18:09:59 +00:00
Sergey Popov
14f75b3522 SCons recipe: improved regex used to parse config.h.dummy...
...so it works on windows.
2008-05-17 16:31:07 +00:00
Moritz Göbelbecker
0a09602dea Fix collision of macro names. 2008-05-17 15:49:59 +00:00
Nils Kneuper
d1897fba77 some stuff by wmllint...
...(correcting one mistake, removng an empty line at the end of a
file, adding a newline at the end of file)
2008-05-17 12:26:43 +00:00
Lari Nieminen
581e21f5ee Fixed a broken cave image reference. 2008-05-17 11:10:19 +00:00
Mark de Wever
d7f9fc15ae Release mouse capture when no buttons are down anymore. 2008-05-17 10:57:43 +00:00
Mark de Wever
7c745a47d0 Show (ugly) placeholder buttons for the scrollbar in the listbox.
Made those buttons also works.

Fixes a off by one bug in at_end().
2008-05-17 10:37:10 +00:00