51709 Commits

Author SHA1 Message Date
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
Mark de Wever
e9208037d1 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:07 +00:00
Mark de Wever
1b8d496b52 Converts a function pointer to boost::function. 2013-02-10 21:45:04 +00:00
Mark de Wever
6c59935225 Converts a function pointer to boost::function. 2013-02-10 21:45:01 +00:00
Mark de Wever
f7a33c6ecc Converts a function pointer to boost::function. 2013-02-10 21:44:58 +00:00
Mark de Wever
215f78aae5 Converts a function pointer to boost::function. 2013-02-10 21:44:55 +00:00
Mark de Wever
d6e7d12972 Reverts silly grammar changes.
Espreon please stop changing the code to your favourite flavour of
English, again it cost me a lot of time to find a bug caused by your
changes.

(Reverts 2012-11-23T02:12:26Z!Majora700@gmail.com.)
2013-02-10 21:44:52 +00:00
Anonymissimus
0f12eee9c6 partly revert 2013-02-09T16:12:47Z!koraq@xs4all.nl...
...to work around another MSVC compile error

tcontrol::canvas(): "invalid call to non-static member function"
2013-02-10 20:13:02 +00:00
Anonymissimus
6c370b200f remove explicit "this->" to work around MSVC compile errors
For some reason it appears to no longer know the this pointer
in that context after introduction of these FOREACHs.
2013-02-10 20:12:25 +00:00
Jérémy Rosen
3d8f57d30f apply patch 3678 by Coffee, more syntax simplification 2013-02-10 18:59:33 +00:00
Nils Kneuper
8775a2571c updated Chinese (Traditional) translation 2013-02-10 14:56:59 +00:00
Mark de Wever
c36e8d2914 Fixes terminating due to corrupt preferences.
(Fixes bug #19970, partly fixes FR #20366.)
2013-02-10 09:46:45 +00:00
Mark de Wever
8bb37576c4 Catch an exception by const reference.
A const reference is preferred over a normal reference, also minor
coding style fixes.
2013-02-10 09:21:21 +00:00