#include "enum.h"
Go to the source code of this file.
Classes | |
struct | Branch |
Enumerations | |
enum | branch_flag_type { BFLAG_NONE = 0, BFLAG_NO_TELE_CONTROL = (1 << 0), BFLAG_NOT_MAPPABLE = (1 << 1), BFLAG_NO_MAGIC_MAP = (1 << 2), BFLAG_HAS_ORB = (1 << 3), BFLAG_ISLANDED = (1 << 4) } |
Functions | |
Branch & | your_branch () |
bool | at_branch_bottom () |
bool | is_hell_subbranch (branch_type branch) |
level_id | branch_entry_level (branch_type branch) |
level_id | current_level_parent () |
branch_type | str_to_branch (const std::string &branch, branch_type err=NUM_BRANCHES) |
int | current_level_ambient_noise () |
const char * | level_area_type_name (int level_type) |
level_area_type | str_to_level_area_type (const std::string &s) |
bool | set_branch_flags (uint32_t flags, bool silent=false, branch_type branch=NUM_BRANCHES) |
bool | unset_branch_flags (uint32_t flags, bool silent=false, branch_type branch=NUM_BRANCHES) |
uint32_t | get_branch_flags (branch_type branch=NUM_BRANCHES) |
Variables | |
Branch | branches [] |
enum branch_flag_type |
bool at_branch_bottom | ( | ) |
level_id branch_entry_level | ( | branch_type | branch | ) |
int current_level_ambient_noise | ( | ) |
level_id current_level_parent | ( | ) |
uint32_t get_branch_flags | ( | branch_type | branch = NUM_BRANCHES |
) |
bool is_hell_subbranch | ( | branch_type | branch | ) |
const char* level_area_type_name | ( | int | level_type | ) |
bool set_branch_flags | ( | uint32_t | flags, | |
bool | silent = false , |
|||
branch_type | branch = NUM_BRANCHES | |||
) |
branch_type str_to_branch | ( | const std::string & | branch, | |
branch_type | err = NUM_BRANCHES | |||
) |
level_area_type str_to_level_area_type | ( | const std::string & | s | ) |
bool unset_branch_flags | ( | uint32_t | flags, | |
bool | silent = false , |
|||
branch_type | branch = NUM_BRANCHES | |||
) |
Branch& your_branch | ( | ) |