Sly 1:Splice: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
TheOnlyZac (talk | contribs) (Removed blank line before lead) Tags: Mobile edit Mobile web edit |
TheOnlyZac (talk | contribs) (Added image and investigate tag) |
||
Line 1: | Line 1: | ||
{{Infobox subsystem |
{{Infobox subsystem |
||
| name= Splice |
| name= Splice |
||
| image= Sly 1 SDC 3key unlocking.png |
|||
| caption= Splice handles in-game cutscenes and their effects on the game state. |
|||
| sly1= y |
| sly1= y |
||
| startup= 0x11bf70 |
| startup= 0x11bf70 |
||
Line 6: | Line 8: | ||
'''Splice''' is the subsystem that manages the level scripts in {{Sly 1}}. It seems to also be used in {{Sly 2}} and {{Sly 3}}, but further research is needed. |
'''Splice''' is the subsystem that manages the level scripts in {{Sly 1}}. It seems to also be used in {{Sly 2}} and {{Sly 3}}, but further research is needed. |
||
{{Investigate|What is CSplotheap and how does Splice handle game events, messages, and cutscenes}} |
|||
==Startup== |
==Startup== |
||
{{Todo|Investigate and add more info}} |
|||
During a level load, <code>LoadSwFromBrx</code> calls <code>StartupSplice</code>. This calls <code>CSplotheap::Startup</code> on five [[CSplotheap|splotheap]] instances, each of varying size. It also calls <code>CGc::Startup</code> on the global <code>g_gc</code> instance. |
During a level load, <code>LoadSwFromBrx</code> calls <code>StartupSplice</code>. This calls <code>CSplotheap::Startup</code> on five [[CSplotheap|splotheap]] instances, each of varying size. It also calls <code>CGc::Startup</code> on the global <code>g_gc</code> instance. |
||
Revision as of 16:15, 2 August 2022
Subsystem | |
---|---|
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. |
Startup
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
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
This section is empty. You can help by adding to it. |
This article is a stub. You can help SlyMods by expanding it. |