Merge lp://staging/~widelands-dev/widelands/editor-resize-map into lp://staging/widelands
Proposed by
Benedikt Straub
Status: | Merged |
---|---|
Merged at revision: | 9072 |
Proposed branch: | lp://staging/~widelands-dev/widelands/editor-resize-map |
Merge into: | lp://staging/widelands |
Diff against target: |
1162 lines (+649/-119) 16 files modified
src/editor/CMakeLists.txt (+4/-0) src/editor/editorinteractive.cc (+2/-2) src/editor/editorinteractive.h (+6/-2) src/editor/tools/action_args.h (+12/-0) src/editor/tools/history.cc (+1/-0) src/editor/tools/resize_tool.cc (+99/-0) src/editor/tools/resize_tool.h (+76/-0) src/editor/ui_menus/main_menu_new_map.cc (+23/-37) src/editor/ui_menus/main_menu_new_map.h (+3/-3) src/editor/ui_menus/main_menu_random_map.cc (+40/-47) src/editor/ui_menus/main_menu_random_map.h (+3/-5) src/editor/ui_menus/tool_menu.cc (+23/-10) src/editor/ui_menus/tool_resize_options_menu.cc (+108/-0) src/editor/ui_menus/tool_resize_options_menu.h (+48/-0) src/logic/map.cc (+169/-5) src/logic/map.h (+32/-8) |
To merge this branch: | bzr merge lp://staging/~widelands-dev/widelands/editor-resize-map |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
GunChleoc | Approve | ||
Review via email:
|
Commit message
Add an editor tool to change the map size
Description of the change
This is for b21.
Usage:
· Tool Menu → Resize
· Set the new map size
· Click on the map field where to split the map
New rows/columns will be inserted at the clicked spot. The field itself will then be located on the southeastern corner of the inserted rectangle of new fields. When making the map smaller, rows/columns south and east of the clicked field will be deleted.
To post a comment you must log in.
Continuous integration builds have changed state:
Travis build 4685. State: errored. Details: https:/ /travis- ci.org/ widelands/ widelands/ builds/ 516924316. /ci.appveyor. com/project/ widelands- dev/widelands/ build/_ widelands_ dev_widelands_ editor_ resize_ map-4471.
Appveyor build 4471. State: success. Details: https:/