Commit Graph

47069 Commits

Author SHA1 Message Date
Anonymissimus
b7801e1feb VC10 projectfile update 2011-09-12 16:47:37 +00:00
Anonymissimus
b3658fa70a fix an MSVC warning about one of the control paths...
...skipping a variable initialization
2011-09-12 16:47:21 +00:00
Anonymissimus
6c7ab5b6db CB projectfile update 2011-09-12 16:47:05 +00:00
Anonymissimus
22b202235a vc9 projectfile update 2011-09-12 16:46:47 +00:00
Eric S. Raymond
3ac5225f3d Fix a too-familiar name. 2011-09-12 12:30:47 +00:00
Eric S. Raymond
71c659aef0 Remove an AD reference.
In this sitiation the characters wouldn't be specifying calendar suffixes.
They haven't yet figured out they're on different calendars.  Besides, it
simplifies things.
2011-09-12 11:58:20 +00:00
Steven Panek
695269c34a Added comments to the four-difficulty macros...
...so they'll get into the macro reference page.
2011-09-12 08:44:26 +00:00
Steven Panek
4fedbcece5 Moved the four-difficulty macros to core; wrote some new ones. 2011-09-12 08:28:15 +00:00
Steven Panek
f2981582c0 Prevented the possibility of seeing two Malifors; fixes bug #17295. 2011-09-12 07:56:26 +00:00
Steven Panek
ef1470a472 Use the new replay_save= key in Liberty's epilogue...
...to prevent a useless replay save from being created; fixes bug #17222.
2011-09-12 07:08:36 +00:00
Simon Forsyth
f5c47109e9 Use alternate flag to work around conflicting transition for Mud Flat -> Water 2011-09-11 20:25:57 +00:00
Thonsew
9563af2c53 Split team_builder off into its own class...
...so that it is not entirely inline, creating grief for MSVC.  Might
also speedup startup becauses the team_builder loops won't be inlined.
2011-09-11 19:51:42 +00:00
Thonsew
d2690e0cc6 Move anonymous namespace static const t_token...
...into function local scope in order make sure control flows over
them and initializes in the correct order.
2011-09-11 18:21:49 +00:00
Anonymissimus
d3afdb7b5c removed interned.cpp to mute a warning 2011-09-11 16:22:38 +00:00
Fabian Müller
42d142f504 UtBS: Made all desert elves liminal. 2011-09-11 15:22:02 +00:00
Thonsew
c1f0e9843d Fix one of many Mandatory WML child missing errors in wesnoth -t
This error was due to static initialization of queued_event_context in
lua.cpp.  The fix was the classic allocate static pointer inside a
non-inlined function that returns a reference to said pointer.
2011-09-11 09:33:23 +00:00
Gabriel Morin
3bb44d41c8 Restore a small part of pre-whiteboard selection code,
...as current logic wasn't logical.
2011-09-11 03:46:28 +00:00
Steven Panek
f927cb2cff Updated the Latin translation. 2011-09-11 03:17:34 +00:00
Gabriel Morin
c5a816569a Whiteboard was bypassing commands disabling...
...without necessity for move and attack creation.
2011-09-11 03:06:33 +00:00
Gabriel Morin
a7b782babe Reworked how the whiteboard activation and hotkeys display are controlled.
Should fix bug #18624.
2011-09-11 03:06:22 +00:00
Gabriel Morin
290ce94ee7 Change all comments in manager.hpp to match /** */ doxygen style. 2011-09-11 03:06:11 +00:00
Gabriel Morin
781fbb1ec0 Remove every unit that the side using the whiteboard...
...cannot see when building the unit map.

This prevents revealing enemy positions by planning recruits in enemy
castles, and other similar exploits.

