/[adonthell]/adonthell/src/base/paths.cc
ViewVC logotype

Diff of /adonthell/src/base/paths.cc

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

revision 1.6 by ksterker, Tue Dec 7 16:46:26 2004 UTC revision 1.7 by ksterker, Fri Jun 3 17:29:13 2005 UTC
# Line 2  Line 2 
2     $Id$     $Id$
3    
4     Copyright (C) 2003/2004 Alexandre Courbot <alexandrecourbot@linuxgames.com>     Copyright (C) 2003/2004 Alexandre Courbot <alexandrecourbot@linuxgames.com>
5       Copyright (C) 2005 Kai Sterker <kaisterker@linuxgames.com>
6     Part of the Adonthell Project http://adonthell.linuxgames.com     Part of the Adonthell Project http://adonthell.linuxgames.com
7    
8     Adonthell is free software; you can redistribute it and/or modify     Adonthell is free software; you can redistribute it and/or modify
# Line 22  Line 23 
23  /**  /**
24   * @file   base/paths.cc   * @file   base/paths.cc
25   * @author Alexandre Courbot <alexandrecourbot@linuxgames.com>   * @author Alexandre Courbot <alexandrecourbot@linuxgames.com>
26     * @author Kai Sterker <kaisterker@linuxgames.com>
27   *   *
28   * @brief  Defines some primitives to get essential game paths.   * @brief  Defines some primitives to get essential game paths.
29   *   *
# Line 111  bool paths::init (const std::string & ga Line 113  bool paths::init (const std::string & ga
113      return exists (GameDataDir);      return exists (GameDataDir);
114  }  }
115    
116  // set path to saved game  // set path to saved game (before loading the game from that directory)
117  void paths::set_save_dir (const std::string & dir)  void paths::set_save_dir (const std::string & dir)
118  {  {
119      if (dir != "" && exists (CfgDataDir + dir))      if (dir != "" && exists (CfgDataDir + dir))

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

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