1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2025-09-21 04:56:01 +08:00

Updated IGameSystem (bug 5627).

This commit is contained in:
Nicholas Hastings
2013-02-25 09:32:39 -05:00
parent b138962b47
commit f5d27e565f
2 changed files with 9 additions and 0 deletions

View File

@ -260,6 +260,11 @@ void IGameSystem::LevelInitPostEntityAllSystems( void )
InvokeMethod( &IGameSystem::LevelInitPostEntity, "LevelInitPostEntity" );
}
void IGameSystem::LevelShutdownPreClearSteamAPIContextAllSystems()
{
InvokeMethodReverseOrder( &IGameSystem::LevelShutdownPreClearSteamAPIContext );
}
void IGameSystem::LevelShutdownPreEntityAllSystems()
{
InvokeMethodReverseOrder( &IGameSystem::LevelShutdownPreEntity );

View File

@ -40,6 +40,7 @@ public:
// entities are created / spawned / precached here
virtual void LevelInitPostEntity() = 0;
virtual void LevelShutdownPreClearSteamAPIContext() {};
virtual void LevelShutdownPreEntity() = 0;
// Entities are deleted / released here...
virtual void LevelShutdownPostEntity() = 0;
@ -75,6 +76,7 @@ public:
static void ShutdownAllSystems();
static void LevelInitPreEntityAllSystems( char const* pMapName );
static void LevelInitPostEntityAllSystems();
static void LevelShutdownPreClearSteamAPIContextAllSystems();
static void LevelShutdownPreEntityAllSystems();
static void LevelShutdownPostEntityAllSystems();
@ -139,6 +141,7 @@ public:
// Level init, shutdown
virtual void LevelInitPreEntity() {}
virtual void LevelInitPostEntity() {}
virtual void LevelShutdownPreClearSteamAPIContext() {}
virtual void LevelShutdownPreEntity() {}
virtual void LevelShutdownPostEntity() {}
@ -185,6 +188,7 @@ public:
// Level init, shutdown
virtual void LevelInitPreEntity() {}
virtual void LevelInitPostEntity() {}
virtual void LevelShutdownPreClearSteamAPIContext() {}
virtual void LevelShutdownPreEntity() {}
virtual void LevelShutdownPostEntity() {}