39935 Commits

Author SHA1 Message Date
Guillermo Biset
c66a1e4221 Started to work on proxy support and separated ana.hpp into two files. 2010-06-04 21:08:10 +00:00
Jérémy Rosen
e0f56dd745 revert 2010-03-28T21:09:37Z!jeremy.rosen@enst-bretagne.fr...
...which caused orcish fort to be drawn stupidely over units. I was
not able to reproduce the original glitch that caused 2010-03-28T21:09:37Z!jeremy.rosen@enst-bretagne.fr,
so if you find it please report
2010-06-04 20:30:49 +00:00
Gabriel Morin
5a22743874 Class and Sequence diagrams for the whiteboard framework 2010-06-04 20:05:15 +00:00
Ali El Gariani
81f916da8e Remove last newline in floating label (useless and looks bad in tooltips) 2010-06-04 19:47:41 +00:00
Gabriel Morin
9410d3f35e Updated build files for cmake, scons, automake 2010-06-04 19:19:35 +00:00
Gabriel Morin
0edd47c484 a bit more refactoring 2010-06-04 19:19:29 +00:00
Gabriel Morin
e4e6f3e3ce Changed whiteboard file names and added wb namespace. 2010-06-04 19:19:22 +00:00
Ali El Gariani
b1f1db5e5d tooltip->help: Click on race or unit_type open their respective help page 2010-06-04 19:15:26 +00:00
Ali El Gariani
b0d963e175 tooltip->help: Clicking on an ability(in side panel) open its help page. 2010-06-04 18:59:23 +00:00
Ali El Gariani
f2f9b7811b Test tooltip->help feature:
Clicking on ToD image or alignement open the help page about ToD
2010-06-04 18:59:20 +00:00
Ali El Gariani
992b6f0e3c Allow to associate a help page to each tooltip (open when clicking). 2010-06-04 18:59:18 +00:00
Ali El Gariani
ef72ecf413 Move tooltips processing to mouse_handler_base 2010-06-04 18:59:14 +00:00
Nils Kneuper
72ed00ac11 updated Japanese translation 2010-06-04 13:44:18 +00:00
J.W. Bjerk
cb192e3d94 adding two new editor groups, bridges and obstacles,
...and reordering most terrains in the editor to put common, simple
choices at the top.
2010-06-03 21:42:06 +00:00
Guillaume Melquiond
cecef8eb59 Fixed broken attack predictions...
...when a unit is about to level up because of a kill.

Killing an enemy and losing hitpoints are not independent
events. (Quite the contrary in fact, the unit probably losed HPs
because it failed to kill its enemy.)

So advancement cannot be predicted by looking at the summaries after a
complex fight, since all the correlations have already been lost.

In other words, the previous code was completely incorrect. See
http://forums.wesnoth.org/viewtopic.php?f=4&t=30221 for an example.

