Minetest  5.4.0
hud.cpp File Reference
#include "client/hud.h"
#include <cmath>
#include "settings.h"
#include "util/numeric.h"
#include "log.h"
#include "client.h"
#include "inventory.h"
#include "shader.h"
#include "client/tile.h"
#include "localplayer.h"
#include "camera.h"
#include "porting.h"
#include "fontengine.h"
#include "guiscalingfilter.h"
#include "mesh.h"
#include "wieldmesh.h"
#include "client/renderingengine.h"
#include "client/minimap.h"
+ Include dependency graph for hud.cpp:

Classes

struct  MeshTimeInfo
 

Macros

#define OBJECT_CROSSHAIR_LINE_SIZE   8
 
#define CROSSHAIR_LINE_SIZE   10
 

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, const v3s16 &angle, const v3s16 &rotation_speed)
 
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)
 

Macro Definition Documentation

◆ CROSSHAIR_LINE_SIZE

#define CROSSHAIR_LINE_SIZE   10

◆ OBJECT_CROSSHAIR_LINE_SIZE

#define OBJECT_CROSSHAIR_LINE_SIZE   8

Function Documentation

◆ drawItemStack() [1/2]

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().

+ Here is the call graph for this function:

◆ drawItemStack() [2/2]

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 
)