aboutsummaryrefslogtreecommitdiff
path: root/src/character.h
blob: b5ea368757f301902621287ed5e7a94e6d7d0a2e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef _CHARACTER_H_
#define _CHARACTER_H_

#include <stdint.h>
#include <string.h>

//Both maps produce very different results
extern const char *default_character_map;

//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_