mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 00:25:19 +02: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:
@@ -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();
|
||||
|
||||
|
Reference in New Issue
Block a user