source: Daodan/src/Daodan_Console.h@ 581

Last change on this file since 581 was 477, checked in by gumby, 15 years ago

Added in all colors
Fixed Guard whatever for Daodan_Console.h

File size: 680 bytes
RevLine 
[437]1#pragma once
[477]2#ifndef DAODAN_CONSOLE_H
3#define DAODAN_CONSOLE_H
[437]4
5#include <stdint.h>
6
7#include "Daodan.h"
8
[446]9typedef struct {
10char B;
11char G;
12char R;
13char A;
14} RGBA;
15
[476]16
17typedef struct {
18char A;
19char R;
20char G;
21char B;
22} ARGB;
23
24typedef struct {
25 char Char;
26 char ignored;
27 char alsoignored;
28 int Color; //ARGB Color;
29} TStColorFormattingCharacter;
30
31extern TStColorFormattingCharacter* TStColorFormattingCharacters;
32extern TStColorFormattingCharacter DDrDSayColors[];
[437]33void DDrConsole_Print(const char* text);
[446]34void DDrConsole_PrintColored(const char* text, int priority, RGBA color, RGBA shade);
[437]35void DDrConsole_PrintF(const char* fmt, ...);
36
37#endif
Note: See TracBrowser for help on using the repository browser.