diff -r 9f123e1a6c28 -r e9cfc03b9bb8 extensions/sdktools/sdk/smsdk_ext.cpp
--- a/extensions/sdktools/sdk/smsdk_ext.cpp Wed Aug 01 02:18:19 2007 +0000
+++ b/extensions/sdktools/sdk/smsdk_ext.cpp Wed Aug 01 02:48:11 2007 +0000
@@ -1,17 +1,31 @@
/**
* vim: set ts=4 :
- * ===============================================================
- * SourceMod, Copyright (C) 2004-2007 AlliedModders LLC.
- * All rights reserved.
- * ===============================================================
+ * ================================================================
+ * SourceMod Sample Extension
+ * Copyright (C) 2004-2007 AlliedModders LLC. All rights reserved.
+ * ================================================================
*
- * This file is part of the SourceMod/SourcePawn SDK. This file may only be
- * used or modified under the Terms and Conditions of its License Agreement,
- * which is found in public/licenses/LICENSE.txt. As of this notice, derivative
- * works must be licensed under the GNU General Public License (version 2 or
- * greater). A copy of the GPL is included under public/licenses/GPL.txt.
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License,
+ * version 3.0, as published by the Free Software Foundation.
*
- * To view the latest information, see: http://www.sourcemod.net/license.php
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see .
+ *
+ * As a special exception, AlliedModders LLC gives you permission to
+ * link the code of this program (as well as its derivative works) to
+ * "Half-Life 2," the "Source Engine," the "SourcePawn JIT," and any
+ * Game MODs that run on software by the Valve Corporation. You must
+ * obey the GNU General Public License in all respects for all other
+ * code used. Additionally, AlliedModders LLC grants this exception
+ * to all derivative works. AlliedModders LLC defines further
+ * exceptions, found in LICENSE.txt (as of this writing, version
+ * JULY-31-2007), or .
*
* Version: $Id$
*/
@@ -47,10 +61,10 @@
#endif //SMEXT_ENABLE_DBMANAGER
#if defined SMEXT_ENABLE_GAMECONF
IGameConfigManager *gameconfs = NULL; /**< Game config manager */
-#endif
+#endif //SMEXT_ENABLE_DBMANAGER
#if defined SMEXT_ENABLE_MEMUTILS
IMemoryUtils *memutils = NULL;
-#endif
+#endif //SMEXT_ENABLE_DBMANAGER
#if defined SMEXT_ENABLE_GAMEHELPERS
IGameHelpers *gamehelpers = NULL;
#endif
@@ -60,6 +74,12 @@
#if defined SMEXT_ENABLE_ADTFACTORY
IADTFactory *adtfactory = NULL;
#endif
+#if defined SMEXT_ENABLE_THREADER
+IThreader *threader = NULL;
+#endif
+#if defined SMEXT_ENABLE_LIBSYS
+ILibrarySys *libsys = NULL;
+#endif
/** Exports the main interface */
PLATFORM_EXTERN_C IExtensionInterface *GetSMExtAPI()
@@ -124,6 +144,12 @@
#if defined SMEXT_ENABLE_ADTFACTORY
SM_GET_IFACE(ADTFACTORY, adtfactory);
#endif
+#if defined SMEXT_ENABLE_THREADER
+ SM_GET_IFACE(THREADER, threader);
+#endif
+#if defined SMEXT_ENABLE_LIBSYS
+ SM_GET_IFACE(LIBRARYSYS, libsys);
+#endif
if (SDK_OnLoad(error, maxlength, late))
{