Rectangular area of hexes, allowing to decide how the top and bottom edges handles the vertical shift for each parity of the x coordinate. More...
#include <display.hpp>
Classes | |
struct | iterator |
very simple iterator to walk into the rect_of_hexes More... | |
Public Types | |
typedef iterator | const_iterator |
Public Member Functions | |
iterator | begin () const |
iterator | end () const |
Public Attributes | |
int | left |
int | right |
int | top [2] |
int | bottom [2] |
Rectangular area of hexes, allowing to decide how the top and bottom edges handles the vertical shift for each parity of the x coordinate.
Definition at line 309 of file display.hpp.
Definition at line 336 of file display.hpp.
display::rect_of_hexes::iterator display::rect_of_hexes::begin | ( | ) | const |
Definition at line 657 of file display.cpp.
References top.
Referenced by unit_frame::get_overlaped_hex(), display::process_reachmap_changes(), and halo::halo_impl::effect::render().
display::rect_of_hexes::iterator display::rect_of_hexes::end | ( | ) | const |
Definition at line 661 of file display.cpp.
Referenced by unit_frame::get_overlaped_hex(), display::process_reachmap_changes(), and halo::halo_impl::effect::render().
int display::rect_of_hexes::bottom[2] |
Definition at line 313 of file display.hpp.
Referenced by display::hexes_under_rect(), and display::rect_of_hexes::iterator::operator++().
int display::rect_of_hexes::left |
Definition at line 310 of file display.hpp.
Referenced by display::hexes_under_rect().
int display::rect_of_hexes::right |
Definition at line 311 of file display.hpp.
Referenced by end(), and display::hexes_under_rect().
int display::rect_of_hexes::top[2] |
Definition at line 312 of file display.hpp.
Referenced by begin(), end(), display::hexes_under_rect(), and display::rect_of_hexes::iterator::operator++().