The Battle for Wesnoth  1.15.1+dev
Classes | Public Types | Public Member Functions | Public Attributes | List of all members
display::rect_of_hexes Struct Reference

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]
 

Detailed Description

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 301 of file display.hpp.

Member Typedef Documentation

◆ const_iterator

Definition at line 328 of file display.hpp.

Member Function Documentation

◆ begin()

display::rect_of_hexes::iterator display::rect_of_hexes::begin ( ) const

Definition at line 673 of file display.cpp.

References left.

Referenced by unit_frame::get_overlaped_hex(), and halo::halo_impl::effect::render().

◆ end()

display::rect_of_hexes::iterator display::rect_of_hexes::end ( ) const

Definition at line 677 of file display.cpp.

References right.

Referenced by unit_frame::get_overlaped_hex(), and halo::halo_impl::effect::render().

Member Data Documentation

◆ bottom

int display::rect_of_hexes::bottom[2]

Definition at line 305 of file display.hpp.

Referenced by display::hexes_under_rect().

◆ left

int display::rect_of_hexes::left

Definition at line 302 of file display.hpp.

Referenced by display::hexes_under_rect().

◆ right

int display::rect_of_hexes::right

Definition at line 303 of file display.hpp.

Referenced by display::hexes_under_rect().

◆ top

int display::rect_of_hexes::top[2]

Definition at line 304 of file display.hpp.

Referenced by display::hexes_under_rect().


The documentation for this struct was generated from the following files: