Mark de Wever
b34eb860f9
Use boost::noncopyable to avoid copying classes.
2013-02-17 18:42:33 +00:00
Sergey Popov
c81524347f
Brainfart fix
2013-02-17 01:15:15 +00:00
Alexander van Gessel
d93bcd8332
Ignore _info.cfg when checking for non-single-file add-ons
2013-02-17 01:28:56 +01:00
Mark de Wever
9674d6b644
Use boost::noncopyable to avoid copying a class.
2013-02-16 20:36:18 +00:00
Jérémy Rosen
e1590a4254
apply patch #3682 by Coffee:
...
make image a progressive parameter+big WML simplification
2013-02-16 18:13:39 +00:00
Mark de Wever
23a6e1f566
Avoid click dismissing moving a unit.
...
When click dismissing a dialogue in the past the DOWN event was used.
This lead to a bug. The obvious change was to switch to the UP event,
this lead to another bug; the dialogue was directly dismissed. Since
the game map code uses the UP and DOWN event to select a unit there is
no simple solution.
Upon entry this value stores the mouse button state at entry. When a
button is DOWN and goes UP that button does _not_ trigger a dismissal
of the dialogue, instead that button's down state is removed from this
variable. Therefore the next UP event does dismiss the dialogue.
(Fixes bug #18970 )
2013-02-16 16:11:31 +00:00
Sergey Popov
857f238fbd
Don't use pkg-config's --atleast-version arg when checking for pango
...
It doesn't seem to work with some versions of pkg-config, e.g. the one
found on Ubuntu 10.04
2013-02-16 14:30:22 +00:00
Sergey Popov
61997d771c
Added version check for pango to scons
2013-02-16 12:09:50 +00:00
Mark de Wever
2b939cebc7
Remove pango version checks.
...
Since the required version is increased, the checks are no longer
required.
2013-02-16 09:07:35 +00:00
Mark de Wever
53259cf8c8
Increased the pango cairo dependency to 1.24.4.
...
Loonycyborg I didn't see a version check in SCons and I didn't add one,
please review.
2013-02-16 09:07:31 +00:00
Simon Forsyth
3c41b7c75a
Fix bug preventing regenerating units from retreating with experimental AI
...
(thanks mattsc)
2013-02-16 03:11:14 +00:00
J. Tyne
9d098188e4
Add missing "Id" lines.
2013-02-15 20:09:41 +00:00
J. Tyne
7aa7b7d05c
Add the missing "Id" line.
2013-02-15 20:04:32 +00:00
J. Tyne
219fe1df0b
Use a symbolic constant instead of a literal constant.
2013-02-15 19:59:57 +00:00
Mark de Wever
c2619963bc
Remove an unused variable.
...
Issue found by cppcheck.
2013-02-15 18:14:31 +00:00
Mark de Wever
f83641e7ac
Remove an unused variable.
...
Issue found by cppcheck.
2013-02-15 18:14:29 +00:00
Mark de Wever
c97f67c18b
Remove an unused assignment.
...
Issue found by cppcheck.
2013-02-15 18:14:26 +00:00
Mark de Wever
be2403a93b
Remove an unused assignment.
...
Issue found by cppcheck.
2013-02-15 18:14:23 +00:00
J. Tyne
325a27806d
Fewer calculations in unit::resistance_against()...
...
...for the common case of no resistance abilities.
2013-02-15 16:45:16 +00:00
J. Tyne
349105420d
Better language in a comment.
2013-02-15 16:17:00 +00:00
J. Tyne
4b29558bd3
Slightly more efficient initializations for unit_type::alpha_.
2013-02-15 16:16:22 +00:00
J. Tyne
48504d1bf2
Push some processing from unit.cpp to unit_type.cpp.
...
This accomplishes two things:
1) A list of unit_type attributes gets moved to a more fitting file
(unit_type.cpp).
2) Trimming down a unit_type config for units occurs once per (used)
unit type, rather than once per unit.
2013-02-15 15:29:18 +00:00
J. Tyne
51273aceb4
Eliminate some parameters that are always *resources::game_map.
2013-02-15 02:38:42 +00:00
Nils Kneuper
ceef0aa07d
updated Italian translation
2013-02-13 19:49:38 +00:00
J. Tyne
7769b58617
Remove a function declaration that has no definition.
...
(Discovered when I was converting parameters to references.)
2013-02-13 00:45:07 +00:00
J. Tyne
4b70becf27
Pass the t_translation::t_terrain struct by const reference instead of value.
...
These functions actually made use of the non-const copy that was being
made before, so they needed a few adjustments after making their
parameter a const reference.
2013-02-13 00:06:06 +00:00
J. Tyne
e066bac97e
Pass the t_translation::t_terrain struct by (const) reference instead of value.
2013-02-12 23:16:43 +00:00
Alexander van Gessel
18f765246e
Add an --error-log option to wescamp.py,
...
...which writes warnings and errors to a specified file
2013-02-12 01:15:48 +01:00
Alexander van Gessel
0f9b110d02
Check for the configuration we need and only the configuration we actually need
2013-02-12 01:15:45 +01:00
Alexander van Gessel
bf29dac1f3
Use --branch to determine addon server port if not specified
2013-02-12 01:15:43 +01:00
Alexander van Gessel
fed0af289c
Add --branch option to wescamp...
...
...so we don't have to infer this from the wescamp checkout path
2013-02-12 01:15:40 +01:00
Alexander van Gessel
1b4c6d678a
Remove old --git option from wescamp.py
2013-02-12 01:15:37 +01:00
J. Tyne
b2cb594f34
More merging of codepaths for recruiting a unit.
2013-02-11 02:22:52 +00:00
Steven Panek
39df282c1b
Updated the British English translation.
2013-02-11 02:11:03 +00:00
Alexander van Gessel
370cd7ee08
Use authentication info for all github API requests if it's available
2013-02-11 02:20:35 +01:00
Mark de Wever
44f1de5b97
Fix some doxygen warnings.
2013-02-10 21:45:50 +00:00
Mark de Wever
c3814f8bf2
Fix a doxygen warning.
2013-02-10 21:45:47 +00:00
Mark de Wever
e34937577f
Fix a doxygen warning.
2013-02-10 21:45:44 +00:00
Mark de Wever
adf6e8c027
Fix some doxygen warnings.
2013-02-10 21:45:41 +00:00
Mark de Wever
23392afa5d
Fix a doxygen warning.
2013-02-10 21:45:37 +00:00
Mark de Wever
ef1f0338b2
Fix some doxygen warnings.
2013-02-10 21:45:34 +00:00
Mark de Wever
c2df50c204
Fix some doxygen warnings.
2013-02-10 21:45:31 +00:00
Mark de Wever
c60bc68281
Fix a doxygen warning.
2013-02-10 21:45:28 +00:00
Mark de Wever
69c8f7c294
Fix a doxygen warning.
2013-02-10 21:45:26 +00:00
Mark de Wever
f02a7bbd69
Fix some doxygen warnings.
2013-02-10 21:45:23 +00:00
Mark de Wever
37031c930c
Remove unneeded includes.
2013-02-10 21:45:20 +00:00
Mark de Wever
93228bf202
Change from virtual to normal inheritance.
...
The virtual inheritance is not required in this case I don't expect it be
needed in the future either.
2013-02-10 21:45:18 +00:00
Mark de Wever
6d6ba13bba
Change from virtual to normal inheritance.
...
The virtual inheritance is not required in this case I don't expect it be
needed in the future either.
2013-02-10 21:45:15 +00:00
Mark de Wever
2582476f28
Change from virtual to normal inheritance.
...
The virtual inheritance is not required in this case I don't expect it be
needed in the future either.
2013-02-10 21:45:12 +00:00
Mark de Wever
3d8710bee8
Change from virtual to normal inheritance.
...
The virtual inheritance is not required in this case I don't expect it be
needed in the future either.
2013-02-10 21:45:09 +00:00