Luanti 5.10.0-dev
 
Loading...
Searching...
No Matches
mg_schematic.h File Reference
#include <map>
#include "mg_decoration.h"
#include "util/string.h"
+ Include dependency graph for mg_schematic.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Schematic
 
class  SchematicManager
 

Macros

#define MTSCHEM_FILE_SIGNATURE   0x4d54534d
 
#define MTSCHEM_FILE_VER_HIGHEST_READ   4
 
#define MTSCHEM_FILE_VER_HIGHEST_WRITE   4
 
#define MTSCHEM_MAPNODE_SER_FMT_VER   28
 
#define MTSCHEM_PROB_MASK   0x7F
 
#define MTSCHEM_PROB_NEVER   0x00
 
#define MTSCHEM_PROB_ALWAYS   0x7F
 
#define MTSCHEM_PROB_ALWAYS_OLD   0xFF
 
#define MTSCHEM_FORCE_PLACE   0x80
 

Enumerations

enum  SchematicType { SCHEMATIC_NORMAL }
 
enum  SchematicFormatType { SCHEM_FMT_HANDLE , SCHEM_FMT_MTS , SCHEM_FMT_LUA }
 

Macro Definition Documentation

◆ MTSCHEM_FILE_SIGNATURE

#define MTSCHEM_FILE_SIGNATURE   0x4d54534d

◆ MTSCHEM_FILE_VER_HIGHEST_READ

#define MTSCHEM_FILE_VER_HIGHEST_READ   4

◆ MTSCHEM_FILE_VER_HIGHEST_WRITE

#define MTSCHEM_FILE_VER_HIGHEST_WRITE   4

◆ MTSCHEM_FORCE_PLACE

◆ MTSCHEM_MAPNODE_SER_FMT_VER

#define MTSCHEM_MAPNODE_SER_FMT_VER   28

◆ MTSCHEM_PROB_ALWAYS

◆ MTSCHEM_PROB_ALWAYS_OLD

#define MTSCHEM_PROB_ALWAYS_OLD   0xFF

◆ MTSCHEM_PROB_MASK

#define MTSCHEM_PROB_MASK   0x7F

◆ MTSCHEM_PROB_NEVER

#define MTSCHEM_PROB_NEVER   0x00

Enumeration Type Documentation

◆ SchematicFormatType

Enumerator
SCHEM_FMT_HANDLE 
SCHEM_FMT_MTS 
SCHEM_FMT_LUA 

◆ SchematicType

Enumerator
SCHEMATIC_NORMAL