DB/CameraShakes: Difference between revisions
Jump to navigation
Jump to search
Barncastle (talk | contribs) m (→Struct) |
|||
(One intermediate revision by the same user not shown) | |||
Line 64: | 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:DBC]] | ||
[[Category:DBC_Alpha]] | |||
[[Category:DBC_Vanilla]] | |||
[[Category:DBC_WotLK]][[Category:3.0.2.8905]][[Category:3.3.5.12340]] | [[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
};