#include "AppHdr.h"
#include "shopping.h"
#include "message.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "externs.h"
#include "options.h"
#include "artefact.h"
#include "cio.h"
#include "describe.h"
#include "decks.h"
#include "dgn-overview.h"
#include "files.h"
#include "food.h"
#include "invent.h"
#include "items.h"
#include "itemname.h"
#include "itemprop.h"
#include "libutil.h"
#include "macro.h"
#include "menu.h"
#include "notes.h"
#include "place.h"
#include "player.h"
#include "spl-book.h"
#include "stash.h"
#include "stuff.h"
#include "travel.h"
#include "env.h"
#define REMOVE_PROMPTED_KEY "remove_prompted_key" |
#define REPLACE_PROMPTED_KEY "replace_prompted_key" |
#define SETUP_POS | ( | ) |
Value:
if (list == NULL) \ { \ mpr("SavefileCallback global constructor weirdness!", MSGCH_ERROR); \ return (false); \ } \ level_pos pos; \ if (_pos != NULL) \ pos = *_pos; \ else \ pos = level_pos::current(); \ ASSERT(pos.is_valid());
#define SETUP_THING | ( | ) |
Value:
CrawlHashTable *thing = new CrawlHashTable(); \ (*thing)[SHOPPING_THING_COST_KEY] = cost; \ (*thing)[SHOPPING_THING_POS_KEY] = pos;
#define SHOPPING_LIST_COST_KEY "shopping_list_cost_key" |
#define SHOPPING_LIST_KEY "shopping_list_key" |
#define SHOPPING_THING_COST_KEY "cost_key" |
#define SHOPPING_THING_DESC_KEY "desc_key" |
#define SHOPPING_THING_ITEM_KEY "item_key" |
#define SHOPPING_THING_POS_KEY "pos_key" |
#define SHOPPING_THING_VERB_KEY "verb_key" |
int artefact_value | ( | const item_def & | item | ) |
void destroy_shop | ( | shop_struct * | shop | ) |
void destroy_shop_at | ( | coord_def | p | ) |
shop_struct* get_shop | ( | const coord_def & | where | ) |
bool is_shop_item | ( | const item_def & | item | ) |
unsigned int item_value | ( | item_def | item, | |
bool | ident | |||
) |
void shop | ( | ) |
std::string shop_name | ( | const coord_def & | where | ) |
std::string shop_name | ( | const coord_def & | where, | |
bool | add_stop | |||
) |
std::string shop_type_name | ( | shop_type | type | ) |
std::string shop_type_suffix | ( | shop_type | type, | |
const coord_def & | where | |||
) |
bool shoptype_identifies_stock | ( | shop_type | type | ) |