source: Daodan/MSVC/Daodan_Console.h@ 843

Last change on this file since 843 was 589, checked in by gumby, 13 years ago

stuff

File size: 789 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
9typedef struct {
10char B;
11char G;
12char R;
13char A;
14} RGBA;
15
16
17typedef struct {
18char A;
19char R;
20char G;
21char B;
22} ARGB;
23
24typedef struct {
25 char Char;
26 short ignored;
27 int Color; //ARGB Color;
28} TStColorFormattingCharacter;
29
30extern TStColorFormattingCharacter* TStColorFormattingCharacters;
31extern TStColorFormattingCharacter DDrDSayColors[];
32
33#ifdef __cplusplus
34extern "C"
35#endif
36void DDrConsole_Print(const char* text);
37
38#ifdef __cplusplus
39extern "C"
40#endif
41void DDrConsole_PrintColored(const char* text, int priority, RGBA color, RGBA shade);
42
43#ifdef __cplusplus
44extern "C"
45#endif
46void DDrConsole_PrintF(const char* fmt, ...);
47
48#endif
Note: See TracBrowser for help on using the repository browser.