Authors are not forced to use the clang-format setting, but should
atleast be inspired by the style.
The only thing which is now not allowed are tabs for ident/alignment!
- Process ids (pid) no longer start from 1 but from 0x01000000.
This should have no practical effect, but avoids collisions.
- Allow specifying an arbitrary Gump id in SendDialogGump()
Custom gump ids must be in the range 1-0xFFFFFF. If no gumpid
is given, the old behavior of using the pid will still be used
(so that this does not break backward compatibility).
It is now possible to organize the gumpids in a constants file
and have the same gump to always be sent with the same id. This
way the client will recognize it and, if the player moved it
last time, it will reposition it where the player liked it:
this should be a nice interface improvement.
It is now possible to implement the Virtues gump, since it needs
a pre-defined gumpid of 0x01CD to work.
- CloseGump() now accepts a gumpid instead of a pid. For scripts not
using custom gump ids, its behavior is the same as before.
- Fixed handling of very small gump menu selection packets (only
15 bytes long)