branch.h File Reference

#include "enum.h"

Include dependency graph for branch.h:

This graph shows which files directly or indirectly include this file:

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

Branchyour_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 []


Enumeration Type Documentation

Enumerator:
BFLAG_NONE 
BFLAG_NO_TELE_CONTROL 
BFLAG_NOT_MAPPABLE 
BFLAG_NO_MAGIC_MAP 
BFLAG_HAS_ORB 
BFLAG_ISLANDED 


Function Documentation

bool at_branch_bottom (  ) 

Here is the call graph for this function:

level_id branch_entry_level ( branch_type  branch  ) 

Here is the call graph for this function:

int current_level_ambient_noise (  ) 

level_id current_level_parent (  ) 

Here is the call graph for this function:

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 
)

Here is the call graph for this function:

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 
)

Here is the call graph for this function:

Branch& your_branch (  ) 


Variable Documentation


Generated on Thu Jan 13 13:03:22 2011 by  doxygen 1.5.6