#include <vector>#include <IGUIFont.h>#include <SMaterial.h>#include <SMeshBuffer.h>#include "irr_ptr.h"#include "irr_aabb3d.h"#include "../hud.h"
Include dependency graph for hud.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Classes | |
| class | Hud |
Namespaces | |
| namespace | irr |
| namespace | irr::scene |
| namespace | irr::video |
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 ) |
References drawItemStack().
Referenced by Hud::drawItem().
Here is the call graph for this function:
Here is the caller graph for this function:| 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(), ItemStack::getInventoryImage(), ItemStack::getInventoryOverlay(), SimpleMetadata::getString(), ITextureSource::getTexture(), porting::getTimeMs(), ItemStack::getWearBarParams(), IT_ROT_NONE, IT_ROT_OTHER, ITEM_NODE, ITEM_TOOL, itos(), ItemMesh::mesh, MeshTimeInfo::mesh, ItemStack::metadata, MYMIN, ItemMesh::needs_shading, p(), setMeshBufferColor(), stoi, MeshTimeInfo::time, ItemDefinition::type, unescape_enriched(), utf8_to_wide(), and ItemStack::wear.
Referenced by GUIInventoryList::draw(), GUIItemImage::draw(), TextDrawer::draw(), drawItemStack(), GUIFormSpecMenu::drawMenu(), and GUIFormSpecMenu::drawSelectedItem().
Here is the call graph for this function:
Here is the caller graph for this function: