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

Comparing Daodan/src/Daodan_Console.c (file contents):
Revision 445 by rossy, Fri Jul 17 05:04:02 2009 UTC vs.
Revision 446 by gumby, Mon Jul 20 02:06:23 2009 UTC

# Line 10 | Line 10 | void DDrConsole_Print(const char* text)
10          COrTextArea_Print(COgConsoleLines, 1, COgDefaultTextShade, COgDefaultTextShadow, text, 0, COgFadeTimeValue);
11   }
12  
13 + void DDrConsole_PrintColored(const char* text, int priority, RGBA color, RGBA shade)
14 + {
15 +        int* intcolor = (int*)&color;
16 +        int* intshade = (int*)&shade;
17 +        COrTextArea_Print(COgConsoleLines, 1, *intcolor, *intshade, text, 0, COgFadeTimeValue);
18 + }
19 +
20   void DDrConsole_PrintF(const char* fmt, ...)
21   {
22          va_list ap;

Diff Legend

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