#include <notes.h>
Public Member Functions | |
Note () | |
Note (NOTE_TYPES t, int f=0, int s=0, const char *n=0, const char *d=0) | |
void | save (writer &outf) const |
void | load (reader &inf) |
std::string | describe (bool when=true, bool where=true, bool what=true) const |
void | check_milestone () const |
Public Attributes | |
NOTE_TYPES | type |
int | first |
int | second |
long | turn |
unsigned short | packed_place |
std::string | place_abbrev |
std::string | name |
std::string | desc |
Note::Note | ( | ) |
Note::Note | ( | NOTE_TYPES | t, | |
int | f = 0 , |
|||
int | s = 0 , |
|||
const char * | n = 0 , |
|||
const char * | d = 0 | |||
) |
void Note::save | ( | writer & | outf | ) | const |
void Note::load | ( | reader & | inf | ) |
std::string Note::describe | ( | bool | when = true , |
|
bool | where = true , |
|||
bool | what = true | |||
) | const |
void Note::check_milestone | ( | ) | const |
int Note::first |
int Note::second |
long Note::turn |
unsigned short Note::packed_place |