Go to the source code of this file.
Classes | |
class | ObjDef |
class | ObjDefManager |
Macros | |
#define | OBJDEF_INVALID_INDEX ((u32)(-1)) |
#define | OBJDEF_INVALID_HANDLE 0 |
#define | OBJDEF_HANDLE_SALT 0x00585e6fu |
#define | OBJDEF_MAX_ITEMS (1 << 18) |
#define | OBJDEF_UID_MASK ((1 << 7) - 1) |
Typedefs | |
typedef u32 | ObjDefHandle |
Enumerations | |
enum | ObjDefType { OBJDEF_GENERIC , OBJDEF_BIOME , OBJDEF_ORE , OBJDEF_DECORATION , OBJDEF_SCHEMATIC } |
#define OBJDEF_HANDLE_SALT 0x00585e6fu |
Referenced by ObjDefManager::createHandle(), and ObjDefManager::decodeHandle().
#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(), TestObjDef::testClone(), and ObjDefManager::validateHandle().
#define OBJDEF_INVALID_INDEX ((u32)(-1)) |
#define OBJDEF_MAX_ITEMS (1 << 18) |
Referenced by ObjDefManager::addRaw().
#define OBJDEF_UID_MASK ((1 << 7) - 1) |
Referenced by ObjDefManager::addRaw().
typedef u32 ObjDefHandle |
enum ObjDefType |