physfs.h
branchstable-1.0
changeset 761 35eef02d86ec
parent 720 31037fbc5dd8
child 769 c9ff41dec8fa
equal deleted inserted replaced
760:ca9215fa54f6 761:35eef02d86ec
   633 
   633 
   634 /**
   634 /**
   635  * \fn int PHYSFS_setWriteDir(const char *newDir)
   635  * \fn int PHYSFS_setWriteDir(const char *newDir)
   636  * \brief Tell PhysicsFS where it may write files.
   636  * \brief Tell PhysicsFS where it may write files.
   637  *
   637  *
   638  * Set a new write dir. This will override the previous setting. If the
   638  * Set a new write dir. This will override the previous setting.
   639  *  directory or a parent directory doesn't exist in the physical filesystem,
       
   640  *  PhysicsFS will attempt to create them as needed.
       
   641  *
   639  *
   642  * This call will fail (and fail to change the write dir) if the current
   640  * This call will fail (and fail to change the write dir) if the current
   643  *  write dir still has files open in it.
   641  *  write dir still has files open in it.
   644  *
   642  *
   645  *   \param newDir The new directory to be the root of the write dir,
   643  *   \param newDir The new directory to be the root of the write dir,