Author: silene
Date: Thu May 21 13:26:26 2009
New Revision: 35781

URL: http://svn.gna.org/viewcvs/wesnoth?rev=35781&view=rev
Log:
Simplified code, since visible units have their position known, so no need to 
use a full blown unit_map::iterator for them.

Modified:
    trunk/src/ai/ai.cpp
    trunk/src/ai/ai_attack.cpp
    trunk/src/game_display.cpp
    trunk/src/generate_report.cpp
    trunk/src/pathfind.cpp
    trunk/src/unit.cpp
    trunk/src/unit.hpp

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

Modified: trunk/src/ai/ai.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/ai/ai.cpp?rev=35781&r1=35780&r2=35781&view=diff

Modified: trunk/src/ai/ai_attack.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/ai/ai_attack.cpp?rev=35781&r1=35780&r2=35781&view=diff

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

Modified: trunk/src/generate_report.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/generate_report.cpp?rev=35781&r1=35780&r2=35781&view=diff

Modified: trunk/src/pathfind.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/pathfind.cpp?rev=35781&r1=35780&r2=35781&view=diff

Modified: trunk/src/unit.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/unit.cpp?rev=35781&r1=35780&r2=35781&view=diff

Modified: trunk/src/unit.hpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/unit.hpp?rev=35781&r1=35780&r2=35781&view=diff


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

Reply via email to