aboutsummaryrefslogtreecommitdiff
path: root/src/network
diff options
context:
space:
mode:
authorDS <vorunbekannt75@web.de>2019-11-07 20:11:01 +0100
committerSmallJoker <SmallJoker@users.noreply.github.com>2019-11-07 20:11:01 +0100
commit5506e97ed897dde2d4820fe1b021a4622bae03b3 (patch)
tree85a029b7f9bb046bcf338abad3ea1e50362d6164 /src/network
parent15a030ec9f5d9016c287cf3964894683121e59fd (diff)
downloadminetest-5506e97ed897dde2d4820fe1b021a4622bae03b3.tar.gz
minetest-5506e97ed897dde2d4820fe1b021a4622bae03b3.tar.bz2
minetest-5506e97ed897dde2d4820fe1b021a4622bae03b3.zip
Formspec: draw order and clipping for all elements (#8740)
Diffstat (limited to 'src/network')
-rw-r--r--src/network/networkprotocol.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/network/networkprotocol.h b/src/network/networkprotocol.h
index 5a13c1353..236c7892e 100644
--- a/src/network/networkprotocol.h
+++ b/src/network/networkprotocol.h
@@ -228,9 +228,11 @@ with this program; if not, write to the Free Software Foundation, Inc.,
(too much)
FORMSPEC VERSION 2:
Forced real coordinates
- background[]: 9-slice scaling parameters
+ background9[]: 9-slice scaling parameters
+ FORMSPEC VERSION 3:
+ Formspec elements are drawn in the order of definition
*/
-#define FORMSPEC_API_VERSION 2
+#define FORMSPEC_API_VERSION 3
#define TEXTURENAME_ALLOWED_CHARS "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_.-"