stash.h File Reference

#include "shopping.h"
#include <string>
#include <iostream>
#include <map>
#include <vector>
#include "externs.h"
#include "player.h"

Include dependency graph for stash.h:

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

Go to the source code of this file.

Classes

class  Stash
class  ShopInfo
struct  ShopInfo::shop_item
struct  stash_search_result
class  LevelStashes
class  StashTracker
class  ST_ItemIterator

Defines

#define STASH_LUA_SEARCH_ANNOTATE   "ch_stash_search_annotate_item"
#define STASH_LUA_DUMP_ANNOTATE   "ch_stash_dump_annotate_item"
#define STASH_LUA_VIEW_ANNOTATE   "ch_stash_view_annotate_item"

Enumerations

enum  STASH_TRACK_MODES { STM_NONE, STM_EXPLICIT, STM_DROPPED, STM_ALL }

Functions

void stash_init_new_level ()
std::ostream & operator<< (std::ostream &, const Stash &)
std::ostream & operator<< (std::ostream &, const LevelStashes &)
void maybe_update_stashes ()
bool is_stash (const coord_def &c)
std::string get_stash_desc (const coord_def &c)
void describe_stash (const coord_def &c)
std::vector< item_defitem_list_in_stash (const coord_def &pos)
std::string userdef_annotate_item (const char *s, const item_def *item, bool exclusive=false)

Variables

StashTracker StashTrack


Define Documentation

#define STASH_LUA_DUMP_ANNOTATE   "ch_stash_dump_annotate_item"

#define STASH_LUA_SEARCH_ANNOTATE   "ch_stash_search_annotate_item"

#define STASH_LUA_VIEW_ANNOTATE   "ch_stash_view_annotate_item"


Enumeration Type Documentation

Enumerator:
STM_NONE 
STM_EXPLICIT 
STM_DROPPED 
STM_ALL 


Function Documentation

void describe_stash ( const coord_def c  ) 

Here is the call graph for this function:

std::string get_stash_desc ( const coord_def c  ) 

Here is the call graph for this function:

bool is_stash ( const coord_def c  ) 

Here is the call graph for this function:

std::vector<item_def> item_list_in_stash ( const coord_def pos  ) 

Here is the call graph for this function:

void maybe_update_stashes (  ) 

Here is the call graph for this function:

std::ostream& operator<< ( std::ostream &  ,
const LevelStashes  
)

Here is the call graph for this function:

std::ostream& operator<< ( std::ostream &  ,
const Stash  
)

Here is the call graph for this function:

void stash_init_new_level (  ) 

Here is the call graph for this function:

std::string userdef_annotate_item ( const char *  s,
const item_def item,
bool  exclusive = false 
)

Here is the call graph for this function:


Variable Documentation


Generated on Thu Jan 13 13:26:43 2011 by  doxygen 1.5.6