mirror of
https://github.com/minetest/minetest.git
synced 2024-11-27 10:03:45 +01:00
Bump formspec version (#11980)
This commit is contained in:
parent
71317b8579
commit
95a775cd3a
@ -2271,18 +2271,20 @@ Examples
|
|||||||
Version History
|
Version History
|
||||||
---------------
|
---------------
|
||||||
|
|
||||||
* FORMSPEC VERSION 1:
|
* Formspec version 1 (pre-5.1.0):
|
||||||
* (too much)
|
* (too much)
|
||||||
* FORMSPEC VERSION 2:
|
* Formspec version 2 (5.1.0):
|
||||||
* Forced real coordinates
|
* Forced real coordinates
|
||||||
* background9[]: 9-slice scaling parameters
|
* background9[]: 9-slice scaling parameters
|
||||||
* FORMSPEC VERSION 3:
|
* Formspec version 3 (5.2.0):
|
||||||
* Formspec elements are drawn in the order of definition
|
* Formspec elements are drawn in the order of definition
|
||||||
* bgcolor[]: use 3 parameters (bgcolor, formspec (now an enum), fbgcolor)
|
* bgcolor[]: use 3 parameters (bgcolor, formspec (now an enum), fbgcolor)
|
||||||
* box[] and image[] elements enable clipping by default
|
* box[] and image[] elements enable clipping by default
|
||||||
* new element: scroll_container[]
|
* new element: scroll_container[]
|
||||||
* FORMSPEC VERSION 4:
|
* Formspec version 4 (5.4.0):
|
||||||
* Allow dropdown indexing events
|
* Allow dropdown indexing events
|
||||||
|
* Formspec version 5 (5.5.0):
|
||||||
|
* Added padding[] element
|
||||||
|
|
||||||
Elements
|
Elements
|
||||||
--------
|
--------
|
||||||
|
@ -230,7 +230,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||||||
// base64-encoded SHA-1 (27+\0).
|
// base64-encoded SHA-1 (27+\0).
|
||||||
|
|
||||||
// See also: Formspec Version History in doc/lua_api.txt
|
// See also: Formspec Version History in doc/lua_api.txt
|
||||||
#define FORMSPEC_API_VERSION 4
|
#define FORMSPEC_API_VERSION 5
|
||||||
|
|
||||||
#define TEXTURENAME_ALLOWED_CHARS "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_.-"
|
#define TEXTURENAME_ALLOWED_CHARS "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_.-"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user