diff options
author | Philipp Sehmisch <mana@crushnet.org> | 2011-03-14 20:53:49 +0100 |
---|---|---|
committer | Philipp Sehmisch <mana@crushnet.org> | 2011-03-14 21:47:09 +0100 |
commit | 967caa8a91702510fc9b4a35292042802c27d14c (patch) | |
tree | aa0961174ed5b180163ffb972adcf5007513722e /src/manaserv_protocol.h | |
parent | cc162d170bcaf7d5b3f47ffde346b1849f905662 (diff) | |
download | manaserv-967caa8a91702510fc9b4a35292042802c27d14c.tar.gz manaserv-967caa8a91702510fc9b4a35292042802c27d14c.tar.bz2 manaserv-967caa8a91702510fc9b4a35292042802c27d14c.tar.xz manaserv-967caa8a91702510fc9b4a35292042802c27d14c.zip |
Script binding for the new screen shake effect.
The new lua function mana.chr_shake_screen can cause a screen shake
for a single client with variable x-intensity, y-intensity, decay and
duration.
I also added an example script which causes tremors for nearby characters
with intensity and direction relative to a specific point. The function
is not referenced on the example map because it is quite distracting.
Diffstat (limited to 'src/manaserv_protocol.h')
-rw-r--r-- | src/manaserv_protocol.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/manaserv_protocol.h b/src/manaserv_protocol.h index 978187dc..337f2e27 100644 --- a/src/manaserv_protocol.h +++ b/src/manaserv_protocol.h @@ -163,6 +163,7 @@ enum { GPMSG_BEINGS_DAMAGE = 0x0310, // { W being id, W amount }* GPMSG_CREATE_EFFECT_POS = 0x0320, // W effect id, W*2 position GPMSG_CREATE_EFFECT_BEING = 0x0321, // W effect id, W BeingID + GPMSG_SHAKE = 0x0330, // W intensityX, W intensityY, [W decay_times_10000, [W duration]]
// Guild PCMSG_GUILD_CREATE = 0x0350, // S name |