directn.cc File Reference

#include "AppHdr.h"
#include "directn.h"
#include "format.h"
#include <cstdarg>
#include <sstream>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <algorithm>
#include "externs.h"
#include "options.h"
#include "cio.h"
#include "cloud.h"
#include "colour.h"
#include "command.h"
#include "coord.h"
#include "coordit.h"
#include "dbg-util.h"
#include "debug.h"
#include "describe.h"
#include "dungeon.h"
#include "map_knowledge.h"
#include "fprop.h"
#include "godabil.h"
#include "invent.h"
#include "itemname.h"
#include "items.h"
#include "l_defs.h"
#include "los.h"
#include "macro.h"
#include "mapmark.h"
#include "message.h"
#include "menu.h"
#include "misc.h"
#include "mon-stuff.h"
#include "mon-info.h"
#include "mon-util.h"
#include "output.h"
#include "player.h"
#include "shopping.h"
#include "show.h"
#include "showsymb.h"
#include "state.h"
#include "stuff.h"
#include "env.h"
#include "areas.h"
#include "stash.h"
#include "terrain.h"
#include "traps.h"
#include "travel.h"
#include "hints.h"
#include "view.h"
#include "viewchar.h"
#include "viewgeom.h"
#include "wiz-mon.h"

Classes

class  view_desc_proc

Typedefs

typedef std::map< std::string,
std::string
desc_map

Enumerations

enum  LOSSelect {
  LOS_ANY = 0x00, LOS_VISIBLE = 0x01, LOS_HIDDEN = 0x02, LOS_VISMASK = 0x03,
  LOS_FLIPVH = 0x20, LOS_FLIPHV = 0x40, LOS_NONE = 0xFFFF
}

Functions

void direction (dist &moves, const direction_chooser_args &args)
void full_describe_view ()
char mlist_index_to_letter (int index)
std::string get_terse_square_desc (const coord_def &gc)
void terse_describe_square (const coord_def &c, bool in_range)
void get_square_desc (const coord_def &c, describe_info &inf, bool examine_mons, bool show_floor)
void full_describe_square (const coord_def &c)
std::vector< dungeon_feature_typefeatures_by_desc (const base_pattern &pattern)
void describe_floor ()
std::string thing_do_grammar (description_level_type dtype, bool add_stop, bool force_article, std::string desc)
std::string feature_description (dungeon_feature_type grid, trap_type trap, const std::string &cover_desc, description_level_type dtype, bool add_stop, bool base_desc)
std::string raw_feature_description (dungeon_feature_type grid, trap_type trap, bool base_desc)
void set_feature_desc_short (dungeon_feature_type grid, const std::string &desc)
void set_feature_desc_short (const std::string &base_name, const std::string &_desc)
void setup_feature_descs_short ()
std::string feature_description (const coord_def &where, bool covering, description_level_type dtype, bool add_stop, bool base_desc)
std::string get_monster_equipment_desc (const monster_info &mi, bool full_desc, description_level_type mondtype, bool print_attitude)

Variables

const std::string SHORT_DESC_KEY = "short_desc_key"
bool mlist_full_info
std::vector< monster_infomlist

Typedef Documentation

typedef std::map<std::string, std::string> desc_map


Enumeration Type Documentation

enum LOSSelect

Enumerator:
LOS_ANY 
LOS_VISIBLE 
LOS_HIDDEN 
LOS_VISMASK 
LOS_FLIPVH 
LOS_FLIPHV 
LOS_NONE 


Function Documentation

void describe_floor (  ) 

Here is the call graph for this function:

void direction ( dist moves,
const direction_chooser_args args 
)

Here is the call graph for this function:

std::string feature_description ( const coord_def where,
bool  covering,
description_level_type  dtype,
bool  add_stop,
bool  base_desc 
)

Here is the call graph for this function:

std::string feature_description ( dungeon_feature_type  grid,
trap_type  trap,
const std::string cover_desc,
description_level_type  dtype,
bool  add_stop,
bool  base_desc 
)

Here is the call graph for this function:

std::vector<dungeon_feature_type> features_by_desc ( const base_pattern pattern  ) 

Here is the call graph for this function:

void full_describe_square ( const coord_def c  ) 

Here is the call graph for this function:

void full_describe_view ( void   ) 

Here is the call graph for this function:

std::string get_monster_equipment_desc ( const monster_info mi,
bool  full_desc,
description_level_type  mondtype,
bool  print_attitude 
)

Here is the call graph for this function:

void get_square_desc ( const coord_def c,
describe_info inf,
bool  examine_mons,
bool  show_floor 
)

Here is the call graph for this function:

std::string get_terse_square_desc ( const coord_def gc  ) 

Here is the call graph for this function:

char mlist_index_to_letter ( int  index  ) 

std::string raw_feature_description ( dungeon_feature_type  grid,
trap_type  trap,
bool  base_desc 
)

void set_feature_desc_short ( const std::string base_name,
const std::string _desc 
)

Here is the call graph for this function:

void set_feature_desc_short ( dungeon_feature_type  grid,
const std::string desc 
)

Here is the call graph for this function:

void setup_feature_descs_short (  ) 

Here is the call graph for this function:

void terse_describe_square ( const coord_def c,
bool  in_range 
)

Here is the call graph for this function:

std::string thing_do_grammar ( description_level_type  dtype,
bool  add_stop,
bool  force_article,
std::string  desc 
)

Here is the call graph for this function:


Variable Documentation

std::vector<monster_info> mlist

const std::string SHORT_DESC_KEY = "short_desc_key"


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