44438 Commits

Author SHA1 Message Date
Guillaume Melquiond
8c26f2884d Avoided waiting for faction/leader/gender changes...
...when no such changes are available to network players.

(Fix for bug #16328.)
2010-12-28 10:54:56 +00:00
Nils Kneuper
24ea4e9619 updated Galician translation 2010-12-28 10:52:32 +00:00
Anonymissimus
53d3f7f49f better code logic for previous commit 2010-12-28 02:01:24 +00:00
Anonymissimus
9301736078 made modify_unit handle the case type=""...
...(old behavior of ADVANCE_UNIT macro - advancing to the units'
advances_to= when no target type given)

http://forums.wesnoth.org/viewtopic.php?f=21&t=32555&p=471573#p471573
2010-12-28 01:37:50 +00:00
Guillaume Melquiond
405ddad1a3 Changed Pango wrap mode so that words too long to fit on a text line...
...are still displayed and ellipsized.
2010-12-27 22:25:47 +00:00
Guillaume Melquiond
64f7f1ee5a Removed the character limit on map labels...
...and replaced by an area limit. (Fix for bug #15824, bug #16099, and
bug #17397.)
2010-12-27 22:25:44 +00:00
Guillaume Melquiond
b6c4f3736c Allowed negative coordinates in blit_surface. (Fix for bug #17399.) 2010-12-27 21:17:16 +00:00
Mark de Wever
f1f1fae70b Fix a compiler warning. 2010-12-27 20:37:48 +00:00
Anonymissimus
b6f48db20e adds wesnoth.clear_messages
(useful after outputting big tables in the chat window)
2010-12-27 20:17:10 +00:00
Mark de Wever
b9355a6ae4 Fix compilation with g++ 4.5 in C++-0x mode. 2010-12-27 19:23:03 +00:00
Nils Kneuper
520d1ecd0a updated Finnish translation 2010-12-27 17:32:25 +00:00
Alexander van Gessel
59d345efce Dutch translation update 2010-12-27 17:59:55 +01:00
Alexander van Gessel
cbc7724cfd Dutch translation update 2010-12-27 17:59:50 +01:00
Alexander van Gessel
7b34ecc25c Dutch translation update 2010-12-27 14:39:06 +01:00
Alexander van Gessel
1d23c91a57 Dutch translation update 2010-12-27 13:27:19 +01:00
Guillaume Melquiond
3195f5a1a0 Discontinued support for building with autotools.
Since 2010-12-27T04:03:39Z!ai0867@gmail.com, wesnoth no longer builds (due to duplicate
strings), and it would be a lot of work to fix the build system, so
better drop it.
2010-12-27 11:10:54 +00:00
Alexander van Gessel
532ff83ef2 Un-hardwire the [language] block in data/hardwired/english.cfg.
Move the file out of that dir
2010-12-27 11:27:15 +01:00
Alexander van Gessel
221116d41f A missed range reference 2010-12-27 11:27:08 +01:00
Nils Kneuper
35846ec989 updated Japanese translation 2010-12-27 09:51:53 +00:00
Alexander van Gessel
20d10a972a Read names of attack types from data/hardwired/english.cfg 2010-12-27 06:11:14 +01:00
Alexander van Gessel
b1ab958254 Read names of attack ranges from data/hardwired/english.cfg (feature #17395) 2010-12-27 05:15:53 +01:00
Alexander van Gessel
85b0832231 Add some dummy strings to a test to fix linking issues...
...introduced by 2010-12-26T20:00:45Z!guillaume.melquiond@gmail.com
2010-12-27 05:03:39 +01:00
Alexander van Gessel
74055a40c8 Dutch translation update 2010-12-27 02:30:03 +01:00
Mark de Wever
84f3d21f18 Properly update the entire mouse state.
When a window closes, not only update the mouse position but also the
button status.
2010-12-26 20:54:31 +00:00
Guillaume Melquiond
db4ff78b99 Passed viewing side and displayed unit to theme functions,
...since these data cannot be recovered easily.
2010-12-26 20:01:16 +00:00
Guillaume Melquiond
6726504fa3 Added wesnoth.get_mouseover_tile function. 2010-12-26 20:01:13 +00:00
Guillaume Melquiond
86f5a00afe Removed redundant side number. 2010-12-26 20:01:10 +00:00
Guillaume Melquiond
02d1772101 Added wesnoth.register_theme_item...
...for setting custom drawing functions for theme widgets (e.g., turn
number, countdown, unit status, and so on).
2010-12-26 20:01:07 +00:00
Guillaume Melquiond
19c1b89910 Added support for dynamic report generators. 2010-12-26 20:01:03 +00:00
Guillaume Melquiond
ef36d05b20 Replaced the report and element classes...
...with a WML-friendly data structure, that is, config.
2010-12-26 20:01:00 +00:00
Guillaume Melquiond
f7dae4410c Removed hardcoded enum for report generators. Used their theme names instead. 2010-12-26 20:00:54 +00:00
Guillaume Melquiond
1160a2b5e1 Removed nonexistent file. 2010-12-26 20:00:50 +00:00
Guillaume Melquiond
f6465949e5 Split report generators into separate functions. 2010-12-26 20:00:45 +00:00
Mark de Wever
cbfa9218f5 Fix a MSVC compilation error.
Explicitely cast to int so MSVC can determine the proper overload.
2010-12-26 18:24:23 +00:00
Mark de Wever
21c721cbc6 Fix a include location broken due to 2010-12-26T15:58:45Z!crazy-ivanovic@gmx.net. 2010-12-26 18:04:19 +00:00
Mark de Wever
d8b025e716 Add a new debug clock dialog.
The dialog is used to test the drawing routines. The clock will need
some appearance changes later on. It's main goal is to test the drawing
routine timing and several other things I want to test in the near
future, where I want to see what parts get updated.
2010-12-26 17:07:48 +00:00
Nils Kneuper
9250e0de7d pot-update
also fixing the drake encyclopedia stuff being in the wrong folder/domain, now it is in wesnoth-help, where it belongs
2010-12-26 16:15:43 +00:00
Nils Kneuper
3dccbda7a1 fix typo (remove leading space)
this fix can't be fixed using pofix.py easily since it is at the
beginning of the string
2010-12-26 16:12:44 +00:00
Nils Kneuper
2c23ef0d4d move the drake specific encyclopedia entries...
...over to the encyclopedia instead of having them in the units folder
2010-12-26 15:58:45 +00:00
Nils Kneuper
911b92042c fix 2 typos pointed out by the galician translation maintainer 2010-12-26 15:56:28 +00:00
Mark de Wever
472056b19c Remove set_drawing function.
The builder can use the internal function and user code isn't really
supposed to use that interface.
2010-12-26 15:01:23 +00:00
Ignacio R. Morelle
198bba9ec4 GUI2: taddon_description: formula cleanup 2010-12-26 14:26:21 +00:00
Ignacio R. Morelle
c514d77361 GUI2: taddon_description:
Un-hardcode max icon size of 72x72 and avoid scaling smaller icons
(attacks/, etc.)
2010-12-26 14:19:58 +00:00
Mark de Wever
95b25e5527 Add sin and cos function. 2010-12-26 14:10:34 +00:00
Mark de Wever
46d6bb2444 Make pi a constant. 2010-12-26 14:10:29 +00:00
Mark de Wever
5e7a9fc7fb Add some comment.
The fix in 2010-12-24T09:09:51Z!guillaume.melquiond@gmail.com looks strange at first sight until...

...you see res is a reference.
2010-12-26 14:10:26 +00:00
Mark de Wever
1203d74e32 Add concatenate function. 2010-12-26 14:10:22 +00:00
Mark de Wever
04112eb00b Add length function to determine string length. 2010-12-26 14:10:17 +00:00
Mark de Wever
c8e4b49005 Fix gui2 line drawing algorithm.
The previous implementation of the Bresenham line algorithm had a bug,
took another implementation which doesn't have the glitch.

The problem only occered rare cases and never with a horizontal or
vertical line, which caused the bug to remain hidden that long.
2010-12-26 14:10:11 +00:00
Mark de Wever
51416bc610 Enable gui formula logging.
It's needed quite often during testing so enable it by default now.
2010-12-26 14:10:06 +00:00