summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authormekolat <mekolat@users.noreply.github.com>2016-11-26 18:29:16 -0500
committerGitHub <noreply@github.com>2016-11-26 18:29:16 -0500
commitf604a13e791eecdef273d517f7f6f566383cde28 (patch)
treea800f235d032eb5434761cec0a47efaf775aa0a0 /tools
parent8c380d5b71de0c60866fdd95c6e8d1a54459123f (diff)
parent6d5919b4f782adc453106312c394cf1b7dd9e58f (diff)
downloadtmwa-f604a13e791eecdef273d517f7f6f566383cde28.tar.gz
tmwa-f604a13e791eecdef273d517f7f6f566383cde28.tar.bz2
tmwa-f604a13e791eecdef273d517f7f6f566383cde28.tar.xz
tmwa-f604a13e791eecdef273d517f7f6f566383cde28.zip
Merge pull request #226 from mekolat/settilesv16.11.27
Implement SMSG_MAP_SET_TILES_TYPE
Diffstat (limited to 'tools')
-rwxr-xr-xtools/protocol.py20
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