source: Daodan/src/Patches/Console.h@ 1089

Last change on this file since 1089 was 994, checked in by alloc, 11 years ago

Daodan:

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