added a hacky way to get NULL references

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40944
This commit is contained in:
David Anderson
2007-06-15 20:23:40 +00:00
parent 6193ed8431
commit 6acaaac769
5 changed files with 51 additions and 6 deletions
+6 -4
View File
@@ -85,11 +85,13 @@ enum PluginInfo
*/
struct Extension
{
const String:name[], /* Short name */
const String:file[], /* Default file name */
bool:autoload, /* Whether or not to auto-load */
bool:required, /* Whether or not to require */
const String:name[], /**< Short name */
const String:file[], /**< Default file name */
bool:autoload, /**< Whether or not to auto-load */
bool:required, /**< Whether or not to require */
};
public Float:NULL_VECTOR[3]; /**< Pass this into certain functions to act as a C++ NULL */
#define AUTOLOAD_EXTENSIONS
#define REQUIRE_EXTENSIONS