Sly 1:SW: Difference between revisions

Updated with new info
(Created Sly 1 struct stub)
 
(Updated with new info)
 
(2 intermediate revisions by the same user not shown)
Line 1:
{{Infobox data structure
}}
'''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}}
 
'''SW''' is a struct related to physics objects in {{Sly 1}}. There is a global instance of it called <code>g_psw</code> which apparently all entities store a pointer to.
{{Investigate}}
 
== 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 SW pointer (<code>psw</code>) to 00000000 (<code>NULLPTRnullptr</code>), it disables all collision for that entity. This indicatessuggests that the SW stores pointers orto collisionobjects datain fora thelevel, objectsor inat aleast levelcollision data.
 
== See also ==
* {{Sly 1|SO}}
* {{Sly 1|LO}}
* {{Sly 1|PO}}