Fixes bug #17277.
2011-09-11 00:35:26 +00:00
Gabriel Morin
a79ba63899 Added new is_visible_to_team() method to unit,
...and refactored some methods to use it.
2011-09-11 00:35:20 +00:00
Gabriel Morin
5d9b56ef17 Make team's destructor virtual since it has a superclass and a virtual method. 2011-09-11 00:35:15 +00:00
Gabriel Morin
b99ad25c46 Fix weird debugger-unfriendly formatting 2011-09-11 00:35:09 +00:00
Gabriel Morin
b992db1649 Add a temporary_unit_remover struct...
...that removes a unit from the unit map and puts it back on destruction.
2011-09-11 00:35:03 +00:00
Steven Panek
226a58ac80 Updated the Old English translation. 2011-09-11 00:04:35 +00:00
Sergey Popov
732f4eb43a Fixed a gcc warning about strict aliasing rules breakage...
...introduced by 2011-09-10T16:13:22Z!koraq@xs4all.nl
2011-09-10 22:17:32 +00:00
Thonsew
981b84b359 Fixed 2 references bound to temporaries. 2011-09-10 21:47:04 +00:00
Thonsew
453c85e2ac Fix network communication between wesnoth and wesnothd, bug #18632
This is not a final fix.

wesnothd expects attributes to be sent in alphabetical order (sorted
by client) to reduce server load.  The new config attribute table is
no longer ordered.  The interim solution is to sort the attributes
before sending them. So multiplater client bear a sorted cost no paid
by single player clients.

A much better solution is to fix the server to not require sorting at
either end reducing network and CPU load.
2011-09-10 20:22:45 +00:00
Anonymissimus
c7db4610d5 fixed indentation 2011-09-10 17:20:49 +00:00
Anonymissimus
6a4afe31ab removed unused macros return_vector_string_attrib and modify_vector_string_attrib 2011-09-10 17:20:32 +00:00
Anonymissimus
17b3aaa60b add exceptions.cpp to CB projectfile 2011-09-10 17:20:17 +00:00
Anonymissimus
c57c0d35cf add exceptions.cpp to VC10 projectfile 2011-09-10 17:20:01 +00:00
Anonymissimus
bec936cde5 add exceptions.cpp to VC9 projectfile 2011-09-10 17:19:43 +00:00
Thonsew
c25317caa7 Fixed copy constructor to copy everything, as per mordante's observation. 2011-09-10 16:24:59 +00:00
Fabian Müller
cc35a3cbb4 LoW::3,7: Tiny change to the map. 2011-09-10 16:19:32 +00:00
Mark de Wever
ed85e86e77 Fixed compilation on all Debian architectures.
The #undef was introduced in 2010-10-31T09:00:17Z!guillaume.melquiond@gmail.com, but the commit offers no reason
_why_ the macro was undefined. This patch has been tested by Rhonda on
all Debian architectures and there it caused no build problem, whereas
the 2010-10-31T09:00:17Z!guillaume.melquiond@gmail.com caused several architectures failing to build.

The reason the issue was spotted much later is that before Debian
compiled with the ANA network. It switched to the older network code
while changing the build system from autotools to cmake, so the latter
was thought to be the cause.

Fixes Debian bug #636193 and reverts 2010-10-31T09:00:17Z!guillaume.melquiond@gmail.com.
2011-09-10 16:13:22 +00:00
Mark de Wever
58f36829ef Reenable a unit test.
Since ANA won't be used as main network library any time soon re-enable
the test.
2011-09-10 16:13:19 +00:00
Mark de Wever
b43d8c625d Avoid wrongly using the debug-dot-level parameter.
It was assigned to debug_dot_domain instead. This led to an error in the
unit_tests.
2011-09-10 16:13:15 +00:00
Mark de Wever
a39f31d406 Avoid copying a singular iterator. 2011-09-10 16:13:10 +00:00
Nils Kneuper
59fbe7a287 updated Indonesian and Italian translation 2011-09-10 15:23:10 +00:00
Mark de Wever
24c055cd44 Strip trailing whitespace. 2011-09-10 11:52:18 +00:00
Mark de Wever
31a683cd0f Initialize all members. 2011-09-10 11:52:13 +00:00
Mark de Wever
f45abc8e7a Initialize all members. 2011-09-10 11:52:09 +00:00
Mark de Wever
7d1aaf585e Initialize all members.
thonsew please review whether the intention was default or copy for
these members.
2011-09-10 11:52:06 +00:00
Mark de Wever
1ded75dd53 Initialize all members. 2011-09-10 11:52:02 +00:00
Mark de Wever
162a608f36 Initialize all members. 2011-09-10 11:51:58 +00:00
Mark de Wever
2b4f1e0e58 Initialize all members. 2011-09-10 11:51:53 +00:00
Mark de Wever
6d99114f37 Added constructor to initialize all members. 2011-09-10 11:51:47 +00:00