As a side effect, this commit also improves predictions related to
slowness when leveling up after a complex fight.
2010-06-03 20:14:15 +00:00
Guillaume Melquiond
17a25a330a Fixed upward bias of attack predictions.
(Note: adding half an ulp is meaningful only for fixed-point
arithmetic, not for floating-point arithmetic.)
2010-06-03 20:14:05 +00:00
Ali El Gariani
3444701d99 An attempt to be fix an old color cursor bug. 2010-06-03 18:39:26 +00:00
Ali El Gariani
7d78e95257 Log WML error for "colour" in [side] (deprecated in 1.9.2) 2010-06-03 18:15:53 +00:00
Ali El Gariani
e8457e0ae9 Log WML error for "colour" in [label] (deprecated in 1.9.2) 2010-06-03 18:15:51 +00:00
Ali El Gariani
5cd78eac52 Add possibility to log a WML error in the new functions...
...handling backward compatible keys.
2010-06-03 18:15:48 +00:00
Alexander van Gessel
595927f72e Remove PYTHON preprocessor define from a test 2010-06-03 18:12:00 +01:00
Ali El Gariani
3f87582cf0 Rename "colour_cursors" to "color_cursors" in preferences file.
Old setting is lost and default is used (which is now "yes", see
previous commit)
2010-06-03 16:25:39 +00:00
Ali El Gariani
13284fedbb Change default setting for color cursors to yes.
No new bugs reports since a long time and the perf cost is tiny
compared to other animation settings already activated by default.
2010-06-03 16:25:38 +00:00
Ali El Gariani
a5bfb4cff5 Rename "show_side_colours" -> "show_side_colors" in preferences file.
Reset the setting to default(yes), but trunk users don't care (was
broken 2 months)
2010-06-03 16:25:36 +00:00
Ali El Gariani
d583521bf2 Fix preferences "Show Grid" and "Show Team Colors" (broken 2 months ago) 2010-06-03 16:25:35 +00:00
Ali El Gariani
4b678297b3 rename colour->color for "fill_colour" "border_colour",
...*_colour still supported
2010-06-03 16:25:33 +00:00
Ali El Gariani
d7a5cda9bc Rename key "colour_lock" to "color_lock", "colour_lock" still supported. 2010-06-03 16:25:31 +00:00
Nils Kneuper
14fbdd5c6e updated German translation 2010-06-03 12:43:06 +00:00
Guillaume Melquiond
fea0fca514 Avoided costly roundtrip through strings. 2010-06-03 07:08:15 +00:00
Guillaume Melquiond
96457801e6 Avoided costly roundtrip through strings. 2010-06-03 07:08:12 +00:00
Guillaume Melquiond
42ad4d7b37 Avoided costly roundtrip through strings. 2010-06-03 07:08:09 +00:00
Guillaume Melquiond
e1d2fa4f98 Avoided costly roundtrip through strings. 2010-06-03 07:08:05 +00:00
Ali El Gariani
31586d309b Support WML event 'color_adjust', 'colour_adjust' is still supported 2010-06-03 01:47:11 +00:00
Ali El Gariani
51ab72860e Replace all uses of 'colour' by 'color' in code. 2010-06-03 01:47:06 +00:00
Ali El Gariani
0684320813 Replace any "colour" WML key by "color", "colour" is still supported. 2010-06-03 01:46:47 +00:00
Ali El Gariani
ffe6d898d6 Add helper functions to handle backward compatible keys. 2010-06-03 01:46:41 +00:00
Ali El Gariani
f6fab3788f Rename all SDL_Color font::FOO_COLOUR as font::FOO_COLOR 2010-06-02 22:14:44 +00:00
Ali El Gariani
d9997e472d Use only SDL_Color and stop using its synonym SDL_Colour 2010-06-02 22:14:32 +00:00
Ali El Gariani
8934cebdf1 Make more public an utility function generating pango color markup. 2010-06-02 22:01:37 +00:00
Ali El Gariani
8c731f62e4 Remove now unsused color parameter in tooltip
(using pango markup is better)
2010-06-02 22:01:35 +00:00
Ali El Gariani
64689392e7 Use pango markup for red highlighting non-core terrain warning.
Allow to highlight the warning only (without the terrain name) and
simplify tooltip code.
2010-06-02 22:01:33 +00:00
Guillaume Melquiond
d033f89942 Avoided costly roundtrip through strings. 2010-06-02 20:36:07 +00:00
Guillaume Melquiond
74ce016970 Avoided costly roundtrip through strings. 2010-06-02 20:36:04 +00:00
Guillaume Melquiond
bab6471ae4 Avoided costly roundtrip through strings. 2010-06-02 20:36:01 +00:00
Guillaume Melquiond
f00f669215 Avoided costly roundtrip through strings. 2010-06-02 20:35:58 +00:00
Guillaume Melquiond
8bfb89a06a Avoided costly roundtrip through strings. 2010-06-02 20:35:55 +00:00
Guillaume Melquiond
ab58fb8522 Avoided costly roundtrip through strings. 2010-06-02 20:35:51 +00:00
Guillaume Melquiond
28af0668ce Fixed compilation of persistent WML code. 2010-06-02 19:20:57 +00:00
Guillaume Melquiond
0e984bd084 Avoided costly roundtrip through strings. 2010-06-02 19:20:54 +00:00
Guillaume Melquiond
94953103ce Avoided costly roundtrip through strings. 2010-06-02 19:20:51 +00:00