#include "shopping.h"
#include <string>
#include <iostream>
#include <map>
#include <vector>
#include "externs.h"
#include "player.h"
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_def > | item_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 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" |
enum STASH_TRACK_MODES |
void describe_stash | ( | const coord_def & | c | ) |
std::string get_stash_desc | ( | const coord_def & | c | ) |
bool is_stash | ( | const coord_def & | c | ) |
void maybe_update_stashes | ( | ) |
std::ostream& operator<< | ( | std::ostream & | , | |
const LevelStashes & | ||||
) |
std::ostream& operator<< | ( | std::ostream & | , | |
const Stash & | ||||
) |
void stash_init_new_level | ( | ) |
std::string userdef_annotate_item | ( | const char * | s, | |
const item_def * | item, | |||
bool | exclusive = false | |||
) |