- rewrote internal convar hooking mechanism to prevent crashes and potential "race conditions"

- sharesys is now the first thing to run, so g_pCoreIdent is valid EVERYWHERE
- added internal convar hooking funcs for timersys

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401776
This commit is contained in:
David Anderson
2007-12-06 03:28:02 +00:00
parent 9ab9eba5d7
commit d78d7ab960
8 changed files with 115 additions and 81 deletions
+1 -1
View File
@@ -54,7 +54,7 @@ IdentityToken_t *ShareSystem::CreateCoreIdentity()
return CreateIdentity(m_CoreType, this);
}
void ShareSystem::OnSourceModStartup(bool late)
void ShareSystem::Initialize()
{
TypeAccess sec;
+1 -1
View File
@@ -84,7 +84,7 @@ public: //IShareSys
void OverrideNatives(IExtension *myself, const sp_nativeinfo_t *natives);
public: //SMGlobalClass
/* Pre-empt in case anything tries to register idents early */
void OnSourceModStartup(bool late);
void Initialize();
void OnSourceModShutdown();
public: //IHandleTypeDispatch
void OnHandleDestroy(HandleType_t type, void *object);