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) | |
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 124 of file picture.hpp.
image::light_adjust::light_adjust | ( | int | op, |
int | r, | ||
int | g, | ||
int | b | ||
) |
Definition at line 479 of file picture.cpp.
int8_t image::light_adjust::b |
Definition at line 131 of file picture.hpp.
Referenced by light_adjust().
int8_t image::light_adjust::g |
Definition at line 130 of file picture.hpp.
Referenced by light_adjust().
int8_t image::light_adjust::l |
Definition at line 128 of file picture.hpp.
int8_t image::light_adjust::r |
Definition at line 129 of file picture.hpp.
Referenced by light_adjust().