50545 Commits

Author SHA1 Message Date
Steven Panek
6472e73e9a Updated the Spanish translation. 2012-08-18 03:50:14 +00:00
Étienne Simon
e4a1f5b607 Replacement of dynamic_pointer_cast<>s with a visitor...
...swapable_with_move in wb::side_actions.
2012-08-17 20:16:35 +00:00
Étienne Simon
bdb80cda9d VS project files update (by our good sir gabba). 2012-08-17 20:16:21 +00:00
Étienne Simon
3d442c6cea Simplification of the validation logic. 2012-08-17 20:05:11 +00:00
Étienne Simon
18e0ef7822 Transfer of the validation logic into the action hierarchy. 2012-08-17 20:04:51 +00:00
Steven Panek
72fd497294 Updated the Latin translation. 2012-08-17 03:30:00 +00:00
Steven Panek
1057540de7 Fixed list of updated languages. 2012-08-17 03:29:31 +00:00
Ignacio R. Morelle
d010f7d88d TRoW: "in the battlefield" -> "on the battlefield" 2012-08-17 02:42:59 +00:00
J. Tyne
692117e76f Orbs are hidden during movement now/again,
...so keep AI gotos during movement
in case WML wants to read them mid-move.
2012-08-16 20:52:55 +00:00
J. Tyne
b89a75e633 Make the code more readable with a meaningfully-named function. 2012-08-16 20:43:06 +00:00
J. Tyne
ed90f2f543 Update a comment. 2012-08-16 19:13:24 +00:00
J. Tyne
c013fb875d Eliminate the need to temporarily create a vector. 2012-08-16 18:57:40 +00:00
Steven Panek
fb1560620a Updated the British English translation. 2012-08-16 18:06:55 +00:00
J. Tyne
47ba0e6aed Missing a check before logging a message.
(No change in functionality, just when a message is logged.)

(Compare this to the preceding if-else-if.)
2012-08-16 02:00:22 +00:00
J. Tyne
d6348867da Reorder an if-{if}-else to if-else-if. 2012-08-16 01:55:20 +00:00
J. Tyne
441aa8cfc5 Consolidate the fake_unit assignment implementations. 2012-08-16 00:42:18 +00:00
J. Tyne
5021c47cbe Changelog entries for 2012-08-15T21:20:16Z!jt_coding@verizon.net 2012-08-15 21:27:52 +00:00
J. Tyne
45a27689e1 Disable commands while a WML menu item is executing.
Fixes bug #19783
2012-08-15 21:20:16 +00:00
J. Tyne
9df7550cf2 Reduce the number of calls to whiteboard->on_gamestate_change().
Gabba, could you check this? I think this is what was desired.
(Revert if I misread the intent.)
2012-08-15 20:09:32 +00:00
Nils Kneuper
2f2cb278b4 updated Slovak translation 2012-08-15 19:39:17 +00:00
J. Tyne
1028d7fab8 Add the ability to detect if any WML/Lua has been executed...
...(independent of [allow_undo]), and hook this ability into
move_unit().
2012-08-15 19:36:18 +00:00
Steven Panek
74472314d9 Updated the Old English translation. 2012-08-15 17:01:27 +00:00
Nils Kneuper
ea69aedec0 updated Hungarian translation 2012-08-15 16:52:41 +00:00
Anja Keicher
8f6a3a5490 Changed the structure of savegames to only contain the data necessary.
Old savegames are loaded via a conversion method.
2012-08-15 12:42:56 +00:00
Steven Panek
86de023177 Cutscene-only units that die right after it don't deserve names...
...not even silly names like 'Dummy Unit1'.
2012-08-15 08:32:45 +00:00
Steven Panek
df524aba80 Converted UtBS's maps back to the old format. 2012-08-15 00:35:33 +00:00
Dmitry Kovalenko
51e818b43b LuaAI: wesnoth.debug_ai() slightly refactored,
...now provides access to the ai.* table, the Lua engine table and the
component tree
2012-08-14 07:26:58 +00:00
Simon Forsyth
5dcd213708 Add defense and throw animation images for dark assassin, wire in defense only 2012-08-13 22:22:08 +00:00
Nils Kneuper
e606995260 updated Lithuanian translation 2012-08-13 20:26:05 +00:00
J. Tyne
deebf67f5a Add a version of display::scroll_to_tiles() that takes iterators.
This saves creating a new vector when only part of a route needs
to be scrolled onscreen.
2012-08-13 02:01:56 +00:00
J. Tyne
d14e07d9a7 End some field names with an underscore. 2012-08-13 01:32:28 +00:00
J. Tyne
6fa6ec9ce0 Push some animation code from actions.cpp back into unit_display.cpp...
...and merge it with the code there. This makes (an evolution of) the
animation class used for incremental moves (in ::move_unit())
publically available in the unit_display name space.
2012-08-13 01:20:01 +00:00
J. Tyne
0fd1a4169d Eliminate the need for a temporary object,
...and make a variable called side_num hold the side number rather
than the team index.
2012-08-12 23:05:37 +00:00
J. Tyne
cacbe287bc Fix game_display::fake_unit assignment.
One version left the fake unit in a bad state (not on a display, but recorded
as being on one), and the other failed to keep the fake unit on a display,
even though the comments indicated it did.

With this change, the display is preserved over assignment, which is consistent
with the copy constructor and the documentation for assigning a unit to a fake.
It is not easy to preserve the fake_unit's position in the deque, and currently
no benefit in trying to, so that part of the documentation has been changed.
2012-08-12 22:38:32 +00:00
J. Tyne
5b04a3e07c fake_unit: Inlining the constructors and cleaning up some Doxygen comments. 2012-08-12 22:01:53 +00:00
J. Tyne
1bb57c95da Fix: a fake_unit would lose its exception safety if operator= was used. 2012-08-12 21:20:03 +00:00
Nils Kneuper
3e4b670a28 updated German translation 2012-08-12 08:47:25 +00:00
Alexander van Gessel
c7dcd74745 Convert some old-style raises to the new style 2012-08-12 05:47:33 +01:00
Alexander van Gessel
908000990c Decapitalize pot-update commit message 2012-08-12 05:35:23 +01:00
Alexander van Gessel
2647063a0b Simplify an expression and remove a TODO 2012-08-12 05:06:37 +01:00
Alexander van Gessel
00b4f4053b Remove some unused variables 2012-08-12 04:55:23 +01:00
Alexander van Gessel
362919e9d8 Add error checking to the git-push call 2012-08-12 04:55:21 +01:00
Alexander van Gessel
d7944899e7 Do some error checking on pulls 2012-08-12 04:55:19 +01:00
Alexander van Gessel
0a56d15281 Simplify a test 2012-08-12 04:55:16 +01:00
Alexander van Gessel
cad59868db Log init-build-sys errors now that msgmerge has been redirected 2012-08-12 04:55:14 +01:00
Alexander van Gessel
b278867dcc Add automatic pot-update after an update from the add-on server 2012-08-12 04:55:11 +01:00
J. Tyne
a0341928ec Cleaning up some comments. 2012-08-12 00:16:50 +00:00
J. Tyne
d6e02ed4f3 Update the minimap mid-move so it looks better if an event fires. 2012-08-12 00:04:21 +00:00
J. Tyne
460f4517c7 Move a long Doxygen comment from header to source (leaving a short one),
and pulling the part about implementation out into its own comment (out
of the interface-documenting Doxygen comment).
2012-08-11 23:15:52 +00:00
J. Tyne
9050fd9b49 Eliminate a parameter that is always *resources::teams. 2012-08-11 23:11:06 +00:00