mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Add model[] formspec element (#10320)
Formspec element to display models, written by @kilbith, rebased and tweaked. Co-authored-by: Jean-Patrick Guerrero <jeanpatrick.guerrero@gmail.com> Co-authored-by: sfan5 <sfan5@live.de>
This commit is contained in:
parent
e3bd6704a0
commit
3356da0151
16 changed files with 545 additions and 1 deletions
|
@ -38,7 +38,6 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||
class InventoryManager;
|
||||
class ISimpleTextureSource;
|
||||
class Client;
|
||||
class TexturePool;
|
||||
class GUIScrollContainer;
|
||||
|
||||
typedef enum {
|
||||
|
@ -444,6 +443,7 @@ private:
|
|||
void parseAnchor(parserData *data, const std::string &element);
|
||||
bool parseStyle(parserData *data, const std::string &element, bool style_type);
|
||||
void parseSetFocus(const std::string &element);
|
||||
void parseModel(parserData *data, const std::string &element);
|
||||
|
||||
void tryClose();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue