Sly 1:Game state: Difference between revisions

m
Layout
(Created Sly 1 subsystem article)
 
m (Layout)
Line 3:
}}
 
'''Game state''' is the subsystem that handles data which gets saved to the save file. It’sIt cornerstone ismanages a global instance of the {{Sly 1|GS}} struct, <code>g_gs</code>{{check}}, located at .
 
== Global values ==
{| class="wikitable"
! Address !! Type !! Name !! Description
|+ Caption text
|-
| g_pgsCur || GS* || 0x2623c0 || Pointer to current game state
! Address !! Type !! Name
|-
| g_pwsCur || WS* || 0x2623c4 || Pointer to current world state
| g_pgsCur || GS* || 0x2623c0
|-
| g_plsCur || LS* || 0x2623c8 || Pointer to current level state
| g_pwsCur || WS* || 0x2623c4
|-
| g_plsCur || LS* || 0x2623c8
|}