display::ordered_draw Struct Reference

Strict weak ordering to sort a STL-set of hexes for drawing using the z-order. More...

#include <display.hpp>

List of all members.

Public Member Functions

bool operator() (gamemap::location a, gamemap::location b)


Detailed Description

Strict weak ordering to sort a STL-set of hexes for drawing using the z-order.

(1000 are just to weight the y compare to x)

Definition at line 552 of file display.hpp.


Member Function Documentation

bool display::ordered_draw::operator() ( gamemap::location  a,
gamemap::location  b 
) [inline]

Definition at line 553 of file display.hpp.

References gamemap::location::x, and gamemap::location::y.


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

Generated by doxygen 1.5.5 on 23 May 2008 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs