Difference between revisions of "DB/CameraMode"

From wowdev
Jump to: navigation, search
(add full and correct info for 6.0.1.18179)
m
 
(9 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 ?
 
00000014 field_14 dd ?
 
00000018 field_18 dd ?
 
0000001C field_1C dd ?
 
00000020 field_20 dd ?
 
00000024 field_24 dd ?
 
00000028 field_28 dd ?
 
0000002C field_2C dd ?
 
00000030 field_30 dd ?
 
00000034 field_34 dd ?
 
00000038 field_38 dd ?
 
0000003C field_3C dd ?
 
00000040 field_40 dd ?
 
00000044 CameraModeRec ends
 
==6.0.1.18179==
 
 
  struct CameraModeRec {
 
  struct CameraModeRec {
   int m_ID;
+
   uint32_t m_ID;
   stringref m_name;
+
   {{Template:Type|stringref}} m_name;
   int m_type;
+
   uint32_t m_type;                               // CCameraModeType
   int m_flags;
+
   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;
   int m_lockedPositionOffsetBase;
+
   uint32_t m_lockedPositionOffsetBase;
   int m_lockedPositionOffsetDirection;
+
   uint32_t m_lockedPositionOffsetDirection;
   int m_lockedTargetOffsetBase;
+
   uint32_t m_lockedTargetOffsetBase;
   int m_lockedTargetOffsetDirection;
+
   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 12: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