50534 Commits

Author SHA1 Message Date
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
J. Tyne
8f3fb57e19 Macro to aid mid-move events that do not interrupt movement,
...but do block undoing.
2012-08-11 17:25:44 +00:00
Derek Hoagland
af3c8f732b Fix bug #20011 - Brawler's stun does not get applied...
...when it hits in retaliation to an attack.
2012-08-11 14:51:51 +00:00
Alexander van Gessel
9cbcb685e1 Fix markup in russian translation (bug #20016) 2012-08-11 01:04:12 +01:00
Alexander van Gessel
7b89972f5f Remove not implemented erase function 2012-08-11 00:42:13 +01:00
Alexander van Gessel
f1352ada0b Remove download and erase options from wescamp.py.
They are either broken or not implemented, and the download
functionality will be provided elsewhere
2012-08-11 00:42:10 +01:00
Alexander van Gessel
bfa5fe939e Remove -g argument from wescamp.py call 2012-08-10 19:14:18 +01:00
Alexander van Gessel
4b9294b23c Warn about an obsolete argument 2012-08-10 17:41:18 +01:00
Alexander van Gessel
6bc036c4e8 Add --build-system option to wescamp.py...
...so the script doesn't have to rely on guesswork to find existing
checkouts
2012-08-10 17:41:16 +01:00
Alexander van Gessel
79d1be5abf Uglyish and not entirely tested form of init-build-sys.sh integration 2012-08-10 17:41:15 +01:00
Alexander van Gessel
a91ee3b6b4 Replace path concatenation with os.path.join 2012-08-10 17:41:12 +01:00
Alexander van Gessel
13e278b4ed Add get_build_system function to libgithub,
...which somewhat abuses the rest of the module so you don't have to
2012-08-10 17:41:10 +01:00