toggles text saturation
| 369 | |
| 370 | // toggles text saturation |
| 371 | void grtext_SetFlags(int flags) { |
| 372 | struct { |
| 373 | char op; |
| 374 | int flags; |
| 375 | } cmd; |
| 376 | |
| 377 | ASSERT((Grtext_ptr + sizeof(cmd)) < GRTEXT_BUFLEN); |
| 378 | |
| 379 | cmd.op = GRTEXTOP_SETFLAGS; |
| 380 | cmd.flags = flags; |
| 381 | |
| 382 | memcpy(&Grtext_buffer[Grtext_ptr], &cmd, sizeof(cmd)); |
| 383 | Grtext_ptr += sizeof(cmd); |
| 384 | } |
| 385 | |
| 386 | // sets the font for text |
| 387 | void grtext_SetFont(int font_handle) { |
no outgoing calls
no test coverage detected