ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/Daodan/src/Daodan_Console.h
(Generate patch)

Comparing Daodan/src/Daodan_Console.h (file contents):
Revision 691 by alloc, Sat Mar 2 23:46:33 2013 UTC vs.
Revision 692 by alloc, Thu Mar 7 17:26:13 2013 UTC

# Line 1 | Line 1
1 #pragma once
1   #ifndef DAODAN_CONSOLE_H
2   #define DAODAN_CONSOLE_H
3  
5 //#include <stdint.h>
6
4   #include "Daodan.h"
5  
6   typedef struct {
7 < char B;
8 < char G;
9 < char R;
10 < char A;
7 >        char B;
8 >        char G;
9 >        char R;
10 >        char A;
11   } RGBA;
12  
13  
14   typedef struct {
15 < char A;
16 < char R;
17 < char G;
18 < char B;
15 >        char A;
16 >        char R;
17 >        char G;
18 >        char B;
19   } ARGB;
20  
21   typedef struct {
# Line 30 | Line 27 | typedef struct {
27   extern TStColorFormattingCharacter* TStColorFormattingCharacters;
28   extern TStColorFormattingCharacter DDrDSayColors[];
29  
33 #ifdef __cplusplus
34 extern "C"
35 #endif
30   void DDrConsole_Print(const char* text);
31  
38 #ifdef __cplusplus
39 extern "C"
40 #endif
32   void DDrConsole_PrintColored(const char* text, int priority, RGBA color, RGBA shade);
33  
43 #ifdef __cplusplus
44 extern "C"
45 #endif
34   void DDrConsole_PrintF(const char* fmt, ...);
35  
36   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)