mapdef.cc File Reference

#include "AppHdr.h"
#include <iostream>
#include <cstdarg>
#include <cstdio>
#include <cctype>
#include <cstdlib>
#include <algorithm>
#include "abyss.h"
#include "artefact.h"
#include "branch.h"
#include "colour.h"
#include "coord.h"
#include "coordit.h"
#include "cluautil.h"
#include "debug.h"
#include "describe.h"
#include "directn.h"
#include "dungeon.h"
#include "dgn-height.h"
#include "exclude.h"
#include "files.h"
#include "food.h"
#include "ghost.h"
#include "initfile.h"
#include "invent.h"
#include "items.h"
#include "l_defs.h"
#include "libutil.h"
#include "mapdef.h"
#include "mapmark.h"
#include "maps.h"
#include "misc.h"
#include "mon-cast.h"
#include "mon-place.h"
#include "mon-util.h"
#include "place.h"
#include "random.h"
#include "religion.h"
#include "spl-util.h"
#include "spl-book.h"
#include "stuff.h"
#include "env.h"
#include "tags.h"

Include dependency graph for mapdef.cc:


Defines

#define GMINM   ((GXM) < (GYM)? (GXM) : (GYM))

Typedefs

typedef std::map< std::string,
unsigned long > 
flag_map

Functions

const char * map_section_name (int msect)
void map_register_flag (const std::string &flag)
bool map_tag_is_selectable (const std::string &tag)
std::string mapdef_split_key_item (const std::string &s, std::string *key, int *separator, std::string *arg, int key_max_len)
template<class T>
std::string parse_weighted_str (const std::string &spec, T &list)

Variables

const int DEFAULT_MAP_WEIGHT = 10

Define Documentation

#define GMINM   ((GXM) < (GYM)? (GXM) : (GYM))


Typedef Documentation

typedef std::map<std::string, unsigned long> flag_map


Function Documentation

void map_register_flag ( const std::string flag  ) 

const char* map_section_name ( int  msect  ) 

bool map_tag_is_selectable ( const std::string tag  ) 

std::string mapdef_split_key_item ( const std::string s,
std::string key,
int *  separator,
std::string arg,
int  key_max_len 
)

Here is the call graph for this function:

template<class T>
std::string parse_weighted_str ( const std::string spec,
T &  list 
) [inline]

Here is the call graph for this function:


Variable Documentation

const int DEFAULT_MAP_WEIGHT = 10


Generated on Thu Jan 13 13:09:37 2011 by  doxygen 1.5.6