#pragma once #ifndef DAODAN_CONSOLE_H #define DAODAN_CONSOLE_H //#include #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[]; #ifdef __cplusplus extern "C" #endif void DDrConsole_Print(const char* text); #ifdef __cplusplus extern "C" #endif void DDrConsole_PrintColored(const char* text, int priority, RGBA color, RGBA shade); #ifdef __cplusplus extern "C" #endif void DDrConsole_PrintF(const char* fmt, ...); #endif