added amb1191 - absolute paths

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401735
This commit is contained in:
David Anderson
2007-11-27 02:19:39 +00:00
parent 4d63d44155
commit b98edf88b6
3 changed files with 51 additions and 5 deletions
+9
View File
@@ -95,6 +95,15 @@ namespace SourceMod
/**
* @brief Builds a platform path for a specific target base path.
*
* If the path starts with the string "file://" and the PathType is
* not relative, then the "file://" portion is stripped off, and the
* rest of the path is used without any modification (except for
* correcting slashes). This can be used to override the path
* builder to supply alternate absolute paths. Examples:
*
* file://C:/Temp/file.txt
* file:///tmp/file.txt
*
* @param type Type of path to use as a base.
* @param buffer Buffer to write to.
* @param maxlength Size of buffer.