00001
00002
00003
00004
00005
00006
00007
00008 #ifndef CHARDUMP_H
00009 #define CHARDUMP_H
00010
00011 #include <string>
00012 #include <cstdio>
00013
00014 enum item_origin_dump_selector
00015 {
00016 IODS_PRICE = 0,
00017 IODS_ARTEFACTS = 1,
00018 IODS_EGO_ARMOUR = 2,
00019 IODS_EGO_WEAPON = 4,
00020 IODS_JEWELLERY = 8,
00021 IODS_RUNES = 16,
00022 IODS_RODS = 32,
00023 IODS_STAVES = 64,
00024 IODS_BOOKS = 128,
00025 IODS_EVERYTHING = 0xFF,
00026 };
00027
00028 class scorefile_entry;
00029 bool dump_char(const std::string &fname,
00030 bool show_prices,
00031 bool full_id = false,
00032 const scorefile_entry *se = NULL);
00033 void dump_map(const char* fname, bool debug = false, bool dist = false);
00034 void dump_map(FILE *fp, bool debug = false, bool dist = false);
00035 void display_notes();
00036 std::string munge_description(const std::string &inStr);
00037 const char *hunger_level(void);
00038
00039 #ifdef DGL_WHEREIS
00040 void whereis_record(const char *status = "active");
00041 #endif
00042
00043 void record_turn_timestamp();
00044
00045 #endif