1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-30 15:05:32 +01:00

Add inventory image animation API (#16538)

This commit is contained in:
cx384
2025-10-26 18:48:53 +01:00
committed by GitHub
parent dde463635e
commit 93ccb4b355
23 changed files with 606 additions and 227 deletions

View File

@@ -36,10 +36,10 @@ struct ItemStack
std::string getDescription(const IItemDefManager *itemdef) const;
std::string getShortDescription(const IItemDefManager *itemdef) const;
std::string getInventoryImage(const IItemDefManager *itemdef) const;
std::string getInventoryOverlay(const IItemDefManager *itemdef) const;
std::string getWieldImage(const IItemDefManager *itemdef) const;
std::string getWieldOverlay(const IItemDefManager *itemdef) const;
ItemImageDef getInventoryImage(const IItemDefManager *itemdef) const;
ItemImageDef getInventoryOverlay(const IItemDefManager *itemdef) const;
ItemImageDef getWieldImage(const IItemDefManager *itemdef) const;
ItemImageDef getWieldOverlay(const IItemDefManager *itemdef) const;
v3f getWieldScale(const IItemDefManager *itemdef) const;
/*