DB/CameraMode: Difference between revisions

From wowdev
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(10 intermediate revisions by 5 users not shown)
Line 1: Line 1:
New in Cataclysm.
__TOC__


  00000000 CameraModeRec struc ; (sizeof=0x44)
{{Template:Sandbox/VersionRange|min_expansionlevel=4}}
00000000 m_ID dd ?
 
00000004 m_name dd ?
 
00000008 m_cameraModeType dd ?                  ; enum CCameraModeType
==unknown cata-6.0.1.18179==
0000000C m_flags dd ?
===Struct===
  00000010 field_10 dd ?
  struct CameraModeRec {
  00000014 field_14 dd ?
  uint32_t m_ID;
  00000018 field_18 dd ?
  {{Template:Type|stringref}} m_name;
  0000001C field_1C dd ?
  uint32_t m_type;                               // CCameraModeType
00000020 field_20 dd ?
  uint32_t m_flags;
00000024 field_24 dd ?
  float m_positionOffset[3];
  00000028 field_28 dd ?
  float m_targetOffset[3];
0000002C field_2C dd ?
  float m_positionSmoothing;
00000030 field_30 dd ?
  float m_rotationSmoothing;
00000034 field_34 dd ?
  float m_fieldOfView;
00000038 field_38 dd ?
  uint32_t m_lockedPositionOffsetBase;
0000003C field_3C dd ?
  uint32_t m_lockedPositionOffsetDirection;
00000040 field_40 dd ?
  uint32_t m_lockedTargetOffsetBase;
00000044 CameraModeRec ends
  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:DBC_Cataclysm]]
[[Category:DBC_WoD]][[Category:6.0.1.18179]]
[[Category:DBC_MoP]]

Latest revision as of 11:35, 16 June 2019

≥ Cata


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