Committed new auto-module registering system

require_module is now DEPRECATED
This commit is contained in:
David Anderson
2005-07-15 19:15:58 +00:00
parent 70396a2fc1
commit 3cba7811bd
7 changed files with 73 additions and 72 deletions

View File

@@ -57,6 +57,7 @@ struct amxx_module_info_s
const char *author;
const char *version;
int reload; // reload on mapchange when nonzero
const char *logtag; //added in version 2
};
@@ -65,7 +66,7 @@ struct amxx_module_info_s
#define AMXX_PARAM 2 /* Invalid parameter */
#define AMXX_FUNC_NOT_PRESENT 3 /* Function not present */
#define AMXX_INTERFACE_VERSION 1
#define AMXX_INTERFACE_VERSION 2
class CModule
{