43 set_val (
"type", NPC);
76 for (i = begin (); i != end (); i++)
78 string s = (*i).first;
100 for (i = 0; i < size; i++)
108 set_val (key.c_str (), value);
Class to write data from a Gzip compressed file.
character_base()
Default constructor.
#define s_int32
32 bits long signed integer
Class to read data from a Gzip compressed file.
void set_name(string newname)
Sets the name of the character.
void get_state(igzstream &in)
Loads the state (attributes) of the character from an opened file.
Declares the character_base class.
#define u_int32
32 bits long unsigned integer
void put_state(ogzstream &out)
Saves the state (ttributes) of the character into an opened file.
void set_dialogue(string dialogue)
Sets the dialogue of the character.
hash_map< string, s_int32 >::iterator iterator
Storage iterator, similar to STL iterator.
~character_base()
Destructor.