1.1 --- a/public/ISourceMod.h Wed May 02 22:49:28 2007 +0000
1.2 +++ b/public/ISourceMod.h Thu May 03 03:45:53 2007 +0000
1.3 @@ -20,7 +20,7 @@
1.4
1.5 /**
1.6 * @file ISourceMod.h
1.7 - * @brief Defines miscellanious helper functions useful to extensions.
1.8 + * @brief Defines miscellaneous helper functions useful to extensions.
1.9 */
1.10
1.11 #include <IHandleSys.h>
1.12 @@ -64,11 +64,11 @@
1.13 }
1.14 public:
1.15 /**
1.16 - * @brief Returns the full path to the mod directory.
1.17 + * @brief Returns the full path to the game directory.
1.18 *
1.19 - * @return A string containing the full mod path.
1.20 + * @return A string containing the full game path.
1.21 */
1.22 - virtual const char *GetModPath() const =0;
1.23 + virtual const char *GetGamePath() const =0;
1.24
1.25 /**
1.26 * @brief Returns the full path to the SourceMod directory.
1.27 @@ -111,7 +111,7 @@
1.28 * @brief Formats a string from a native.
1.29 *
1.30 * @param buffer Buffer to store message.
1.31 - * @param maxlength Maximum length of buffer (inculding null terminator).
1.32 + * @param maxlength Maximum length of buffer (including null terminator).
1.33 * @param pContext Pointer to the plugin's context.
1.34 * @param params Parameter array that was passed to the native.
1.35 * @param param Parameter index where format string and variable arguments begin.
1.36 @@ -141,12 +141,12 @@
1.37 /**
1.38 * @brief Returns the automated data pack handle type.
1.39 *
1.40 - * The readonly data type is the parent of the writable type.
1.41 + * The read-only data type is the parent of the writable type.
1.42 * Note that calling CloseHandle() on either type will release the data pack.
1.43 - * The readonly type is inheritable, but due to limitations of the Handle System,
1.44 + * The read-only type is inheritable, but due to limitations of the Handle System,
1.45 * the writable type is not.
1.46 *
1.47 - * @param readonly If true, the readonly type will be returned.
1.48 + * @param readonly If true, the read-only type will be returned.
1.49 * @return The Handle type for storing generic data packs.
1.50 */
1.51 virtual HandleType_t GetDataPackHandleType(bool readonly=false) =0;
1.52 @@ -163,11 +163,11 @@
1.53 virtual KeyValues *ReadKeyValuesHandle(Handle_t hndl, HandleError *err=NULL, bool root=false) =0;
1.54
1.55 /**
1.56 - * @brief Returns the name of the directory in which the mod or game's gameinfo.txt resides.
1.57 + * @brief Returns the name of the game directory.
1.58 *
1.59 - * @return A string containing the name of the mod directory.
1.60 + * @return A string containing the name of the game directory.
1.61 */
1.62 - virtual const char *GetModFolderName() const =0;
1.63 + virtual const char *GetGameFolderName() const =0;
1.64 };
1.65 }
1.66