[wesnoth-commits] [wesnoth/wesnoth] 24d787: Minimap: added support for drawing unit markers

GitHub noreply at github.com
Fri Apr 6 04:53:54 UTC 2018


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 24d787c59366683b3e597d1496c5e88518d799c4
      https://github.com/wesnoth/wesnoth/commit/24d787c59366683b3e597d1496c5e88518d799c4
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2018-04-06 (Fri, 06 Apr 2018)

  Changed paths:
    M src/gui/widgets/minimap.cpp
    M src/minimap.cpp
    M src/minimap.hpp

  Log Message:
  -----------
  Minimap: added support for drawing unit markers

This moves the logic from the display class here. Will be utilized by the upcoming
interactive minimap widget I'm working on.


  Commit: f5ec886cb5dd083302b0f33daaaec19574963c68
      https://github.com/wesnoth/wesnoth/commit/f5ec886cb5dd083302b0f33daaaec19574963c68
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2018-04-06 (Fri, 06 Apr 2018)

  Changed paths:
    M src/display.cpp
    M src/display.hpp

  Log Message:
  -----------
  Display: removed minimap drawing code

I kept some helper code (mainly the redraw_minimap function so I know where it needs
to be called) around for references.


  Commit: 3e7159e78eb714a9ec26482bea5b94c21bcfbc8e
      https://github.com/wesnoth/wesnoth/commit/3e7159e78eb714a9ec26482bea5b94c21bcfbc8e
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2018-04-06 (Fri, 06 Apr 2018)

  Changed paths:
    M src/game_initialization/create_engine.cpp
    M src/minimap.cpp
    M src/minimap.hpp

  Log Message:
  -----------
  Minimap: removed old surface-based drawing implementation

Also cleaned up a minimap.hpp include.


Compare: https://github.com/wesnoth/wesnoth/compare/e7a8af0c4057...3e7159e78eb7


More information about the Commits mailing list