diff options
author | Jonas Gunz <himself@jonasgunz.de> | 2020-08-30 12:52:18 +0200 |
---|---|---|
committer | Jonas Gunz <himself@jonasgunz.de> | 2020-08-30 12:52:18 +0200 |
commit | a69e0fa11aa64c6b27e903821a3b8d008f33cc06 (patch) | |
tree | 852554cdb93083c23fe51067638d45827d11f44d /src/character.h | |
parent | 4a395cae20c9cd0dcb8437390cf5e470e3c1720b (diff) | |
download | AsciiMap-a69e0fa11aa64c6b27e903821a3b8d008f33cc06.tar.gz |
removed unused functions, removed color.{c,h}
Diffstat (limited to 'src/character.h')
-rw-r--r-- | src/character.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/character.h b/src/character.h index b5ea368..0afdf0d 100644 --- a/src/character.h +++ b/src/character.h @@ -2,8 +2,13 @@ #define _CHARACTER_H_ #include <stdint.h> +#include <stdio.h> +#include <stdlib.h> #include <string.h> +#define COLOR_FG 1 +#define COLOR_BG 2 + //Both maps produce very different results extern const char *default_character_map; @@ -11,4 +16,6 @@ extern const char *default_character_map; //if _custom_map == NULL default map is used char calc_char(uint8_t _c, uint8_t _min, uint8_t _max, char *_custom_map); +char *calc_col_ansi(uint8_t R, uint8_t G, uint8_t B, uint8_t _mode); + #endif //_CHARACTER_H_ |