Sly 1:EXIT: Difference between revisions

Added struct fields
(Added EXITS enum)
(Added struct fields)
 
(One intermediate revision by the same user not shown)
Line 1:
{{SHORTDESC:A data structure in {{Sly 1}} thatrepresenting handlesa initiatingwarp transitionsfrom betweenone levelslevel to another.}}
{{Infobox data structure
| image= File:Sly 1 holographic marker.png
| caption= Many EXITs are accompanied by green holographic markers, but they are separate data structures
| sly1= y
}}
 
'''EXIT''' is a struct used in {{Sly 1}} that represents a warp from one level to initiateanother. Triggering an exit initiates a [[Sly 1:Transition|level transition]].
 
== Fields ==
{{Struct top}}
{{Struct field|0x2e0|0x4|int|fDefault}}
{{Struct field|0x2e4|0x4|int|fKeyed}}
{{Struct field|0x2e8|0x4|int|fFollowDefault}}
{{Struct field|0x2ec|0x4|int|fTotals}}
{{Struct field|0x2f0|0x4|EXITS|exits|Exit state}}
{{Struct field|0x2f4|0x4|float|tExits}}
{{Struct field|0x2f8|0x4|int|ctsurf}}
{{Struct field|0x2fc|0x4|TSURF *|atsurf}}
{{Struct field|0x300|0x4|int|ctbsp}}
{{Struct field|0x304|0x4|TBSP *|atbsp}}
{{Struct field|0x308|0x4|WID|widWarp}}
{{Struct field|0x30c|0x4|OID|oidWarp}}
{{Struct field|0x310|0x4|EDK|edkAlt}}
{{Struct field|0x314|0x4|WID|widAlt}}
{{Struct field|0x318|0x4|OID|oidAlt}}
{{Struct field|0x31c|0x4|int|cpaseg}}
{{Struct field|0x320|0x4|ASEG * *|apaseg}}
{{Struct field|0x324|0x4|WIPEK|wipek}}
{{Struct field|0x328|0x4|float|tWipe}}
{{Struct field|0x32c|0x4|float|dtUnblock}}
{{Struct field|0x330|0x4|float|dtTriggerWipe}}
{{Struct bottom}}
 
== EXITS ==
 
Each exitEXIT has a state which is represented by the EXITS (exit state) enum. The EXITS enum has the following possible values:
 
{| class="wikitable"
Line 26 ⟶ 52:
|}
 
You can freely change a DisabledDISABLED exit to be EnabledENABLED and vice versa. However, changing a BlockedBLOCKED exit to EnabledENABLED won’t do anything. Blocked exits are special in a way we don’t yet understand.
 
{{To doInvestigate|Figure out if it’s possible to unblock an exit withoutwith memory ACEediting.}}
 
{{Navbox Sly 1}}