Sly 1:Splice
(Redirected from Splice)
Subsystem | |
---|---|
![]() The gate unlocking animation triggered by Splice in v_hub | |
Description | Subsystem which handles scripted events and their effects on the game state. |
Game | Sly Cooper and the Thievius Raccoonus |
Startup Function | 0x11bf70 |
Splice is the subsystem that manages the level scripts in Sly Cooper and the Thievius Raccoonus. It seems to also be used in Sly 2: Band of Thieves and Sly 3: Honor Among Thieves, but further research is needed.
This topic needs further investigation. |
Lifecycle[edit | edit source]
Startup[edit | edit source]
During a level load, LoadSwFromBrx
calls StartupSplice
. This calls CSplotheap::Startup
on five splotheap instances, each of varying size. It also calls CGc::Startup
on the global g_gc
instance.
Shutdown[edit | edit source]
When a level transition occurs, CTransition::Execute
calls DeleteSw
which in turn calls ShutdownSplice
. This calls CSplotheap::Shutdown
on the five splotheaps initialized when the level was loaded. It also calls CGc::Shutdown
on the global g_gc
instance.
Events[edit | edit source]
This section is empty. You can help by adding to it. |
This article is a stub. You can help SlyMods by expanding it. |