[wesnoth-commits] [wesnoth/wesnoth] 5ece7a: Split the rect_of_hexes struct into its own file

GitHub noreply at github.com
Sat Mar 24 02:23:09 UTC 2018


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 5ece7ac5b71032ec2c6f9bccb57be9a0a863c5ba
      https://github.com/wesnoth/wesnoth/commit/5ece7ac5b71032ec2c6f9bccb57be9a0a863c5ba
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2018-03-24 (Sat, 24 Mar 2018)

  Changed paths:
    M projectfiles/VC14/wesnoth.vcxproj
    M projectfiles/VC14/wesnoth.vcxproj.filters
    M src/display.cpp
    M src/display.hpp
    A src/map/hex_rect.hpp
    M src/units/frame.cpp

  Log Message:
  -----------
  Split the rect_of_hexes struct into its own file

And cleaned up it a bit. Made use of std::array and gave it a default ctor using
the values from display::hexes_under_rect.




More information about the Commits mailing list