1.1 --- a/core/ISmmPlugin.h Wed Mar 21 21:02:15 2012 -0500
1.2 +++ b/core/ISmmPlugin.h Sun May 27 02:16:08 2012 +0100
1.3 @@ -34,7 +34,6 @@
1.4 * The pure-virtual ISmmPlugin callbacks must be implemented for the load to load.
1.5 */
1.6
1.7 -#include <interface.h>
1.8 #include <sourcehook.h>
1.9 #include <IPluginManager.h>
1.10 #include <ISmmAPI.h>
1.11 @@ -268,7 +267,7 @@
1.12 * wrapper. This can be used to provide interfaces to other plugins or
1.13 * the GameDLL.
1.14 *
1.15 - * If ret is passed, you should fill it with IFACE_OK or IFACE_FAILED.
1.16 + * If ret is passed, you should fill it with META_IFACE_OK or META_IFACE_FAILED.
1.17 *
1.18 * @param iface Interface string.
1.19 * @param ret Optional pointer to store return code.
1.20 @@ -279,7 +278,7 @@
1.21 {
1.22 if (ret)
1.23 {
1.24 - *ret = IFACE_FAILED;
1.25 + *ret = META_IFACE_FAILED;
1.26 }
1.27
1.28 return NULL;
1.29 @@ -290,7 +289,7 @@
1.30 * Metamod:Source's wrapper. This can be used to provide interfaces to
1.31 * other plugins.
1.32 *
1.33 - * If ret is passed, you should fill it with IFACE_OK or IFACE_FAILED.
1.34 + * If ret is passed, you should fill it with META_IFACE_OK or META_IFACE_FAILED.
1.35 *
1.36 * @param iface Interface string.
1.37 * @param ret Optional pointer to store return code.
1.38 @@ -301,7 +300,7 @@
1.39 {
1.40 if (ret)
1.41 {
1.42 - *ret = IFACE_FAILED;
1.43 + *ret = META_IFACE_FAILED;
1.44 }
1.45
1.46 return NULL;
1.47 @@ -312,7 +311,7 @@
1.48 * Metamod:Source's wrapper. This can be used to provide interfaces to
1.49 * other plugins.
1.50 *
1.51 - * If ret is passed, you should fill it with IFACE_OK or IFACE_FAILED.
1.52 + * If ret is passed, you should fill it with META_IFACE_OK or META_IFACE_FAILED.
1.53 *
1.54 * @param iface Interface string.
1.55 * @param ret Optional pointer to store return code.
1.56 @@ -323,7 +322,7 @@
1.57 {
1.58 if (ret)
1.59 {
1.60 - *ret = IFACE_FAILED;
1.61 + *ret = META_IFACE_FAILED;
1.62 }
1.63
1.64 return NULL;
1.65 @@ -334,7 +333,7 @@
1.66 * Metamod:Source's wrapper. This can be used to provide interfaces to
1.67 * other plugins.
1.68 *
1.69 - * If ret is passed, you should fill it with IFACE_OK or IFACE_FAILED.
1.70 + * If ret is passed, you should fill it with META_IFACE_OK or META_IFACE_FAILED.
1.71 *
1.72 * @param iface Interface string.
1.73 * @param ret Optional pointer to store return code.
1.74 @@ -345,7 +344,7 @@
1.75 {
1.76 if (ret)
1.77 {
1.78 - *ret = IFACE_FAILED;
1.79 + *ret = META_IFACE_FAILED;
1.80 }
1.81
1.82 return NULL;
1.83 @@ -355,7 +354,7 @@
1.84 * @brief Called when Metamod's own factory is invoked.
1.85 * This can be used to provide interfaces to other plugins.
1.86 *
1.87 - * If ret is passed, you should fill it with IFACE_OK or IFACE_FAILED.
1.88 + * If ret is passed, you should fill it with META_IFACE_OK or META_IFACE_FAILED.
1.89 *
1.90 * @param iface Interface string.
1.91 * @param ret Optional pointer to store return code.
1.92 @@ -366,7 +365,7 @@
1.93 {
1.94 if (ret)
1.95 {
1.96 - *ret = IFACE_FAILED;
1.97 + *ret = META_IFACE_FAILED;
1.98 }
1.99
1.100 return NULL;