Skip to Content
The Alchemy Project

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

NameDescription
FIXEDeye [3]the eye, 16.16 fixed-point pixels
FIXEDfocus [3]the focus, 16.16 fixed-point pixels
Sint32followEyecleared beside followPos; nothing reads it
Sint32 *followPoswhen set, followed instead of focus
FIXEDdistanceeye to focus, 16.16 fixed-point pixels
Uint8unusedAfterDistance [16]no code names it
Sint16pitch1/65536 turns
Sint16yaw1/65536 turns
Uint8unusedAfterYaw [20]no code names it

Description

The battle camera: its eye, the focus it turns about, and its pitch, yaw and distance. The eye is written distance behind the focus along the turned view.

struct BATTLE_CAMERA

Referenced by btCameraAdjustByShoulderKeys(), btCameraApplyPhasedDelta(), btCameraApplyTransform(), btCameraCreate(), btCameraSetCommandView(), btCameraSetDefaultView(), btCameraSetRange(), btCameraSetView(), btCameraSetViewAtDepth(), btCameraUpdate(), btEffectRunAnnihilation(), btEffectRunAstralBlast(), btEffectRunAttackSlash(), btEffectRunBind(), btEffectRunBreak(), btEffectRunBurstShower(), btEffectRunCastingImpact(), btEffectRunCharon(), btEffectRunCriticalHit(), btEffectRunCrystal(), btEffectRunCybele(), btEffectRunDeathPlunge(), btEffectRunDjinnBeams(), btEffectRunDjinnHeal(), btEffectRunDjinniCharge(), btEffectRunDjinniEntrance(), btEffectRunDragonCloud(), btEffectRunDragonFire(), btEffectRunDrainMotes(), btEffectRunElementPillar(), btEffectRunEruption(), btEffectRunFire(), btEffectRunFirePuppet(), btEffectRunFlurry(), btEffectRunFroth(), btEffectRunGaspFamily(), btEffectRunGatheringLights(), btEffectRunGround(), btEffectRunHaunt(), btEffectRunHealingMotes(), btEffectRunLightSurge(), btEffectRunLobbedShells(), btEffectRunMegiddo(), btEffectRunMoteFountain(), btEffectRunNirvana(), btEffectRunPlasma(), btEffectRunPrism(), btEffectRunProcne(), btEffectRunProjectileVolley(), btEffectRunQuake() and 37 more.

Definition at line 18 of file battle_camera.h.

Fields in detail

eye

FIXED eye[3]

the eye, 16.16 fixed-point pixels

focus

FIXED focus[3]

the focus, 16.16 fixed-point pixels

followEye

Sint32 followEye

cleared beside followPos; nothing reads 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