Luanti 5.16.0-dev
Loading...
Searching...
No Matches
itemdef.h File Reference
#include "irrlichttypes_bloated.h"
#include <string>
#include <iostream>
#include <optional>
#include <set>
#include "itemgroup.h"
#include "sound_spec.h"
#include "texture_override.h"
#include "tool.h"
#include "util/pointabilities.h"
#include "util/pointedthing.h"
#include "tileanimation.h"
Include dependency graph for itemdef.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  TouchInteraction
struct  ItemImageDef
struct  ItemDefinition
class  IItemDefManager
class  IWritableItemDefManager

Enumerations

enum  ItemType : u8 {
  ITEM_NONE , ITEM_NODE , ITEM_CRAFT , ITEM_TOOL ,
  ItemType_END
}
enum  TouchInteractionMode : u8 { LONG_DIG_SHORT_PLACE , SHORT_DIG_LONG_PLACE , TouchInteractionMode_USER , TouchInteractionMode_END }

Functions

IWritableItemDefManagercreateItemDefManager ()

Enumeration Type Documentation

◆ ItemType

enum ItemType : u8
Enumerator
ITEM_NONE 
ITEM_NODE 
ITEM_CRAFT 
ITEM_TOOL 
ItemType_END 

◆ TouchInteractionMode

Enumerator
LONG_DIG_SHORT_PLACE 
SHORT_DIG_LONG_PLACE 
TouchInteractionMode_USER 
TouchInteractionMode_END 

Function Documentation

◆ createItemDefManager()

IWritableItemDefManager * createItemDefManager ( )

Referenced by DummyGameDef::DummyGameDef(), Server::Server(), and Game::init().

Here is the caller graph for this function: