1.1 --- a/sourcemm/metamod_provider.h Mon Nov 26 14:03:25 2007 +0000
1.2 +++ b/sourcemm/metamod_provider.h Fri Dec 14 04:32:47 2007 +0000
1.3 @@ -186,9 +186,7 @@
1.4 /**
1.5 * @brief Notifies the provider that the DLLInit pre-hook is almost done.
1.6 */
1.7 - virtual void Notify_DLLInit_Pre(void *gamedll,
1.8 - CreateInterfaceFn engineFactory,
1.9 - CreateInterfaceFn serverFactory) =0;
1.10 + virtual void Notify_DLLInit_Pre(CreateInterfaceFn engineFactory, CreateInterfaceFn serverFactory) =0;
1.11
1.12 virtual void Notify_DLLShutdown_Pre() =0;
1.13
1.14 @@ -291,6 +289,14 @@
1.15 * @return SOURCE_ENGINE constant.
1.16 */
1.17 virtual int DetermineSourceEngine(const char *game) =0;
1.18 +
1.19 + /**
1.20 + * @brief Returns if the provider has loaded itself through an
1.21 + * alternate means (that is, not through gameinfo.txt.
1.22 + *
1.23 + * @return True if loaded, false otherwise.
1.24 + */
1.25 + virtual bool IsAlternatelyLoaded() =0;
1.26 };
1.27 };
1.28