Sly 1:Splice: Difference between revisions

From SlyMods
Jump to navigation Jump to search
Content added Content deleted
m (Fixed typo)
(Added infobox)
Line 1: Line 1:
{{Infobox subsystem
| name= Splice
| sly1= y
| startup= 0x11bf70
}}

'''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.


Line 13: Line 19:
{{Stub}}
{{Stub}}
{{Navbox Sly 1}}
{{Navbox Sly 1}}
[[Category:Subsystems in Sly 1]]

Revision as of 01:53, 27 July 2022

Splice
Subsystem
Click here to upload a new image.[[Media:|Dummy link]]
GameSly Cooper and the Thievius Raccoonus
Startup Function0x11bf70

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.

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