2 |
|
#ifndef DAODAN_CONSOLE_H |
3 |
|
#define DAODAN_CONSOLE_H |
4 |
|
|
5 |
< |
#include <stdint.h> |
5 |
> |
//#include <stdint.h> |
6 |
|
|
7 |
|
#include "Daodan.h" |
8 |
|
|
23 |
|
|
24 |
|
typedef struct { |
25 |
|
char Char; |
26 |
< |
char ignored; |
27 |
< |
char alsoignored; |
26 |
> |
short ignored; |
27 |
|
int Color; //ARGB Color; |
28 |
|
} TStColorFormattingCharacter; |
29 |
|
|
30 |
|
extern TStColorFormattingCharacter* TStColorFormattingCharacters; |
31 |
|
extern TStColorFormattingCharacter DDrDSayColors[]; |
32 |
+ |
|
33 |
+ |
#ifdef __cplusplus |
34 |
+ |
extern "C" |
35 |
+ |
#endif |
36 |
|
void DDrConsole_Print(const char* text); |
37 |
+ |
|
38 |
+ |
#ifdef __cplusplus |
39 |
+ |
extern "C" |
40 |
+ |
#endif |
41 |
|
void DDrConsole_PrintColored(const char* text, int priority, RGBA color, RGBA shade); |
42 |
+ |
|
43 |
+ |
#ifdef __cplusplus |
44 |
+ |
extern "C" |
45 |
+ |
#endif |
46 |
|
void DDrConsole_PrintF(const char* fmt, ...); |
47 |
|
|
48 |
|
#endif |