Curses: add support for the palette config option

Depends on CHANGE_COLOR compile-time option.

Also allow multiple palette-definitions in the config file.
This commit is contained in:
Pasi Kallinen
2024-04-13 12:01:40 +03:00
parent ebd200ecc2
commit a57d0e6f4f
8 changed files with 48 additions and 11 deletions

View File

@@ -327,6 +327,7 @@ extern boolean onlyhexdigits(const char *buf);
extern uint32 get_nhcolor_from_256_index(int idx);
#ifdef CHANGE_COLOR
extern int count_alt_palette(void);
extern int alternative_palette(char *);
extern void change_palette(void);
#endif