| 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) |
| 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 |
|
|