diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2015-02-03 13:13:12 +0100 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2015-02-03 13:13:12 +0100 |
commit | 9e0bbcf685786e21b7d61216f4e1a24f0b1a3354 (patch) | |
tree | fb165bfc8645c548a1b0c6b55085e69b16b8197d /src/PNG.hpp | |
parent | e1b3347da56110563324b7b1afb0c38a9d172732 (diff) | |
download | MinedMap-9e0bbcf685786e21b7d61216f4e1a24f0b1a3354.tar MinedMap-9e0bbcf685786e21b7d61216f4e1a24f0b1a3354.zip |
Generate light layer
Diffstat (limited to 'src/PNG.hpp')
-rw-r--r-- | src/PNG.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/PNG.hpp b/src/PNG.hpp index 1647d03..ee6ffd4 100644 --- a/src/PNG.hpp +++ b/src/PNG.hpp @@ -33,9 +33,9 @@ namespace MinedMap { namespace PNG { -void write(const char *filename, const uint8_t *data, size_t width, size_t height); -void read(const char *filename, uint8_t *data, size_t width, size_t height); -void mipmap(const char *output, size_t width, size_t height, const char *nw, const char *ne, const char *sw, const char *se); +void write(const char *filename, const uint8_t *data, size_t width, size_t height, bool colored); +void read(const char *filename, uint8_t *data, size_t width, size_t height, bool colored); +void mipmap(const char *output, size_t width, size_t height, bool colored, const char *nw, const char *ne, const char *sw, const char *se); } } |