blob: 6a3eed8e096fa4caa77d86096bebfdabe877431e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
#ifndef PLACE_INFO_H
#define PLACE_INFO_H
class PlaceInfo
{
public:
branch_type branch;
unsigned int num_visits;
unsigned int levels_seen;
unsigned int mon_kill_exp;
unsigned int mon_kill_num[KC_NCATEGORIES];
int turns_total;
int turns_explore;
int turns_travel;
int turns_interlevel;
int turns_resting;
int turns_other;
int elapsed_total;
int elapsed_explore;
int elapsed_travel;
int elapsed_interlevel;
int elapsed_resting;
int elapsed_other;
public:
PlaceInfo();
bool is_global() const;
void assert_validity() const;
const string short_name() const;
const PlaceInfo &operator += (const PlaceInfo &other);
const PlaceInfo &operator -= (const PlaceInfo &other);
PlaceInfo operator + (const PlaceInfo &other) const;
PlaceInfo operator - (const PlaceInfo &other) const;
};
#endif
|