DB/CameraMode: Difference between revisions
Jump to navigation
Jump to search
(add full and correct info for 6.0.1.18179) |
mNo edit summary |
||
(9 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
__TOC__ | |||
{{Template:Sandbox/VersionRange|min_expansionlevel=4}} | |||
==unknown cata-6.0.1.18179== | |||
===Struct=== | |||
==6.0.1.18179== | |||
struct CameraModeRec { | struct CameraModeRec { | ||
uint32_t m_ID; | |||
stringref m_name; | {{Template:Type|stringref}} m_name; | ||
uint32_t m_type; // CCameraModeType | |||
uint32_t m_flags; | |||
float m_positionOffset[3]; | float m_positionOffset[3]; | ||
float m_targetOffset[3]; | float m_targetOffset[3]; | ||
Line 31: | Line 16: | ||
float m_rotationSmoothing; | float m_rotationSmoothing; | ||
float m_fieldOfView; | float m_fieldOfView; | ||
uint32_t m_lockedPositionOffsetBase; | |||
uint32_t m_lockedPositionOffsetDirection; | |||
uint32_t m_lockedTargetOffsetBase; | |||
uint32_t m_lockedTargetOffsetDirection; | |||
}; | }; | ||
enum CCameraModeType | |||
{ | |||
Legacy = 0x1, | |||
Locked = 0x2, | |||
Animated = 0x3, | |||
Simple = 0x4 | |||
}; | |||
===Hardcoded cameras=== | |||
* debug animated: type = 3, flags = 0x80 | |||
* debug scripted: type = 4, flags = 0 | |||
* scene null: type = 4, flags = 0 | |||
* gluescreen default: type = 4, flags = 0 | |||
* debug glue screen one shot: 4, flags = 0x1000 | |||
[[Category:DBC]] | [[Category:DBC]] | ||
[[Category: | [[Category:DBC_WoD]][[Category:6.0.1.18179]] | ||
[[Category: |
Latest revision as of 12:35, 16 June 2019
unknown cata-6.0.1.18179
Struct
struct CameraModeRec { uint32_t m_ID; stringrefⁱ m_name; uint32_t m_type; // CCameraModeType uint32_t m_flags; float m_positionOffset[3]; float m_targetOffset[3]; float m_positionSmoothing; float m_rotationSmoothing; float m_fieldOfView; uint32_t m_lockedPositionOffsetBase; uint32_t m_lockedPositionOffsetDirection; uint32_t m_lockedTargetOffsetBase; uint32_t m_lockedTargetOffsetDirection; }; enum CCameraModeType { Legacy = 0x1, Locked = 0x2, Animated = 0x3, Simple = 0x4 };
Hardcoded cameras
- debug animated: type = 3, flags = 0x80
- debug scripted: type = 4, flags = 0
- scene null: type = 4, flags = 0
- gluescreen default: type = 4, flags = 0
- debug glue screen one shot: 4, flags = 0x1000