equal
deleted
inserted
replaced
328 CursorPoint.Y:= cScreenHeight - SmallInt(SDLNet_Read16(@(headcmd^.Y))) - WorldDy |
328 CursorPoint.Y:= cScreenHeight - SmallInt(SDLNet_Read16(@(headcmd^.Y))) - WorldDy |
329 end |
329 end |
330 end; |
330 end; |
331 'w': ParseCommand('setweap ' + headcmd^.str[2], true); |
331 'w': ParseCommand('setweap ' + headcmd^.str[2], true); |
332 't': ParseCommand('taunt ' + headcmd^.str[2], true); |
332 't': ParseCommand('taunt ' + headcmd^.str[2], true); |
333 'g': ParseCommand('newgrave', true); |
|
334 'h': ParseCommand('hogsay ' + copy(headcmd^.str, 2, Pred(headcmd^.len)), true); |
333 'h': ParseCommand('hogsay ' + copy(headcmd^.str, 2, Pred(headcmd^.len)), true); |
335 '1'..'5': ParseCommand('timer ' + headcmd^.cmd, true); |
334 '1'..'5': ParseCommand('timer ' + headcmd^.cmd, true); |
336 #128..char(128 + cMaxSlotIndex): ParseCommand('slot ' + char(byte(headcmd^.cmd) - 79), true) |
335 #128..char(128 + cMaxSlotIndex): ParseCommand('slot ' + char(byte(headcmd^.cmd) - 79), true) |
337 else |
336 else |
338 OutError('Unexpected protocol command: ' + headcmd^.cmd, True) |
337 OutError('Unexpected protocol command: ' + headcmd^.cmd, True) |