btmux-0.6-rc4/doc/
btmux-0.6-rc4/event/
btmux-0.6-rc4/game/
btmux-0.6-rc4/game/maps/
btmux-0.6-rc4/game/mechs/
btmux-0.6-rc4/game/text/help/
btmux-0.6-rc4/game/text/help/cat_faction/
btmux-0.6-rc4/game/text/help/cat_inform/
btmux-0.6-rc4/game/text/help/cat_misc/
btmux-0.6-rc4/game/text/help/cat_mux/
btmux-0.6-rc4/game/text/help/cat_mux/cat_commands/
btmux-0.6-rc4/game/text/help/cat_mux/cat_functions/
btmux-0.6-rc4/game/text/help/cat_templates/
btmux-0.6-rc4/game/text/wizhelp/
btmux-0.6-rc4/include/
btmux-0.6-rc4/misc/
btmux-0.6-rc4/python/
btmux-0.6-rc4/src/hcode/btech/
btmux-0.6-rc4/tree/
typedef int     int32_t;
typedef unsigned int    uint32_t;
typedef hyper       int64_t;
typedef unsigned hyper  uint64_t;
typedef opaque string<>;
const DB_MAGIC = 0x4841475A;

struct db_header {
    int32_t magic;
    int32_t version;
    int32_t dumptime_seconds; // UTC
    int32_t dumptime_useconds; // UTC
    int32_t revision;
    int32_t xid[5];
    db_attrdef<> attrs;
    db_object<> objects;
}

struct db_attrdef {
    string Name;
    int32_t number;
    int32_t flags;
}

struct db_object {
    int32_t dbref;
    string Name;
    int32_t Location;
    int32_t Zone;
    int32_t Contents;
    int32_t Exits;
    int32_t Link;
    int32_t Next;
    int32_t Owner;
    int32_t Parent;
    int32_t Pennies;
    int32_t Flags;
    int32_t Flags2;
    int32_t Flags3;
    int32_t Powers;
    int32_t Powers2;
    db_attr<> attrs;
}

struct db_attr {
    string data;
    int32_t number;
}