Author: ilor
Date: Wed Jul 30 13:10:30 2008
New Revision: 28264

URL: http://svn.gna.org/viewcvs/wesnoth?rev=28264&view=rev
Log:
Editor2: fix a double-delete bug (well, a *many*-delete bug) and clear some 
things up by factoring out map_context, a wrapper class around editor_map that 
persists when the actual map object is assigned to. Map flipping is broken just 
like it was in the old editor, but thing s should be stable now.

Added:
    trunk/src/editor2/map_context.cpp
      - copied, changed from r28262, trunk/src/editor2/editor_map.cpp
    trunk/src/editor2/map_context.hpp
      - copied, changed from r28262, trunk/src/editor2/editor_map.hpp
Modified:
    trunk/src/CMakeLists.txt
    trunk/src/Makefile.am
    trunk/src/SConscript
    trunk/src/editor2/action.cpp
    trunk/src/editor2/action.hpp
    trunk/src/editor2/action_base.hpp
    trunk/src/editor2/editor_common.hpp
    trunk/src/editor2/editor_controller.cpp
    trunk/src/editor2/editor_controller.hpp
    trunk/src/editor2/editor_map.cpp
    trunk/src/editor2/editor_map.hpp

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

Modified: trunk/src/CMakeLists.txt
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/CMakeLists.txt?rev=28264&r1=28263&r2=28264&view=diff

Modified: trunk/src/Makefile.am
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/Makefile.am?rev=28264&r1=28263&r2=28264&view=diff

Modified: trunk/src/SConscript
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/SConscript?rev=28264&r1=28263&r2=28264&view=diff

Modified: trunk/src/editor2/action.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/editor2/action.cpp?rev=28264&r1=28263&r2=28264&view=diff

Modified: trunk/src/editor2/action.hpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/editor2/action.hpp?rev=28264&r1=28263&r2=28264&view=diff

Modified: trunk/src/editor2/action_base.hpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/editor2/action_base.hpp?rev=28264&r1=28263&r2=28264&view=diff

Modified: trunk/src/editor2/editor_common.hpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/editor2/editor_common.hpp?rev=28264&r1=28263&r2=28264&view=diff

Modified: trunk/src/editor2/editor_controller.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/editor2/editor_controller.cpp?rev=28264&r1=28263&r2=28264&view=diff

Modified: trunk/src/editor2/editor_controller.hpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/editor2/editor_controller.hpp?rev=28264&r1=28263&r2=28264&view=diff

Modified: trunk/src/editor2/editor_map.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/editor2/editor_map.cpp?rev=28264&r1=28263&r2=28264&view=diff

Modified: trunk/src/editor2/editor_map.hpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/editor2/editor_map.hpp?rev=28264&r1=28263&r2=28264&view=diff

Copied: trunk/src/editor2/map_context.cpp (from r28262, 
trunk/src/editor2/editor_map.cpp)
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/editor2/map_context.cpp?p2=trunk/src/editor2/map_context.cpp&p1=trunk/src/editor2/editor_map.cpp&r1=28262&r2=28264&rev=28264&view=diff

Copied: trunk/src/editor2/map_context.hpp (from r28262, 
trunk/src/editor2/editor_map.hpp)
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/editor2/map_context.hpp?p2=trunk/src/editor2/map_context.hpp&p1=trunk/src/editor2/editor_map.hpp&r1=28262&r2=28264&rev=28264&view=diff


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

Reply via email to