/[adonthell]/adonthell/src/rpg/item.cc
ViewVC logotype

Diff of /adonthell/src/rpg/item.cc

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by ksterker, Mon Aug 23 06:33:47 2004 UTC revision 1.4 by ksterker, Mon Oct 25 06:50:09 2004 UTC
# Line 38  using rpg::item; Line 38  using rpg::item;
38  using rpg::character;  using rpg::character;
39    
40  // ctor  // ctor
41  item::item (const std::string & item) : python::script ()  item::item (const string & item) : python::script ()
42  {  {
43      Slot = NULL;      Slot = NULL;
44    
# Line 162  item *item::combine (item *itm) Line 162  item *item::combine (item *itm)
162  }  }
163    
164  // save a single item to file  // save a single item to file
165  bool item::put_state (const std::string & file) const  bool item::put_state (const string & file) const
166  {  {
167      base::ogzstream out (file);      base::ogzstream out (file);
168            
# Line 219  bool item::put_state (base::flat & file) Line 219  bool item::put_state (base::flat & file)
219  }  }
220    
221  // load a single item from file  // load a single item from file
222  bool item::get_state (const std::string & file)  bool item::get_state (const string & file)
223  {  {
224      base::igzstream in (file);      base::igzstream in (file);
225      // has file opened?      // has file opened?

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26