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 577 by gumby, Mon Oct 11 08:22:59 2010 UTC vs.
Revision 578 by gumby, Wed Jan 12 18:47:16 2011 UTC

# Line 174 | Line 174 | void DDrPasteHack()
174                  }
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 +
195   void ONICALL DDrText_Hook()
196   {
197  

Diff Legend

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