Go to the source code of this file.
Classes | |
class | Hud |
Enumerations | |
enum | ItemRotationKind { IT_ROT_SELECTED , IT_ROT_HOVERED , IT_ROT_DRAGGED , IT_ROT_OTHER , IT_ROT_NONE } |
Functions | |
void | drawItemStack (video::IVideoDriver *driver, gui::IGUIFont *font, const ItemStack &item, const core::rect< s32 > &rect, const core::rect< s32 > *clip, Client *client, ItemRotationKind rotation_kind) |
void | drawItemStack (video::IVideoDriver *driver, gui::IGUIFont *font, const ItemStack &item, const core::rect< s32 > &rect, const core::rect< s32 > *clip, Client *client, ItemRotationKind rotation_kind, const v3s16 &angle, const v3s16 &rotation_speed) |
enum ItemRotationKind |
void drawItemStack | ( | video::IVideoDriver * | driver, |
gui::IGUIFont * | font, | ||
const ItemStack & | item, | ||
const core::rect< s32 > & | rect, | ||
const core::rect< s32 > * | clip, | ||
Client * | client, | ||
ItemRotationKind | rotation_kind | ||
) |
void drawItemStack | ( | video::IVideoDriver * | driver, |
gui::IGUIFont * | font, | ||
const ItemStack & | item, | ||
const core::rect< s32 > & | rect, | ||
const core::rect< s32 > * | clip, | ||
Client * | client, | ||
ItemRotationKind | rotation_kind, | ||
const v3s16 & | angle, | ||
const v3s16 & | rotation_speed | ||
) |
References ItemMesh::buffer_colors, colorizeMeshBuffer(), ItemStack::count, draw2DImageFilterScaled(), ItemStack::empty(), g_settings, Settings::getBool(), ItemStack::getDefinition(), porting::getDeltaMs(), ITextureSource::getTexture(), porting::getTimeMs(), ItemDefinition::inventory_image, ItemDefinition::inventory_overlay, IT_ROT_NONE, IT_ROT_OTHER, ITEM_NODE, ITEM_TOOL, itos(), MeshTimeInfo::mesh, ItemMesh::mesh, MYMIN, ItemDefinition::name, ItemMesh::needs_shading, p(), setMeshBufferColor(), MeshTimeInfo::time, ItemDefinition::type, utf8_to_wide(), and ItemStack::wear.
Referenced by GUIInventoryList::draw(), GUIItemImage::draw(), TextDrawer::draw(), Hud::drawItem(), drawItemStack(), GUIFormSpecMenu::drawMenu(), and GUIFormSpecMenu::drawSelectedItem().