Sly 1:Difficulty: Difference between revisions

m
→‎Difficulty Levels: Tweaked wording
(Cleanup, added details)
Tags: Mobile edit Mobile web edit Visual edit
m (→‎Difficulty Levels: Tweaked wording)
Line 5:
 
=== Difficulty Levels ===
Sly 1 has three difficulty levels: easy, medium, and hard, each with a corresponding global <code>DifficultyLevel</code> struct in the executable. During a level transition, during execution of the function <code>LoadSwFromBrx</code>, the game calls <code>OnDifficultyWorldPreLoad</code>. This function sets the current difficulty level based on the following conditions:
 
* If the [[gameworld]] is Paris/the Hideout (<code>GAMEWORLD_Intro</code>) or The Cold Heart of Hate (<code>GAMEWORLD_Clockwerk</code>), or if the current [[worldlevel]] is a hub (<code>WORLDLEVEL_Hub</code>), then it sets the easy difficulty.