diff options
author | v-rob <robinsonvincent89@gmail.com> | 2020-07-10 03:11:26 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-10 12:11:26 +0200 |
commit | b1ff04e06da531dc52f6ee91e2967b39743033e6 (patch) | |
tree | 3d1af58d8c8003c5099122d0021b46d87c076c6f /src/network | |
parent | 2384c10e104fd0c945f3677130e7d25c0a841482 (diff) | |
download | minetest-b1ff04e06da531dc52f6ee91e2967b39743033e6.tar.gz minetest-b1ff04e06da531dc52f6ee91e2967b39743033e6.tar.bz2 minetest-b1ff04e06da531dc52f6ee91e2967b39743033e6.zip |
Formspec: Make dropdowns optionally return event based on index, not value (#9496)
Diffstat (limited to 'src/network')
-rw-r--r-- | src/network/networkprotocol.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/network/networkprotocol.h b/src/network/networkprotocol.h index fd683eac9..28abf02c0 100644 --- a/src/network/networkprotocol.h +++ b/src/network/networkprotocol.h @@ -238,8 +238,10 @@ with this program; if not, write to the Free Software Foundation, Inc., bgcolor[]: use 3 parameters (bgcolor, formspec (now an enum), fbgcolor) box[] and image[] elements enable clipping by default new element: scroll_container[] + FORMSPEC VERSION 4: + Allow dropdown indexing events */ -#define FORMSPEC_API_VERSION 3 +#define FORMSPEC_API_VERSION 4 #define TEXTURENAME_ALLOWED_CHARS "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_.-" |