mirror of
https://github.com/minetest/minetest.git
synced 2024-08-19 04:54:18 +02:00
Bump formspec version (#11980)
This commit is contained in:
parent
71317b8579
commit
95a775cd3a
@ -2271,18 +2271,20 @@ Examples
|
||||
Version History
|
||||
---------------
|
||||
|
||||
* FORMSPEC VERSION 1:
|
||||
* Formspec version 1 (pre-5.1.0):
|
||||
* (too much)
|
||||
* FORMSPEC VERSION 2:
|
||||
* Formspec version 2 (5.1.0):
|
||||
* Forced real coordinates
|
||||
* background9[]: 9-slice scaling parameters
|
||||
* FORMSPEC VERSION 3:
|
||||
* Formspec version 3 (5.2.0):
|
||||
* 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:
|
||||
* Formspec version 4 (5.4.0):
|
||||
* Allow dropdown indexing events
|
||||
* Formspec version 5 (5.5.0):
|
||||
* Added padding[] element
|
||||
|
||||
Elements
|
||||
--------
|
||||
|
@ -230,7 +230,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
// base64-encoded SHA-1 (27+\0).
|
||||
|
||||
// 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_.-"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user