1.1 --- a/extensions/bintools/sdk/smsdk_ext.cpp Wed Jan 07 22:55:40 2009 -0500
1.2 +++ b/extensions/bintools/sdk/smsdk_ext.cpp Thu Jan 08 18:17:17 2009 +1300
1.3 @@ -97,6 +97,24 @@
1.4 #if defined SMEXT_ENABLE_TRANSLATOR
1.5 ITranslator *translator = NULL;
1.6 #endif
1.7 +#if defined SMEXT_ENABLE_PLUGINSYS
1.8 +SourceMod::IPluginManager *plsys;
1.9 +#endif
1.10 +#if defined SMEXT_ENABLE_MENUS
1.11 +IMenuManager *menus = NULL;
1.12 +#endif
1.13 +#if defined SMEXT_ENABLE_ADMINSYS
1.14 +IAdminSystem *adminsys = NULL;
1.15 +#endif
1.16 +#if defined SMEXT_ENABLE_TEXTPARSERS
1.17 +ITextParsers *textparsers = NULL;
1.18 +#endif
1.19 +#if defined SMEXT_ENABLE_USERMSGS
1.20 +IUserMessages *usermsgs = NULL;
1.21 +#endif
1.22 +#if defined SMEXT_ENABLE_TRANSLATOR
1.23 +ITranslator *translator = NULL;
1.24 +#endif
1.25
1.26 /** Exports the main interface */
1.27 PLATFORM_EXTERN_C IExtensionInterface *GetSMExtAPI()
1.28 @@ -185,6 +203,24 @@
1.29 #if defined SMEXT_ENABLE_TRANSLATOR
1.30 SM_GET_IFACE(TRANSLATOR, translator);
1.31 #endif
1.32 +#if defined SMEXT_ENABLE_PLUGINSYS
1.33 + SM_GET_IFACE(PLUGINSYSTEM, plsys);
1.34 +#endif
1.35 +#if defined SMEXT_ENABLE_MENUS
1.36 + SM_GET_IFACE(MENUMANAGER, menus);
1.37 +#endif
1.38 +#if defined SMEXT_ENABLE_ADMINSYS
1.39 + SM_GET_IFACE(ADMINSYS, adminsys);
1.40 +#endif
1.41 +#if defined SMEXT_ENABLE_TEXTPARSERS
1.42 + SM_GET_IFACE(TEXTPARSERS, textparsers);
1.43 +#endif
1.44 +#if defined SMEXT_ENABLE_USERMSGS
1.45 + SM_GET_IFACE(USERMSGS, usermsgs);
1.46 +#endif
1.47 +#if defined SMEXT_ENABLE_TRANSLATOR
1.48 + SM_GET_IFACE(TRANSLATOR, translator);
1.49 +#endif
1.50
1.51 if (SDK_OnLoad(error, maxlength, late))
1.52 {