Sly 1:Splice: Difference between revisions
m
Layout tweaks
TheOnlyZac (talk | contribs) (Added file prefix) |
TheOnlyZac (talk | contribs) m (Layout tweaks) |
||
Line 9:
{{Investigate|What is CSplotheap and how does Splice handle game events, messages, and cutscenes}}
==
=== Startup ===
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.
=== Shutdown ===
When a level transition occurs, <code>CTransition::Execute</code> calls <code>DeleteSw</code> which in turn calls <code>ShutdownSplice</code>. This calls <code>CSplotheap::Shutdown</code> on the five splotheaps initialized when the level was loaded. It also calls <code>CGc::Shutdown</code> on the global <code>g_gc</code> instance.
== Events ==
{{Empty section}}
{{Stub}}▼
{{Navbox Sly 1}}
▲{{Stub}}
|