map_knowledge.h File Reference

#include "show.h"
#include "mon-info.h"

Include dependency graph for map_knowledge.h:

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

Go to the source code of this file.

Classes

struct  map_cell

Defines

#define MAP_MAGIC_MAPPED_FLAG   0x01
#define MAP_SEEN_FLAG   0x02
#define MAP_CHANGED_FLAG   0x04
#define MAP_DETECTED_MONSTER   0x08
#define MAP_INVISIBLE_MONSTER   0x10
#define MAP_DETECTED_ITEM   0x20
#define MAP_VISIBLE_FLAG   0x40
#define MAP_GRID_KNOWN   0xFF
#define MAP_EMPHASIZE   0x100
#define MAP_MORE_ITEMS   0x200
#define MAP_HALOED   0x400
#define MAP_SILENCED   0x800
#define MAP_BLOODY   0x1000
#define MAP_CORRODING   0x2000
#define MAP_EXCLUDED_STAIRS   0x10000
#define MAP_MOLDY   0x20000
#define MAP_GLOWING_MOLDY   0x40000
#define MAP_SANCTUARY_1   0x80000
#define MAP_SANCTUARY_2   0x100000
#define MAP_WITHHELD   0x200000
#define MAP_LIQUEFIED   0x400000

Functions

void set_terrain_mapped (int x, int y)
void set_terrain_mapped (const coord_def &c)
void set_terrain_seen (int x, int y)
void set_terrain_seen (const coord_def &c)
void set_terrain_changed (int x, int y)
void set_terrain_changed (const coord_def &c)
void set_terrain_visible (const coord_def &c)
void clear_terrain_visibility ()
int count_detected_mons (void)
void map_knowledge_forget_mons (const coord_def &c)
void clear_map (bool clear_items=true, bool clear_mons=true)


Define Documentation

#define MAP_BLOODY   0x1000

#define MAP_CHANGED_FLAG   0x04

#define MAP_CORRODING   0x2000

#define MAP_DETECTED_ITEM   0x20

#define MAP_DETECTED_MONSTER   0x08

#define MAP_EMPHASIZE   0x100

#define MAP_EXCLUDED_STAIRS   0x10000

#define MAP_GLOWING_MOLDY   0x40000

#define MAP_GRID_KNOWN   0xFF

#define MAP_HALOED   0x400

#define MAP_INVISIBLE_MONSTER   0x10

#define MAP_LIQUEFIED   0x400000

#define MAP_MAGIC_MAPPED_FLAG   0x01

#define MAP_MOLDY   0x20000

#define MAP_MORE_ITEMS   0x200

#define MAP_SANCTUARY_1   0x80000

#define MAP_SANCTUARY_2   0x100000

#define MAP_SEEN_FLAG   0x02

#define MAP_SILENCED   0x800

#define MAP_VISIBLE_FLAG   0x40

#define MAP_WITHHELD   0x200000


Function Documentation

void clear_map ( bool  clear_items = true,
bool  clear_mons = true 
)

Here is the call graph for this function:

void clear_terrain_visibility (  ) 

int count_detected_mons ( void   ) 

void map_knowledge_forget_mons ( const coord_def c  ) 

void set_terrain_changed ( const coord_def c  )  [inline]

Here is the call graph for this function:

void set_terrain_changed ( int  x,
int  y 
)

Here is the call graph for this function:

void set_terrain_mapped ( const coord_def c  )  [inline]

Here is the call graph for this function:

void set_terrain_mapped ( int  x,
int  y 
)

void set_terrain_seen ( const coord_def c  )  [inline]

Here is the call graph for this function:

void set_terrain_seen ( int  x,
int  y 
)

Here is the call graph for this function:

void set_terrain_visible ( const coord_def c  ) 

Here is the call graph for this function:


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