Luanti 5.10.0-dev
 
Loading...
Searching...
No Matches
c_types.cpp File Reference
#include <iostream>
#include "common/c_types.h"
#include "common/c_internal.h"
#include "itemdef.h"
+ Include dependency graph for c_types.cpp:

Variables

struct EnumString es_ItemType []
 
struct EnumString es_TouchInteractionMode []
 

Variable Documentation

◆ es_ItemType

struct EnumString es_ItemType[]
Initial value:
=
{
{ITEM_NONE, "none"},
{ITEM_NODE, "node"},
{ITEM_CRAFT, "craft"},
{ITEM_TOOL, "tool"},
{0, NULL},
}
@ ITEM_TOOL
Definition itemdef.h:38
@ ITEM_NODE
Definition itemdef.h:36
@ ITEM_CRAFT
Definition itemdef.h:37
@ ITEM_NONE
Definition itemdef.h:35

Referenced by push_item_definition_full(), and read_item_definition().

◆ es_TouchInteractionMode

struct EnumString es_TouchInteractionMode[]
Initial value:
=
{
{LONG_DIG_SHORT_PLACE, "long_dig_short_place"},
{SHORT_DIG_LONG_PLACE, "short_dig_long_place"},
{0, NULL},
}
@ LONG_DIG_SHORT_PLACE
Definition itemdef.h:44
@ TouchInteractionMode_USER
Definition itemdef.h:46
@ SHORT_DIG_LONG_PLACE
Definition itemdef.h:45

Referenced by push_item_definition_full(), and read_item_definition().