Sly 1:SW: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
TheOnlyZac (talk | contribs) (Layout) |
TheOnlyZac (talk | contribs) (Updated with new info) |
||
Line 1: | Line 1: | ||
{{Infobox data structure |
{{Infobox data structure |
||
}} |
}} |
||
'''SW''' is a struct related to |
'''SW''' is a struct related to game objects and entities in {{Sly 1}}. Its internal name is "WORLD". |
||
{{Investigate|What does SW stand for and exactly what kind of data does it store}} |
|||
{{Investigate}} |
|||
== Notes == |
== Notes == |
||
* There is a global instance of the SW struct called <code>g_psw</code>. Apparently all entities have a pointer to this global struct called <code>psw</code>. |
|||
* If you set an entity's |
* If you set an entity's <code>psw</code> to 00000000 (<code>nullptr</code>), it disables collision for that entity. This suggests that the SW stores pointers to objects in a level, or at least collision data. |
||
== See also == |
== See also == |
||
* {{Sly 1|SO}} |
|||
* {{Sly 1|LO}} |
* {{Sly 1|LO}} |
||
* {{Sly 1|PO}} |
* {{Sly 1|PO}} |
Latest revision as of 16:49, 7 September 2023
Data Structure | |
---|---|
Game | Sly Cooper and the Thievius Raccoonus |
SW is a struct related to game objects and entities in Sly Cooper and the Thievius Raccoonus. Its internal name is "WORLD".
This topic needs further investigation. |
Notes
- There is a global instance of the SW struct called
g_psw
. Apparently all entities have a pointer to this global struct calledpsw
. - If you set an entity's
psw
to 00000000 (nullptr
), it disables collision for that entity. This suggests that the SW stores pointers to objects in a level, or at least collision data.
See also
This article is a stub. You can help SlyMods by expanding it. |