Commit Graph

25163 Commits

Author SHA1 Message Date
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
Lari Nieminen
836ad7d695 Cleaned up a few macro references. 2008-05-17 10:32:23 +00:00
Lari Nieminen
68deb05678 Updated changelogs. 2008-05-17 10:23:00 +00:00
Lari Nieminen
eeefe746d0 Fixed a recruit list typo. 2008-05-17 10:05:09 +00:00
Sergey Popov
03a6414fd4 Made SCons recipe add proper version suffix when making tarballs. 2008-05-17 09:15:26 +00:00
Mark de Wever
6f9706510c Add more wml_exception() definitions...
...to allow to make the t_string constructors explicit later.
2008-05-17 08:10:22 +00:00
Mark de Wever
28810e61ba Add a new widget defintion as background for a text in the language listbox. 2008-05-17 08:08:28 +00:00
Mark de Wever
8f58217bce Fix typo in undef 2008-05-17 08:00:33 +00:00
Mark de Wever
7b1312dfb6 All widget used the default defintion due to a bug, this has been fixed. 2008-05-17 07:18:31 +00:00
Benoît Timbert
2474f3237f Update some information 2008-05-16 23:18:20 +00:00
Mark de Wever
3659c819b4 The language dialog can now show all items...
...and resize itself to fit on the screen.

Note there are no borders, this will probably be added later.
2008-05-16 20:57:07 +00:00
Moritz Göbelbecker
1b6c0ed8e3 Handle BINARY_PREFIX and _SUFFIX in a more elegant way in cmake. 2008-05-16 19:33:43 +00:00
Benoît Timbert
9998ee4724 French translation update 2008-05-16 16:48:33 +00:00
Benoît Timbert
c5cf4d7926 French translation update 2008-05-16 16:35:15 +00:00
Pauli Nieminen
ad29629fd8 svn header to ban files 2008-05-16 16:08:26 +00:00
Elias Pschernig
5cb6bf80eb wmlunits: Made the Python wml parser more robust...
...when dealing with invalid WML, it should now abort with a
meaningful error message with about any bad WML you throw at it.
2008-05-16 16:05:51 +00:00
Pauli Nieminen
fc65c10b60 added support for saving and loading the list of banned players 2008-05-16 16:02:17 +00:00
Mark de Wever
91df132eba Move the template class tformula in its own header. 2008-05-16 15:55:56 +00:00
Pauli Nieminen
cb6154d62a Forgot svn add before previous commit 2008-05-16 14:56:24 +00:00
Pauli Nieminen
56e6b07261 Improved code for wesnothd ban support 2008-05-16 14:55:19 +00:00
Gunter Labes
02b5b6d2b7 update Sirp's email address 2008-05-16 11:56:29 +00:00
Sergey Popov
cccf6843e7 SCons recipe: use globs to get sources for TAGS. 2008-05-16 09:50:29 +00:00
Ignacio R. Morelle
9760ccfa80 Move graphic items to a new prestart event so that they do not pop-up
after the map becomes visible to the player
2008-05-16 02:12:45 +00:00
Nils Kneuper
91f5ac0dd8 for the trunk server the default port is 15003 (again) 2008-05-15 23:05:33 +00:00
Nils Kneuper
4202d561ff update list of servers...
...(server3.wesnoth.org is now an alias of games.tuxfamily.org)
2008-05-15 23:00:48 +00:00
Ignacio R. Morelle
3acf412a2f Add kitty's female white mage portrait by kitty 2008-05-15 22:29:01 +00:00
Nils Kneuper
49e759511e add new langs at g.w.o 2008-05-15 18:09:25 +00:00
Ignacio R. Morelle
74ffa52b76 Revert 2008-05-13T22:20:29Z!shadowm@wesnoth.org and 2008-05-13T22:26:46Z!shadowm@wesnoth.org 2008-05-15 18:03:28 +00:00
Benoît Timbert
2067380744 Fix Konrad being recognised as Lis'ar un the tutorial 2008-05-15 17:23:32 +00:00
Mark de Wever
804a1a627c The label should be a t_string instead of std::string. 2008-05-15 17:10:40 +00:00
Moritz Göbelbecker
c614908ceb Set minimum required CMake verseion to 2.4.6 2008-05-15 16:40:36 +00:00
Pauli Nieminen
7c7871b337 added expiration time to bans
fixed minor memory leak
2008-05-15 16:27:20 +00:00
Moritz Göbelbecker
dca4689efe Cleanup root-CMakeLists.txt a bit. 2008-05-15 14:56:38 +00:00
Moritz Göbelbecker
d4c3dd9869 Remove debugging output I accidentally left behind. 2008-05-15 13:42:59 +00:00
Moritz Göbelbecker
d0088db5c7 Check for FriBiDi version 1 explicitely. 2008-05-15 13:37:40 +00:00
Moritz Göbelbecker
130f897a72 Modularize dependencies in cmake build.
Only require libs that are needed for enabled targets.
2008-05-15 13:02:11 +00:00
Bruno Wolff III
79f14f3851 Notes about cmake issues. 2008-05-15 04:31:36 +00:00
Pauli Nieminen
6fd213799e Fixed new damage statistics code 2008-05-14 20:48:25 +00:00