| 180 | } |
| 181 | |
| 182 | static void SPConnection_SendChat(const cc_string* text) { |
| 183 | cc_string left, part; |
| 184 | if (!text->length) return; |
| 185 | |
| 186 | sp_lastCol = '\0'; |
| 187 | left = *text; |
| 188 | |
| 189 | while (left.length > STRING_SIZE) { |
| 190 | part = String_UNSAFE_Substring(&left, 0, STRING_SIZE); |
| 191 | SPConnection_AddPart(&part); |
| 192 | left = String_UNSAFE_SubstringAt(&left, STRING_SIZE); |
| 193 | } |
| 194 | SPConnection_AddPart(&left); |
| 195 | } |
| 196 | |
| 197 | static void SPConnection_SendBlock(int x, int y, int z, BlockID old, BlockID now) { |
| 198 | Physics_OnBlockChanged(x, y, z, old, now); |
nothing calls this directly
no test coverage detected