changeset 8620 | 6787f745da50 |
parent 8545 | 1385ab7219d9 |
child 8645 | 809e328bab99 |
8618:7e71dba4e7f3 | 8620:6787f745da50 |
---|---|
219 SendIPCRaw(@buf[0], length(buf) + 1) |
219 SendIPCRaw(@buf[0], length(buf) + 1) |
220 end; |
220 end; |
221 |
221 |
222 function isSyncedCommand(c: char): boolean; |
222 function isSyncedCommand(c: char): boolean; |
223 begin |
223 begin |
224 isSyncedCommand:= (c in ['+', '#', 'L', 'l', 'R', 'r', 'U', 'u', 'D', 'd', 'Z', 'z', 'A', 'a', 'S', 'j', 'J', ',', 'c', 's', 'b', 'F', 'N', 'p', 'P', 'w', 't', 'h', '1', '2', '3', '4', '5']) or ((c >= #128) and (c <= char(128 + cMaxSlotIndex))) |
224 isSyncedCommand:= (c in ['+', '#', 'L', 'l', 'R', 'r', 'U', 'u', 'D', 'd', 'Z', 'z', 'A', 'a', 'S', 'j', 'J', ',', 'c', 'N', 'p', 'P', 'w', 't', '1', '2', '3', '4', '5']) or ((c >= #128) and (c <= char(128 + cMaxSlotIndex))) |
225 end; |
225 end; |
226 |
226 |
227 procedure flushBuffer(); |
227 procedure flushBuffer(); |
228 begin |
228 begin |
229 SDLNet_TCP_Send(IPCSock, @sendBuffer.buf, sendBuffer.count); |
229 SDLNet_TCP_Send(IPCSock, @sendBuffer.buf, sendBuffer.count); |