diff options
Diffstat (limited to 'src/character.h')
-rw-r--r-- | src/character.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/character.h b/src/character.h index 7e17cd7..be6af41 100644 --- a/src/character.h +++ b/src/character.h @@ -2,11 +2,13 @@ #define _CHARACTER_H_ #include <stdint.h> +#include <string.h> //Both maps produce very different results -const char character_luminance_map [] ; +const char *default_character_map; -//Select Char based on 1B brightness Value -char calc_char(uint8_t _c, uint8_t _min, uint8_t _max); +//Select Char based on 1B brightness Value. +//if _custom_map == NULL default map is used +char calc_char(uint8_t _c, uint8_t _min, uint8_t _max, char *_custom_map); #endif //_CHARACTER_H_ |