Last change
on this file since 584 was 477, checked in by gumby, 15 years ago |
Added in all colors
Fixed Guard whatever for Daodan_Console.h
|
File size:
680 bytes
|
Line | |
---|
1 | #pragma once
|
---|
2 | #ifndef DAODAN_CONSOLE_H
|
---|
3 | #define DAODAN_CONSOLE_H
|
---|
4 |
|
---|
5 | #include <stdint.h>
|
---|
6 |
|
---|
7 | #include "Daodan.h"
|
---|
8 |
|
---|
9 | typedef struct {
|
---|
10 | char B;
|
---|
11 | char G;
|
---|
12 | char R;
|
---|
13 | char A;
|
---|
14 | } RGBA;
|
---|
15 |
|
---|
16 |
|
---|
17 | typedef struct {
|
---|
18 | char A;
|
---|
19 | char R;
|
---|
20 | char G;
|
---|
21 | char B;
|
---|
22 | } ARGB;
|
---|
23 |
|
---|
24 | typedef struct {
|
---|
25 | char Char;
|
---|
26 | char ignored;
|
---|
27 | char alsoignored;
|
---|
28 | int Color; //ARGB Color;
|
---|
29 | } TStColorFormattingCharacter;
|
---|
30 |
|
---|
31 | extern TStColorFormattingCharacter* TStColorFormattingCharacters;
|
---|
32 | extern TStColorFormattingCharacter DDrDSayColors[];
|
---|
33 | void DDrConsole_Print(const char* text);
|
---|
34 | void DDrConsole_PrintColored(const char* text, int priority, RGBA color, RGBA shade);
|
---|
35 | void DDrConsole_PrintF(const char* fmt, ...);
|
---|
36 |
|
---|
37 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.