DB/CameraShakes: Difference between revisions

From wowdev
Jump to navigation Jump to search
mNo edit summary
 
(6 intermediate revisions by 4 users not shown)
Line 1: Line 1:
__TOC__
Actually there's no real Information. Mostly shaking cameras.
Actually there's no real Information. Mostly shaking cameras.


==0.5.3.3368==
==0.5.3.3368-1.12.1.5875-3.0.2.8905-3.3.5.12340==
struct CameraShakesRec {
===Table===
  uint32_t m_ID;
  uint32_t m_shakeType;
  uint32_t m_direction;
  float m_amplitude;
  float m_frequency;
  float m_duration;
  float m_phase;
  float m_coefficient;
};
==Structure==
{| style="background:#FCFCFC; color:black"
{| style="background:#FCFCFC; color:black"
|-  
|-  
Line 22: Line 13:
| 1  || ID  || Integer  ||  
| 1  || ID  || Integer  ||  
|-  
|-  
| 2  || shakeType || CGCameraShakeType  ||  
| 2  || ShakeType || CGCameraShakeType  ||  
|-  
|-  
| 3  || direction || CGCameraDir  ||
| 3  || Direction || CGCameraDir  ||
|-  
|-  
| 4  || amplitude || Float || Multiplied by 0.027777778f when passed to CGCamera::AddShake.
| 4  || Amplitude || Float || Multiplied by 0.027777778f when passed to CGCamera::AddShake.
|-  
|-  
| 5  || frequency || Float
| 5  || Frequency || Float
|-  
|-  
| 6  || duration || Float
| 6  || Duration || Float
|-  
|-  
| 7  || phase || Float
| 7  || Phase || Float
|-  
|-  
| 8  || coefficient || Float
| 8  || Coefficient || Float
|}
|}


Used in client:
===Struct===
  CGCamera::AddShake( vector, shakeType, direction, amplitude*0.027777778, frequency, duration, phase, coefficient );
enum CGCameraShakeType : uint32_t
  {
  CAMSHAKE_SINE=0,
  CAMSHAKE_DECAYED_SINE=1,
  NUM_CAMERA_SHAKETYPES=2
};
enum CGCameraDir : uint32_t
{
  CAMERA_FORWARD=0,
  CAMERA_RIGHT=1,
  CAMERA_UP=2,
  NUM_CAMERA_DIRECTIONS=3
};
struct CameraShakesRec {
  uint32_t m_ID;
  CGCameraShakeType m_shakeType;
  CGCameraDir m_direction;
  float m_amplitude;
  float m_frequency;
  float m_duration;
  float m_phase;
  float m_coefficient;
};


==6.0.1.18179==
==6.0.1.18179==
===Struct===
  struct CameraShakesRec {
  struct CameraShakesRec {
   uint32_t m_ID;
   uint32_t m_ID;
Line 50: Line 64:
   float m_phase;
   float m_phase;
   float m_coefficient;
   float m_coefficient;
   uint32_t m_flags;
   uint32_t m_flags; // &4: force 0.f duration <code>CCameraManager::AddShake</code>
  };
  };
[[Category:DBC]][[Category:3.0.2.8905]][[Category:DBC_WotLK]]
[[Category:DBC]]
[[Category:DBC_Alpha]]
[[Category:DBC_Vanilla]]
[[Category:DBC_WotLK]][[Category:3.0.2.8905]][[Category:3.3.5.12340]]
[[Category:DBC_WoD]][[Category:6.0.1.18179]]
[[Category:DBC_WoD]][[Category:6.0.1.18179]]

Latest revision as of 12:41, 3 May 2019

Actually there's no real Information. Mostly shaking cameras.

0.5.3.3368-1.12.1.5875-3.0.2.8905-3.3.5.12340

Table

Column Field Type Notes
1 ID Integer
2 ShakeType CGCameraShakeType
3 Direction CGCameraDir
4 Amplitude Float Multiplied by 0.027777778f when passed to CGCamera::AddShake.
5 Frequency Float
6 Duration Float
7 Phase Float
8 Coefficient Float

Struct

enum CGCameraShakeType : uint32_t
{
  CAMSHAKE_SINE=0,
  CAMSHAKE_DECAYED_SINE=1,
  NUM_CAMERA_SHAKETYPES=2
};
enum CGCameraDir : uint32_t
{
  CAMERA_FORWARD=0,
  CAMERA_RIGHT=1,
  CAMERA_UP=2,
  NUM_CAMERA_DIRECTIONS=3
};
struct CameraShakesRec {
  uint32_t m_ID;
  CGCameraShakeType m_shakeType;
  CGCameraDir m_direction;
  float m_amplitude;
  float m_frequency;
  float m_duration;
  float m_phase;
  float m_coefficient;
};

6.0.1.18179

Struct

struct CameraShakesRec {
  uint32_t m_ID;
  uint32_t m_shakeType;
  uint32_t m_direction;
  float m_amplitude;
  float m_frequency;
  float m_duration;
  float m_phase;
  float m_coefficient;
  uint32_t m_flags;  // &4: force 0.f duration CCameraManager::AddShake
};