diff options
author | DS <vorunbekannt75@web.de> | 2020-12-18 19:38:07 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-18 19:38:07 +0100 |
commit | 6f8a1c99d5a30de0021c2c03bb5f79eb8281f868 (patch) | |
tree | 8645cdb1c383cfeebeb92157d8d38c989ea92bdc /src | |
parent | e6380565236d6d963acf75538f1f8fec807190cc (diff) | |
download | minetest-6f8a1c99d5a30de0021c2c03bb5f79eb8281f868.tar.gz minetest-6f8a1c99d5a30de0021c2c03bb5f79eb8281f868.tar.bz2 minetest-6f8a1c99d5a30de0021c2c03bb5f79eb8281f868.zip |
Documentation for highest formspec_version[] and changelog (#10592)
Diffstat (limited to 'src')
-rw-r--r-- | src/network/networkprotocol.h | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/src/network/networkprotocol.h b/src/network/networkprotocol.h index 666e75e45..838bf0b2c 100644 --- a/src/network/networkprotocol.h +++ b/src/network/networkprotocol.h @@ -226,22 +226,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #define PASSWORD_SIZE 28 // Maximum password length. Allows for // base64-encoded SHA-1 (27+\0). -/* - Changes by FORMSPEC_API_VERSION: - - FORMSPEC VERSION 1: - (too much) - FORMSPEC VERSION 2: - Forced real coordinates - background9[]: 9-slice scaling parameters - FORMSPEC VERSION 3: - Formspec elements are drawn in the order of definition - 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 -*/ +// See also: Formspec Version History in doc/lua_api.txt #define FORMSPEC_API_VERSION 4 #define TEXTURENAME_ALLOWED_CHARS "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_.-" |