equal
deleted
inserted
replaced
258 CursorPoint.X:= SmallInt(SDLNet_Read16(@(headcmd^.X)) + WorldDx); |
258 CursorPoint.X:= SmallInt(SDLNet_Read16(@(headcmd^.X)) + WorldDx); |
259 CursorPoint.Y:= SmallInt(SDLNet_Read16(@(headcmd^.Y)) + WorldDy); |
259 CursorPoint.Y:= SmallInt(SDLNet_Read16(@(headcmd^.Y)) + WorldDy); |
260 end; |
260 end; |
261 'w': ParseCommand('setweap ' + headcmd^.str[2], true); |
261 'w': ParseCommand('setweap ' + headcmd^.str[2], true); |
262 't': ParseCommand('taunt ' + headcmd^.str[2], true); |
262 't': ParseCommand('taunt ' + headcmd^.str[2], true); |
|
263 'g': ParseCommand('newgrave', true); |
263 '1'..'5': ParseCommand('timer ' + headcmd^.cmd, true); |
264 '1'..'5': ParseCommand('timer ' + headcmd^.cmd, true); |
264 #128..char(128 + cMaxSlotIndex): ParseCommand('slot ' + char(byte(headcmd^.cmd) - 79), true) |
265 #128..char(128 + cMaxSlotIndex): ParseCommand('slot ' + char(byte(headcmd^.cmd) - 79), true) |
265 else |
266 else |
266 OutError('Unexpected protocol command: ' + headcmd^.cmd, True) |
267 OutError('Unexpected protocol command: ' + headcmd^.cmd, True) |
267 end; |
268 end; |