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

Comparing Daodan/MSVC/Flatline.c (file contents):
Revision 569 by gumby, Wed Jul 14 07:35:40 2010 UTC vs.
Revision 572 by gumby, Sun Aug 29 19:13:47 2010 UTC

# Line 505 | Line 505 | uint16_t FLr_FindEmptyListSlot() {
505          }
506          return -1;
507   }
508 <
508 >        typedef struct
509 >        {
510 >                uint16_t x;
511 >                uint16_t y;
512 >                
513 >        } IMtPoint2D;
514   static flatline_packet cache_input = {0};
515   extern void* TSrTest;
516   void * ONICALL FLrInput_Update_Keys(void)
# Line 561 | Line 566 | void * ONICALL FLrInput_Update_Keys(void
566          //Testing drawing text to the screen...this failed. Will need to get it working eventually.
567          if( TSrTest )
568          {
569 <        OniRectangle TextRect = { 20, 20, 50, 50 };
570 <                TSrContext_DrawText(TSrTest, "Testing woohoo", 0xFF, 0, &TextRect);
569 > //              OniRectangle TextRect = { 128, 128, 256, 256 };
570 >                IMtPoint2D Point = {50, 50};
571 >                //TSrContext_DrawText(TSrTest, "Testing woohoo", 255, 0, &Point);
572 >                TSrContext_DrawText(TSrTest, "WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW", 255, 0, &Point);    
573 >                
574          }
575          if(!(server_started || client_connected)) return ONgGameState;
576  

Diff Legend

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