Type used to store color information of central and adjacent hexes. More...
#include <picture.hpp>
Public Member Functions | |
| light_adjust (int op, int r, int g, int b) | |
| bool | operator== (const light_adjust &o) const | 
| bool | operator!= (const light_adjust &o) const | 
Public Attributes | |
| int8_t | l | 
| int8_t | r | 
| int8_t | g | 
| int8_t | b | 
Type used to store color information of central and adjacent hexes.
The structure is one or several 4-char blocks: [L,R,G,B] The R, G, B values represent the color, and L the lightmap to use:
-1: none 0: full hex 1-6: concave corners 7-12: convex half-corners 1 13-19: convex half-corners 2
Definition at line 123 of file picture.hpp.
| image::light_adjust::light_adjust | ( | int | op, | 
| int | r, | ||
| int | g, | ||
| int | b | ||
| ) | 
Definition at line 489 of file picture.cpp.
      
  | 
  inline | 
Definition at line 137 of file picture.hpp.
References operator==().
| bool image::light_adjust::operator== | ( | const light_adjust & | o | ) | const | 
| int8_t image::light_adjust::b | 
Definition at line 130 of file picture.hpp.
Referenced by image::hash_value(), light_adjust(), and operator==().
| int8_t image::light_adjust::g | 
Definition at line 129 of file picture.hpp.
Referenced by image::hash_value(), light_adjust(), and operator==().
| int8_t image::light_adjust::l | 
Definition at line 127 of file picture.hpp.
Referenced by image::hash_value(), and operator==().
| int8_t image::light_adjust::r | 
Definition at line 128 of file picture.hpp.
Referenced by image::hash_value(), light_adjust(), and operator==().