diff options
author | Jonas Gunz <himself@jonasgunz.de> | 2019-05-03 03:07:07 +0200 |
---|---|---|
committer | Jonas Gunz <himself@jonasgunz.de> | 2019-05-03 03:07:07 +0200 |
commit | 620a534e46a78e2664f1a105c694330fc267453b (patch) | |
tree | 0bff0c9b6e0bd7ed11855450cad03a0ed2ba31f1 /character.h | |
parent | 4aa0cf5afc35509ccbfc23c722672c5a7a89001c (diff) | |
download | AsciiMap-620a534e46a78e2664f1a105c694330fc267453b.tar.gz |
Did a fuck ton.
Diffstat (limited to 'character.h')
-rw-r--r-- | character.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/character.h b/character.h new file mode 100644 index 0000000..7e17cd7 --- /dev/null +++ b/character.h @@ -0,0 +1,12 @@ +#ifndef _CHARACTER_H_ +#define _CHARACTER_H_ + +#include <stdint.h> + +//Both maps produce very different results +const char character_luminance_map [] ; + +//Select Char based on 1B brightness Value +char calc_char(uint8_t _c, uint8_t _min, uint8_t _max); + +#endif //_CHARACTER_H_ |