Author: thonsew
Date: Tue Aug 30 18:48:40 2011
New Revision: 50953

URL: http://svn.gna.org/viewcvs/wesnoth?rev=50953&view=rev
Log:
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

Modified:
    trunk/changelog
    trunk/src/font.hpp
    trunk/src/game_display.cpp
    trunk/src/game_display.hpp
    trunk/src/game_events.cpp
    trunk/src/unit_display.cpp
    trunk/src/whiteboard/manager.cpp
    trunk/src/whiteboard/move.cpp
    trunk/src/whiteboard/recall.cpp
    trunk/src/whiteboard/recruit.cpp
    trunk/src/whiteboard/recruit.hpp
    trunk/src/whiteboard/typedefs.hpp
    trunk/src/whiteboard/utility.cpp
    trunk/src/whiteboard/utility.hpp

[This mail would be too long, it was shortened to contain the URLs only.]

Modified: trunk/changelog
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/changelog?rev=50953&r1=50952&r2=50953&view=diff

Modified: trunk/src/font.hpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/font.hpp?rev=50953&r1=50952&r2=50953&view=diff

Modified: trunk/src/game_display.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/game_display.cpp?rev=50953&r1=50952&r2=50953&view=diff

Modified: trunk/src/game_display.hpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/game_display.hpp?rev=50953&r1=50952&r2=50953&view=diff

Modified: trunk/src/game_events.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/game_events.cpp?rev=50953&r1=50952&r2=50953&view=diff

Modified: trunk/src/unit_display.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/unit_display.cpp?rev=50953&r1=50952&r2=50953&view=diff

Modified: trunk/src/whiteboard/manager.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/whiteboard/manager.cpp?rev=50953&r1=50952&r2=50953&view=diff

Modified: trunk/src/whiteboard/move.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/whiteboard/move.cpp?rev=50953&r1=50952&r2=50953&view=diff

Modified: trunk/src/whiteboard/recall.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/whiteboard/recall.cpp?rev=50953&r1=50952&r2=50953&view=diff

Modified: trunk/src/whiteboard/recruit.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/whiteboard/recruit.cpp?rev=50953&r1=50952&r2=50953&view=diff

Modified: trunk/src/whiteboard/recruit.hpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/whiteboard/recruit.hpp?rev=50953&r1=50952&r2=50953&view=diff

Modified: trunk/src/whiteboard/typedefs.hpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/whiteboard/typedefs.hpp?rev=50953&r1=50952&r2=50953&view=diff

Modified: trunk/src/whiteboard/utility.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/whiteboard/utility.cpp?rev=50953&r1=50952&r2=50953&view=diff

Modified: trunk/src/whiteboard/utility.hpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/whiteboard/utility.hpp?rev=50953&r1=50952&r2=50953&view=diff


_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits

Reply via email to