#include "util/basic_macros.h"
#include "porting.h"
#include <vector>
Go to the source code of this file.
◆ OBJDEF_HANDLE_SALT
#define OBJDEF_HANDLE_SALT 0x00585e6fu |
◆ OBJDEF_INVALID_HANDLE
#define OBJDEF_INVALID_HANDLE 0 |
Referenced by ObjDefManager::add(), get_or_load_biome(), get_or_load_schematic(), ModApiMapgen::l_register_biome(), ModApiMapgen::l_register_decoration(), ModApiMapgen::l_register_ore(), ModApiMapgen::l_register_schematic(), TestObjDef::testAddGetSetClear(), TestMapgen::testBiomeGen(), TestObjDef::testClone(), and ObjDefManager::validateHandle().
◆ OBJDEF_INVALID_INDEX
#define OBJDEF_INVALID_INDEX ((u32)(-1)) |
◆ OBJDEF_MAX_ITEMS
#define OBJDEF_MAX_ITEMS (1 << 18) |
◆ OBJDEF_UID_MASK
#define OBJDEF_UID_MASK ((1 << 7) - 1) |
◆ ObjDefHandle
◆ ObjDefType
Enumerator |
---|
OBJDEF_GENERIC | |
OBJDEF_BIOME | |
OBJDEF_ORE | |
OBJDEF_DECORATION | |
OBJDEF_SCHEMATIC | |