Last change
on this file since 833 was 692, checked in by alloc, 12 years ago |
Daodan: Lots of cleanups (mostly unnecessary includes removed, empty files deleted, case of filenames corrected)
|
File size:
638 bytes
|
Rev | Line | |
---|
[477] | 1 | #ifndef DAODAN_CONSOLE_H
|
---|
| 2 | #define DAODAN_CONSOLE_H
|
---|
[437] | 3 |
|
---|
| 4 | #include "Daodan.h"
|
---|
| 5 |
|
---|
[446] | 6 | typedef struct {
|
---|
[692] | 7 | char B;
|
---|
| 8 | char G;
|
---|
| 9 | char R;
|
---|
| 10 | char A;
|
---|
[446] | 11 | } RGBA;
|
---|
| 12 |
|
---|
[476] | 13 |
|
---|
| 14 | typedef struct {
|
---|
[692] | 15 | char A;
|
---|
| 16 | char R;
|
---|
| 17 | char G;
|
---|
| 18 | char B;
|
---|
[476] | 19 | } ARGB;
|
---|
| 20 |
|
---|
| 21 | typedef struct {
|
---|
| 22 | char Char;
|
---|
[677] | 23 | short ignored;
|
---|
[476] | 24 | int Color; //ARGB Color;
|
---|
| 25 | } TStColorFormattingCharacter;
|
---|
| 26 |
|
---|
| 27 | extern TStColorFormattingCharacter* TStColorFormattingCharacters;
|
---|
| 28 | extern TStColorFormattingCharacter DDrDSayColors[];
|
---|
[677] | 29 |
|
---|
[437] | 30 | void DDrConsole_Print(const char* text);
|
---|
[677] | 31 |
|
---|
[446] | 32 | void DDrConsole_PrintColored(const char* text, int priority, RGBA color, RGBA shade);
|
---|
[677] | 33 |
|
---|
[437] | 34 | void DDrConsole_PrintF(const char* fmt, ...);
|
---|
| 35 |
|
---|
| 36 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.