#ifndef CONSOLE_H #define CONSOLE_H #include "../Daodan.h" typedef struct { char B; char G; char R; char A; } RGBA; typedef struct { char A; char R; char G; char B; } ARGB; typedef struct { char Char; short ignored; int Color; //ARGB Color; } TStColorFormattingCharacter; extern TStColorFormattingCharacter* TStColorFormattingCharacters; extern TStColorFormattingCharacter DDrDSayColors[]; void DDrConsole_Print(const char* text); void DDrConsole_PrintColored(const char* text, int priority, RGBA color, RGBA shade); void DDrConsole_PrintF(const char* fmt, ...); #endif