Sly 1:CM: Difference between revisions

Added struct fields
(Created sly 1 struct article)
 
(Added struct fields)
 
Line 8:
 
== Fields ==
{{EmptyStruct sectiontop}}
{{Field|0x40|0x4|float|x|X position}}
{{Field|0x44|0x4|float|y|Y position}}
{{Field|0x48|0x4|float|z|Z position}}
{{Field|0xb0|0x4|float|fade dist|Distance at which objects fade out}}
{{Field|0xe4|0x4|float|pitch|Tilts the camera but skews the perspective}}
{{Field|0xec|0x4|float|yaw|Tilts the camera but skews the perspective}}
{{Field|0xf0|0x4|float|h offset|Horizontal position offset}}
{{Field|0xf4|0x4|float|v offset|Vertical position offset}}
{{Field|0xf8|0x4|float|render distance|Distance of the clipping plane}}
{{Field|0xfc|0x4|float|zoom|How closely the camera is zoomed in}}
{{Field|0x1c4|0x4|float|actual FOV|Real current FOV, gradually adjusts to target}}
{{Field|0x1c8|0x4|float|target FOV|Target value for the real FOV}}
{{Field|0x200|0x4|float|fog amount|Float from 0.0 to 1.0}}
{{Field|0x204|0x4|RGBA|fog color|Some objects override this with their own values}}
{{Field|0x220|0x4|int|reset cm flag|Set to 1 to reset camera values to defaults}}
{{Field|0x3dc|0x4|struct LO*|focus pointer|Pointer to the currently focused entity}}
{{Field|0x528|0x4|int|angular behavior|Changes camera angle and behavior based on the value}}
{{Field|0x52c|0x4|float|rotation|Rotation angle in radians (-3.14 to +3.14)}}
{{Struct bottom}}
 
{{Stub}}
{{Navbox Sly 1}}