46864 Commits

Author SHA1 Message Date
Mark de Wever
29614541f9 Fix a broken unit test.
2011-08-30T04:38:22Z!thonsew@yahoo.com fixed a static initialization problem, but the code
assumed the same object was used. This commit fixes it, also tested by
thonsew ( committer of 2011-08-30T04:38:22Z!thonsew@yahoo.com).
2011-08-31 17:43:26 +00:00
Mark de Wever
7c92001031 Fix a problem using a singular iterator.
tschmitz please look at the code I fear there are more simular issues
lurking.
2011-08-30 19:41:33 +00:00
Mark de Wever
b8ee30a86b Fix a problem using a singular iterator. 2011-08-30 19:41:25 +00:00
Mark de Wever
010a38ebbf Remove a deprecated function. 2011-08-30 19:41:22 +00:00
Mark de Wever
e5beaf5753 Remove a deprecated function. 2011-08-30 19:41:15 +00:00
Sytyi Nick
1be77287ba Updated error printing part 2011-08-30 18:35:10 +00:00
Thonsew
b5a28162d4 Fix for bug #16173
(move_unit_fake and move_units_fake were not exception safe)

  1. Made game_display::fake_unit the only interface to the
  game_display fake units. fake_unit is a RAII resource that is self
  cleaning.

  2. Removed place_temporary_unit and remove_temporary_unit as public
  interfaces to game_display

  3. Updated all uses of the old interface to the new interface.

  4. changelog
2011-08-30 16:48:40 +00:00
Thonsew
bd7e3ca768 Refactor event handler code. 2011-08-30 07:48:55 +00:00
Thonsew
c10d72d57a Added a work around for unit id collisions in the unit_map...
...due to changes outside the unit map.

Added a request for a bug report concering these collisions.

Fixed a memory leak.
2011-08-30 04:38:36 +00:00
Thonsew
feb0df890f Added a unit_map unit test. 2011-08-30 04:38:30 +00:00
Thonsew
ccd299b577 Fixed 2 static initialization problems...
...causing core dumps with unit_tests under GCC 4.6
2011-08-30 04:38:22 +00:00
Mark de Wever
a3ceeb83b0 Strip trailing whitespace. 2011-08-29 19:40:42 +00:00
Mark de Wever
e28e12622a Remove an unused function.
Issue found by cppcheck.
2011-08-29 19:40:38 +00:00
Mark de Wever
bf2965e950 Limit variable scope.
Issue found by cppcheck.
2011-08-29 19:40:35 +00:00
Mark de Wever
550a3bb0c8 Catch exception by reference.
Issue found by cppcheck.
2011-08-29 19:40:32 +00:00
Mark de Wever
230c1a4271 Make a member function a const member function.
Issue found by cppcheck.
2011-08-29 19:40:29 +00:00
Mark de Wever
dc7c1bbb30 Change const variables by const values.
Issue found by cppcheck.
2011-08-29 19:40:23 +00:00
Nils Kneuper
2831b084b8 updated Irish translation 2011-08-29 09:07:11 +00:00
Tommy Schmitz
e186e833ea Fixed bug when receiving invalid whiteboard data. 2011-08-28 02:45:11 +00:00
Steven Panek
a99d71bb36 Replaced a couple of hyphen-minuses with real minus signs. 2011-08-27 23:11:10 +00:00
Nils Kneuper
4f3ec7a637 updated French translation 2011-08-27 21:31:09 +00:00
Anonymissimus
4c3d988c4c converted old result=continue_no_save syntax
fix for a bug report in the forum:

http://forums.wesnoth.org/viewtopic.php?f=4&t=34854&p=504420#p504420
2011-08-27 18:24:34 +00:00
Nils Kneuper
c6df65099b applied utils/wesnoth-optipng
Overall statistics (only for files with a smaller recompressed size):
  Original size: 32 KiB on 13 files
 Optimized size: 18 KiB
   Total saving: 13 KiB = 42% decrease
