struct BATTLE_CAMERA
The battle camera: its eye, the focus it turns about, and its pitch, yaw and distance. More…
Declared in battle_camera.h.
Fields
| Name | Description | |
|---|---|---|
FIXED | eye [3] | The eye, 16.16 fixed-point pixels: written each tick distance behind the focus along the turned view. |
FIXED | focus [3] | The focus, 16.16 fixed-point pixels. |
Sint32 * | followEye | When set, fdActorSystemProjectSprites faces the sprites from it instead of eye; every camera setup clears it and nothing sets it. |
Sint32 * | followPos | When set, followed instead of focus. |
FIXED | distance | Eye to focus, 16.16 fixed-point pixels. |
Uint8 | unusedAfterDistance [16] | No code names it. |
Sint16 | pitch | 1/65536 turns. |
Sint16 | yaw | 1/65536 turns. |
Uint8 | unusedAfterYaw [20] | No code names it. |
Description
The battle camera: its eye, the focus it turns about, and its pitch, yaw and
distance. It lives in the HEAP_SLOT_CAMERA heap slot.
struct BATTLE_CAMERA
Referenced by btCameraApplyPhasedDelta(), btCameraApplyTransform(), btCameraSetCommandView(), btCameraSetDefaultView(), btCameraSetRange(), btCameraSetView(), btCameraSetViewAtDepth(), btCameraUpdate(), btEffectRunAnnihilation(), btEffectRunAstralBlast(), btEffectRunAttackSlash(), btEffectRunBind(), btEffectRunBreak(), btEffectRunCastingImpact(), btEffectRunCriticalHit(), btEffectRunCybele(), btEffectRunDeathPlunge(), btEffectRunDjinnBeams(), btEffectRunDjinnHeal(), btEffectRunDjinniEntrance(), btEffectRunDragonCloud(), btEffectRunDragonFire(), btEffectRunDrain(), btEffectRunElementPillar(), btEffectRunEruption(), btEffectRunFire(), btEffectRunFlurry(), btEffectRunFroth(), btEffectRunGatheringLights(), btEffectRunGround(), btEffectRunHaunt(), btEffectRunHealingMotes(), btEffectRunJudgment(), btEffectRunLobbedShells(), btEffectRunMoteFountain(), btEffectRunOrbitingSkulls(), btEffectRunPlanetDiver(), btEffectRunPlasma(), btEffectRunPrism(), btEffectRunProcne(), btEffectRunProjectileVolley(), btEffectRunQuake(), btEffectRunRushingStrike(), btEffectRunShiningStar(), btEffectRunSleep(), btEffectRunSparkGroups(), btEffectRunStarfieldFall(), btEffectRunStatBoost(), btEffectRunStatReduction(), btEffectRunStreakVolley() and 15 more.
Definition at line 17 of file battle_camera.h.
Fields in detail
eye
FIXED eye[3]
The eye, 16.16 fixed-point pixels: written each tick distance behind the focus along the turned view.
focus
FIXED focus[3]
The focus, 16.16 fixed-point pixels.
followEye
Sint32 *followEye
When set, fdActorSystemProjectSprites
faces the sprites from it instead of
eye; every camera setup clears it and
nothing sets it.
followPos
Sint32 *followPos
When set, followed instead of focus.
distance
FIXED distance
Eye to focus, 16.16 fixed-point pixels.
unusedAfterDistance
Uint8 unusedAfterDistance[16]
No code names it.
pitch
Sint16 pitch
1/65536 turns.
yaw
Sint16 yaw
1/65536 turns.
unusedAfterYaw
Uint8 unusedAfterYaw[20]
No code names it.