Add visual feedback for map origin in editor
Bug #1502562 reported by
GunChleoc
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
widelands |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
When setting the map origin in the editor with the map origin tool,, it is hard to tell where/if it has been set.
Related branches
lp://staging/~widelands-dev/widelands/zoom
- GunChleoc: Approve
-
Diff: 10816 lines (+2707/-2303)183 files modifiedsrc/base/CMakeLists.txt (+10/-3)
src/base/math.cc (+20/-0)
src/base/math.h (+43/-0)
src/base/point.h (+0/-79)
src/base/rect.h (+25/-15)
src/base/vector.cc (+10/-4)
src/base/vector.h (+81/-16)
src/economy/flag.h (+6/-1)
src/economy/portdock.cc (+1/-1)
src/economy/portdock.h (+5/-1)
src/economy/road.h (+5/-1)
src/editor/editorinteractive.cc (+4/-2)
src/editor/tools/set_origin_tool.cc (+2/-5)
src/editor/tools/set_starting_pos_tool.cc (+1/-1)
src/editor/ui_menus/main_menu_load_or_save_map.cc (+1/-1)
src/editor/ui_menus/main_menu_map_options.cc (+1/-1)
src/editor/ui_menus/main_menu_random_map.cc (+1/-1)
src/editor/ui_menus/main_menu_save_map.h (+1/-1)
src/editor/ui_menus/player_menu.cc (+3/-3)
src/editor/ui_menus/tool_change_resources_options_menu.cc (+1/-1)
src/editor/ui_menus/tool_menu.cc (+2/-2)
src/editor/ui_menus/tool_place_bob_options_menu.cc (+2/-2)
src/editor/ui_menus/tool_place_immovable_options_menu.cc (+1/-1)
src/editor/ui_menus/tool_set_terrain_options_menu.cc (+6/-6)
src/game_io/CMakeLists.txt (+2/-0)
src/game_io/game_interactive_player_packet.cc (+42/-12)
src/game_io/game_preload_packet.cc (+8/-3)
src/graphic/CMakeLists.txt (+1/-1)
src/graphic/align.cc (+6/-1)
src/graphic/align.h (+2/-2)
src/graphic/animation.cc (+20/-16)
src/graphic/animation.h (+7/-4)
src/graphic/font_handler.cc (+10/-9)
src/graphic/font_handler.h (+3/-3)
src/graphic/font_handler1.h (+1/-1)
src/graphic/game_renderer.cc (+303/-269)
src/graphic/game_renderer.h (+23/-34)
src/graphic/gl/blit_data.h (+1/-1)
src/graphic/gl/blit_program.cc (+5/-5)
src/graphic/gl/blit_program.h (+3/-3)
src/graphic/gl/coordinate_conversion.h (+6/-6)
src/graphic/gl/dither_program.cc (+35/-36)
src/graphic/gl/dither_program.h (+2/-2)
src/graphic/gl/draw_line_program.h (+1/-1)
src/graphic/gl/fields_to_draw.h (+48/-12)
src/graphic/gl/fill_rect_program.cc (+1/-1)
src/graphic/gl/fill_rect_program.h (+2/-2)
src/graphic/gl/road_program.cc (+29/-29)
src/graphic/gl/road_program.h (+2/-0)
src/graphic/gl/terrain_program.cc (+21/-21)
src/graphic/gl/terrain_program.h (+2/-2)
src/graphic/minimap_renderer.cc (+132/-131)
src/graphic/minimap_renderer.h (+29/-21)
src/graphic/render_queue.cc (+6/-5)
src/graphic/render_queue.h (+4/-3)
src/graphic/rendertarget.cc (+80/-87)
src/graphic/rendertarget.h (+37/-34)
src/graphic/richtext.cc (+15/-15)
src/graphic/richtext.h (+2/-2)
src/graphic/screen.cc (+4/-4)
src/graphic/screen.h (+4/-4)
src/graphic/surface.cc (+43/-43)
src/graphic/surface.h (+12/-12)
src/graphic/text/rt_render.cc (+20/-21)
src/graphic/texture.cc (+8/-10)
src/graphic/texture.h (+5/-5)
src/graphic/texture_atlas.cc (+13/-13)
src/graphic/texture_atlas.h (+2/-2)
src/graphic/wordwrap.cc (+4/-4)
src/graphic/wordwrap.h (+2/-2)
src/io/streamread.cc (+10/-0)
src/io/streamread.h (+1/-0)
src/io/streamwrite.cc (+1/-0)
src/io/streamwrite.h (+6/-0)
src/logic/CMakeLists.txt (+8/-6)
src/logic/game.cc (+1/-1)
src/logic/game_controller.h (+0/-3)
src/logic/map_objects/bob.cc (+47/-39)
src/logic/map_objects/bob.h (+13/-7)
src/logic/map_objects/draw_text.h (+34/-0)
src/logic/map_objects/immovable.cc (+24/-21)
src/logic/map_objects/immovable.h (+24/-11)
src/logic/map_objects/map_object.cc (+33/-20)
src/logic/map_objects/map_object.h (+10/-4)
src/logic/map_objects/tribes/building.cc (+20/-35)
src/logic/map_objects/tribes/building.h (+7/-3)
src/logic/map_objects/tribes/constructionsite.cc (+19/-22)
src/logic/map_objects/tribes/constructionsite.h (+5/-1)
src/logic/map_objects/tribes/dismantlesite.cc (+9/-12)
src/logic/map_objects/tribes/dismantlesite.h (+5/-1)
src/logic/map_objects/tribes/road_textures.cc (+4/-4)
src/logic/map_objects/tribes/road_textures.h (+5/-4)
src/logic/map_objects/tribes/ship.cc (+9/-7)
src/logic/map_objects/tribes/ship.h (+5/-1)
src/logic/map_objects/tribes/soldier.cc (+91/-71)
src/logic/map_objects/tribes/soldier.h (+16/-3)
src/logic/map_objects/tribes/worker.cc (+20/-8)
src/logic/map_objects/tribes/worker.h (+9/-2)
src/logic/map_objects/tribes/worker_descr.cc (+3/-3)
src/logic/map_objects/tribes/worker_descr.h (+2/-2)
src/logic/widelands_geometry.h (+1/-0)
src/map_io/map_saver.cc (+4/-3)
src/profile/profile.cc (+4/-4)
src/profile/profile.h (+3/-3)
src/scripting/lua_game.cc (+1/-1)
src/scripting/lua_map.cc (+6/-6)
src/scripting/lua_ui.cc (+14/-14)
src/sound/CMakeLists.txt (+1/-0)
src/sound/sound_handler.cc (+5/-6)
src/ui_basic/box.cc (+3/-3)
src/ui_basic/button.cc (+39/-41)
src/ui_basic/checkbox.cc (+9/-9)
src/ui_basic/checkbox.h (+4/-4)
src/ui_basic/editbox.cc (+16/-16)
src/ui_basic/icon.cc (+9/-10)
src/ui_basic/listselect.cc (+8/-8)
src/ui_basic/multilineeditbox.cc (+9/-9)
src/ui_basic/multilinetextarea.cc (+7/-7)
src/ui_basic/panel.cc (+22/-22)
src/ui_basic/panel.h (+8/-8)
src/ui_basic/progressbar.cc (+11/-12)
src/ui_basic/progresswindow.cc (+9/-9)
src/ui_basic/progresswindow.h (+6/-3)
src/ui_basic/radiobutton.cc (+2/-2)
src/ui_basic/radiobutton.h (+3/-3)
src/ui_basic/scrollbar.cc (+40/-40)
src/ui_basic/scrollbar.h (+2/-2)
src/ui_basic/slider.cc (+28/-29)
src/ui_basic/table.cc (+15/-15)
src/ui_basic/tabpanel.cc (+27/-28)
src/ui_basic/textarea.cc (+9/-9)
src/ui_basic/unique_window.cc (+1/-1)
src/ui_basic/window.cc (+34/-31)
src/ui_basic/window.h (+2/-2)
src/ui_fsmenu/about.cc (+1/-1)
src/ui_fsmenu/base.cc (+1/-1)
src/ui_fsmenu/helpwindow.cc (+1/-1)
src/ui_fsmenu/launch_mpg.cc (+1/-1)
src/ui_fsmenu/loadgame.cc (+1/-1)
src/ui_fsmenu/mapselect.cc (+2/-2)
src/ui_fsmenu/options.cc (+14/-14)
src/website/map_info.cc (+2/-2)
src/wlapplication.cc (+4/-4)
src/wlapplication.h (+6/-6)
src/wui/CMakeLists.txt (+32/-6)
src/wui/building_statistics_menu.cc (+2/-2)
src/wui/building_ui.cc (+2/-2)
src/wui/buildingwindow.cc (+5/-4)
src/wui/chatoverlay.cc (+3/-5)
src/wui/field_overlay_manager.cc (+5/-5)
src/wui/field_overlay_manager.h (+7/-7)
src/wui/fieldaction.cc (+1/-1)
src/wui/game_message_menu.cc (+1/-1)
src/wui/game_options_sound_menu.cc (+4/-3)
src/wui/game_tips.cc (+4/-5)
src/wui/general_statistics_menu.cc (+13/-12)
src/wui/interactive_base.cc (+22/-93)
src/wui/interactive_base.h (+6/-8)
src/wui/interactive_gamebase.cc (+1/-1)
src/wui/interactive_player.cc (+1/-1)
src/wui/itemwaresdisplay.cc (+4/-3)
src/wui/login_box.cc (+3/-3)
src/wui/mapdetails.cc (+1/-1)
src/wui/mapview.cc (+159/-53)
src/wui/mapview.h (+29/-25)
src/wui/mapviewpixelconstants.h (+5/-1)
src/wui/mapviewpixelfunctions.cc (+30/-31)
src/wui/mapviewpixelfunctions.h (+26/-16)
src/wui/minimap.cc (+27/-45)
src/wui/minimap.h (+17/-16)
src/wui/playerdescrgroup.cc (+1/-1)
src/wui/plot_area.cc (+28/-25)
src/wui/quicknavigation.cc (+23/-24)
src/wui/quicknavigation.h (+19/-25)
src/wui/shipwindow.cc (+2/-2)
src/wui/soldierlist.cc (+22/-18)
src/wui/story_message_box.cc (+2/-2)
src/wui/transport_draw.cc (+19/-12)
src/wui/warehousewindow.cc (+1/-1)
src/wui/waresdisplay.cc (+10/-11)
src/wui/waresdisplay.h (+1/-1)
src/wui/waresqueuedisplay.cc (+6/-6)
src/wui/watchwindow.cc (+87/-99)
Changed in widelands: | |
importance: | Undecided → Wishlist |
description: | updated |
To post a comment you must log in.
The zoom function introduced a static minimap, so I'm considering this fixed.