dgn-overview.cc File Reference

#include "AppHdr.h"
#include "dgn-overview.h"
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <algorithm>
#include "externs.h"
#include "branch.h"
#include "cio.h"
#include "colour.h"
#include "coord.h"
#include "dgnevent.h"
#include "directn.h"
#include "dungeon.h"
#include "env.h"
#include "feature.h"
#include "files.h"
#include "map_knowledge.h"
#include "menu.h"
#include "message.h"
#include "religion.h"
#include "shopping.h"
#include "state.h"
#include "stuff.h"
#include "tagstring.h"
#include "terrain.h"
#include "travel.h"

Include dependency graph for dgn-overview.cc:


Typedefs

typedef std::map< branch_type,
level_id
stair_map_type
typedef std::map< level_pos,
shop_type
shop_map_type
typedef std::map< level_pos,
god_type
altar_map_type
typedef std::map< level_pos,
portal_type
portal_map_type
typedef std::map< level_pos,
std::string
portal_vault_map_type
typedef std::map< level_pos,
std::string
portal_note_map_type
typedef std::map< level_pos,
uint8_t > 
portal_vault_colour_map_type
typedef std::map< level_id,
std::string
annotation_map_type

Functions

void overview_clear ()
void seen_notable_thing (dungeon_feature_type which_thing, const coord_def &pos)
bool move_notable_thing (const coord_def &orig, const coord_def &dest)
bool overview_knows_portal (dungeon_feature_type portal)
int overview_knows_num_portals (dungeon_feature_type portal)
std::string overview_description_string (bool display)
bool unnotice_feature (const level_pos &pos)
void display_overview ()
void unnotice_altar ()
portal_type feature_to_portal (dungeon_feature_type feat)
void set_level_annotation (std::string str, level_id li)
void clear_level_annotation (level_id li)
void set_level_exclusion_annotation (std::string str, level_id li)
void clear_level_exclusion_annotation (level_id li)
std::string get_level_annotation (level_id li, bool skip_excl)
std::string get_coloured_level_annotation (int col, level_id li, bool skip_excl)
bool level_annotation_has (std::string find, level_id li)
void annotate_level ()

Variables

stair_map_type stair_level
shop_map_type shops_present
altar_map_type altars_present
portal_map_type portals_present
portal_vault_map_type portal_vaults_present
portal_note_map_type portal_vault_notes
portal_vault_colour_map_type portal_vault_colours
annotation_map_type level_annotations
annotation_map_type level_exclusions

Typedef Documentation

typedef std::map<level_pos, god_type> altar_map_type

typedef std::map<level_pos, uint8_t> portal_vault_colour_map_type

typedef std::map<level_pos, shop_type> shop_map_type

typedef std::map<branch_type, level_id> stair_map_type


Function Documentation

void annotate_level (  ) 

Here is the call graph for this function:

void clear_level_annotation ( level_id  li  ) 

void clear_level_exclusion_annotation ( level_id  li  ) 

void display_overview (  ) 

Here is the call graph for this function:

portal_type feature_to_portal ( dungeon_feature_type  feat  ) 

std::string get_coloured_level_annotation ( int  col,
level_id  li,
bool  skip_excl 
)

Here is the call graph for this function:

std::string get_level_annotation ( level_id  li,
bool  skip_excl 
)

bool level_annotation_has ( std::string  find,
level_id  li 
)

Here is the call graph for this function:

bool move_notable_thing ( const coord_def orig,
const coord_def dest 
)

Here is the call graph for this function:

void overview_clear (  ) 

std::string overview_description_string ( bool  display  ) 

int overview_knows_num_portals ( dungeon_feature_type  portal  ) 

bool overview_knows_portal ( dungeon_feature_type  portal  ) 

void seen_notable_thing ( dungeon_feature_type  which_thing,
const coord_def pos 
)

Here is the call graph for this function:

void set_level_annotation ( std::string  str,
level_id  li 
)

Here is the call graph for this function:

void set_level_exclusion_annotation ( std::string  str,
level_id  li 
)

Here is the call graph for this function:

void unnotice_altar (  ) 

Here is the call graph for this function:

bool unnotice_feature ( const level_pos pos  ) 

Here is the call graph for this function:


Variable Documentation


Generated on Thu Jan 13 13:04:21 2011 by  doxygen 1.5.6