diff options
author | mekolat <mekolat@users.noreply.github.com> | 2016-11-26 18:29:16 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-26 18:29:16 -0500 |
commit | f604a13e791eecdef273d517f7f6f566383cde28 (patch) | |
tree | a800f235d032eb5434761cec0a47efaf775aa0a0 /tools/protocol.py | |
parent | 8c380d5b71de0c60866fdd95c6e8d1a54459123f (diff) | |
parent | 6d5919b4f782adc453106312c394cf1b7dd9e58f (diff) | |
download | tmwa-16.11.27.tar.gz tmwa-16.11.27.tar.bz2 tmwa-16.11.27.tar.xz tmwa-16.11.27.zip |
Merge pull request #226 from mekolat/settilesv16.11.27
Implement SMSG_MAP_SET_TILES_TYPE
Diffstat (limited to 'tools/protocol.py')
-rwxr-xr-x | tools/protocol.py | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/tools/protocol.py b/tools/protocol.py index 5a9e05c..7a5542a 100755 --- a/tools/protocol.py +++ b/tools/protocol.py @@ -4796,6 +4796,26 @@ def build_context(): Execute a client command remotely ''', ) + map_user.s(0x0231, 'send area collision', + define='SMSG_MAP_SET_TILES_TYPE', + fixed=[ + at(0, u16, 'packet id'), + at(2, u16, 'x1'), + at(4, u16, 'y1'), + at(6, u16, 'x2'), + at(8, u16, 'y2'), + at(10, u32, 'mask'), + at(14, u32, 'unused layer'), + at(18, map_name, 'map'), + ], + fixed_size=34, + pre=[NOTHING], + post=[PRETTY], + desc=''' + Set updated collision for a square area + ''', + ) + # TOC_LOGINCHAR # login char |