2011-08-27 09:40:18 +00:00
Nils Kneuper
b95942aa3e pot-update
regenerated doc files

(many manpages are not complete enough for generation anymore!)
2011-08-27 08:20:43 +00:00
Steven Panek
ad83d9a7f5 Updated changelog to mention the new wolf units. 2011-08-27 04:16:09 +00:00
Tommy Schmitz
1f64147b03 Fixed crash from ghosted-unit-bugfix. 2011-08-26 23:44:34 +00:00
Tommy Schmitz
3168cf6f19 Fixed: hide_whiteboard preference does nothing. 2011-08-26 23:44:19 +00:00
Tommy Schmitz
bd853afe17 Added hide_whiteboard to general preferences. 2011-08-26 23:44:03 +00:00
Steven Panek
4a6a81f7d3 Updated the changelogs. 2011-08-26 22:02:17 +00:00
Steven Panek
1dbdfdef75 'an harmer' -> 'a harmer'. 2011-08-26 21:56:05 +00:00
Elvish_Hunter
481e74bc8e Fixed 24 hour ToD to follow the latest esr's and Espreon's suggestions 2011-08-26 19:50:23 +00:00
Elvish_Hunter
05d438229b Fixed genre metatag in Battle Epic 2011-08-26 19:38:06 +00:00
Mark de Wever
111d8c78b7 Add underscore to private members.
Done per coding style.
2011-08-26 19:17:59 +00:00
Mark de Wever
5393ca7114 Added constructor to initialize all members. 2011-08-26 19:17:56 +00:00
Tommy Schmitz
f536aa24de Fixed recall bug that came from recruit bugfix. 2011-08-26 18:32:24 +00:00
Tommy Schmitz
08b505b8a8 Fixed another bug with invalid/multi-turn actions. 2011-08-26 18:32:09 +00:00
Tommy Schmitz
9e1acee7c9 Made it possible to plan invalid actions instead of silently rejecting them. 2011-08-26 18:31:54 +00:00
Tommy Schmitz
955ab0dc1b Fixed problem with ghosted fake units on allies' move actions. 2011-08-26 18:31:38 +00:00
Steven Panek
f67570e424 Removed unneeded rule. 2011-08-26 17:35:18 +00:00
Steven Panek
b653c35085 Fixed apostrophes. 2011-08-26 17:28:32 +00:00
Elvish_Hunter
903bf33f62 Fixed 24 hour schedule textdomain not being in wesnoth-help 2011-08-26 17:11:50 +00:00
Steven Panek
edbb429bd2 make po-update-la 2011-08-26 17:01:00 +00:00
Steven Panek
7a76c1c283 Updated the Latin translation. 2011-08-26 16:58:29 +00:00
Thonsew
2b4e867169 Updated changelog and added thonsew to about.cfg 2011-08-26 15:40:30 +00:00
Elvish_Hunter
efebe40f22 Added new music track 'Battle Epic' by Doug Kaufman.
This track was floating around from 2007, but never got committed until now
2011-08-26 10:19:54 +00:00
Richard Kettering
3c08e08971 Aligned ruffian frames with base frame,
and standardized its base-frame's shadow.
2011-08-26 07:18:52 +00:00
Steven Panek
1199069ab1 Ran umcpropfix; added a copyright stuff to header file. 2011-08-25 22:55:46 +00:00
Elvish_Hunter
7ec902a770 THoT: fixed a bug that caused Angarthing...
...to always repeat the same phrase for each teleported unit in The
Underlevels
2011-08-25 07:20:05 +00:00
Elias Pschernig
dee0085032 [units.wesnoth.org] some css fixes 2011-08-24 20:59:47 +00:00
Lari Nieminen
6bd7e3c3c6 Fixed missing closing tag. 2011-08-24 18:06:26 +00:00