extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401098
This commit is contained in:
David Anderson 2007-07-13 00:38:54 +00:00
parent 215a5b49bc
commit 1e455f59ad

View File

@ -91,8 +91,18 @@ struct Extension
bool:required, /**< Whether or not to require */ bool:required, /**< Whether or not to require */
}; };
/**
* Defines how a plugin must expose itself for native requiring.
*/
struct SharedPlugin
{
const String:name[], /**< Short name */
bool:required, /**< Whether or not to require */
};
public Float:NULL_VECTOR[3]; /**< Pass this into certain functions to act as a C++ NULL */ public Float:NULL_VECTOR[3]; /**< Pass this into certain functions to act as a C++ NULL */
public const String:NULL_STRING[1]; /**< pass this into certain functions to act as a C++ NULL */ public const String:NULL_STRING[1]; /**< pass this into certain functions to act as a C++ NULL */
#define AUTOLOAD_EXTENSIONS #define AUTOLOAD_EXTENSIONS
#define REQUIRE_EXTENSIONS #define REQUIRE_EXTENSIONS
#define REQUIRE_PLUGIN