restructure of HandleSys admin permissions and interface

removal of HandleSys helper functions
removed useless BaseContext stuff from Engine
put SourceMod specific stuff in BaseContext
cleaned up broken Handle code

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40267
This commit is contained in:
David Anderson
2007-01-04 02:08:27 +00:00
parent 15beb5afb0
commit 4bd40d69e1
13 changed files with 436 additions and 240 deletions
+8 -1
View File
@@ -12,7 +12,7 @@ public Plugin:myinfo =
native PrintStuff(const String:buffer[]);
public bool:AskPluginLoad(Handle:myself, bool:late, String:error[], err_max)
DoItAll()
{
new String:buffer[PLATFORM_MAX_PATH];
new FileType:type;
@@ -24,7 +24,14 @@ public bool:AskPluginLoad(Handle:myself, bool:late, String:error[], err_max)
Format(stuff, sizeof(stuff), "Type: %d Dir: %s", _:type, buffer)
PrintStuff(stuff);
}
new Handle:copy = CloneHandle(dir);
CloseHandle(copy);
CloseHandle(dir);
}
public bool:AskPluginLoad(Handle:myself, bool:late, String:error[], err_max)
{
DoItAll();
return true;
}