| 1453 | } |
| 1454 | |
| 1455 | void ChatScreen_SetChatlines(int lines) { |
| 1456 | struct ChatScreen* s = &ChatScreen_Instance; |
| 1457 | Elem_Free(&s->chat); |
| 1458 | s->chatIndex += s->chat.lines - lines; |
| 1459 | s->chat.lines = lines; |
| 1460 | TextGroupWidget_RedrawAll(&s->chat); |
| 1461 | |
| 1462 | s->maxVertices = ChatScreen_CalcMaxVertices(s); |
| 1463 | Screen_UpdateVb(s); |
| 1464 | s->dirty = true; |
| 1465 | } |
| 1466 | |
| 1467 | |
| 1468 | /*########################################################################################################################* |
no test coverage detected