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

Comparing Daodan/MSVC/Daodan_Utility.c (file contents):
Revision 578 by gumby, Wed Jan 12 18:47:16 2011 UTC vs.
Revision 579 by gumby, Thu Jan 13 01:02:52 2011 UTC

# Line 175 | Line 175 | void DDrPasteHack()
175          }
176   }
177  
178 void* ScoreboardInstance = 0;
179 void FLrRun_Scores()
180 {
181
182        if(!ScoreboardInstance){
183                void* TSFFTahoma;
184                TMrInstance_GetDataPtr( 'TSFF', "Tahoma", &TSFFTahoma);
185                TSrContext_New( TSFFTahoma, 7, 1, 1,  0, &ScoreboardInstance);
186        }
187        if(ScoreboardInstance){
188                int white = 0x00FFFFFF;
189                IMtPoint2D DrawLocation = {20, 20};
190                TSrContext_SetShade(ScoreboardInstance, white);
191                TSrContext_DrawText(ScoreboardInstance, "Scores and crap", 255, 0, &DrawLocation);      
192        }
193 }
194
178   void ONICALL DDrText_Hook()
179   {
180  

Diff Legend

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