Paper Mario DX
Paper Mario (N64) modding
 
Loading...
Searching...
No Matches
Camera Struct Reference

Detailed Description

Definition at line 749 of file common_structs.h.

#include "common_structs.h"

Data Fields

u16 flags
 
s16 moveFlags
 
s16 updateMode
 
b16 needsInit
 
b16 needsReinit
 
s16 viewportW
 
s16 viewportH
 
s16 viewportStartX
 
s16 viewportStartY
 
s16 nearClip
 
s16 farClip
 
f32 vfov
 
union { 
 
   struct { 
 
s16 zoomPercent
 
   } world 
 
   struct { 
 
s16 dist
 
s16 offsetY
 
s16 pitch
 
s16 yaw
 
s16 fovScale
 
s16 zoomPercent
 
b16 skipRecalc
 
   } basic 
 
   struct { 
 
s16 dist
 
s16 offsetY
 
s16 pitch
 
s16 yaw
 
   } interp 
 
   struct { 
 
s16 dist
 
s16 offsetY
 
s16 pitch
 
s16 minRadius
 
   } radial 
 
   struct { 
 
s16 dist
 
s16 offsetY
 
s16 xLimit
 
s16 zLimit
 
   } confined 
 
params 
 
s16 bgColor [3]
 
Vec3s targetScreenCoords
 
u16 perspNorm
 
Vec3f lookAt_eye
 
Vec3f lookAt_obj
 
Vec3f lookAt_obj_target
 
Vec3f targetPos
 
f32 curYaw
 
f32 interpYaw
 
f32 curBoomLength
 
f32 curBoomPitch
 
f32 curBoomYaw
 
f32 targetOffsetY
 
f32 targetBoomYaw
 
f32 lookAt_yaw
 
f32 lookAt_pitch
 
Vp vp
 
Vp vpAlt
 
Matrix4f mtxPerspective
 
Matrix4f mtxViewPlayer
 
Matrix4f mtxViewLeading
 
Matrix4f mtxViewShaking
 
void(* fpDoPreRender )(struct Camera *)
 
void(* fpDoPostRender )(struct Camera *)
 
MtxmtxBillboard
 
CameraControlSettingsprevSettings
 
CameraControlSettingscurSettings
 
CameraRig prevRig
 
CameraRig nextRig
 
f32 interpAlpha
 
f32 linearInterp
 
f32 linearInterpRate
 
f32 moveSpeed
 
f32 yinterpGoal
 
f32 yinterpAlpha
 
f32 yinterpRate
 
f32 yinterpCur
 
Vec3f prevTargetPos
 
Vec3f movePos
 
Vec3f prevMovePos
 
Vec3f prevPrevMovePos
 
CameraControlSettings overrideSettings
 
b16 useOverrideSettings
 
b16 prevUseOverride
 
b16 prevPrevUseOverride
 
b16 panActive
 
f32 interpEasingParameter
 
f32 leadAmount
 
f32 targetLeadAmount
 
f32 leadInterpAlpha
 
f32 accumulatedStickLead
 
s32 increasingLeadInterp
 
f32 leadAmtScale
 
f32 prevLeadPosX
 
f32 prevLeadPosZ
 
s32 leadConstrainDir
 
b32 needsInitialConstrainDir
 
CameraControlSettingsprevLeadSettings
 
f32 unusedLeadAmt
 
s16 unusedLeadCounter
 
s16 unusedLeadDir
 

Field Documentation

◆ flags

◆ moveFlags

◆ updateMode

s16 Camera::updateMode

◆ needsInit

b16 Camera::needsInit

◆ needsReinit

b16 Camera::needsReinit

Definition at line 754 of file common_structs.h.

◆ viewportW

◆ viewportH

◆ viewportStartX

◆ viewportStartY

◆ nearClip

s16 Camera::nearClip

◆ farClip

◆ vfov

◆ [union]

◆ bgColor

s16 Camera::bgColor[3]

◆ targetScreenCoords

Vec3s Camera::targetScreenCoords

Definition at line 795 of file common_structs.h.

Referenced by calculate_camera_yinterp_rate().

◆ perspNorm

u16 Camera::perspNorm

Definition at line 796 of file common_structs.h.

◆ lookAt_eye

Vec3f Camera::lookAt_eye

◆ lookAt_obj

Vec3f Camera::lookAt_obj

Definition at line 798 of file common_structs.h.

◆ lookAt_obj_target

◆ targetPos

◆ curYaw

◆ interpYaw

f32 Camera::interpYaw

Definition at line 802 of file common_structs.h.

◆ curBoomLength

f32 Camera::curBoomLength

Definition at line 803 of file common_structs.h.

◆ curBoomPitch

f32 Camera::curBoomPitch

Definition at line 804 of file common_structs.h.

◆ curBoomYaw

f32 Camera::curBoomYaw

Definition at line 805 of file common_structs.h.

◆ targetOffsetY

f32 Camera::targetOffsetY

Definition at line 806 of file common_structs.h.

◆ targetBoomYaw

f32 Camera::targetBoomYaw

Definition at line 807 of file common_structs.h.

◆ lookAt_yaw

f32 Camera::lookAt_yaw

Definition at line 808 of file common_structs.h.

◆ lookAt_pitch

f32 Camera::lookAt_pitch

Definition at line 809 of file common_structs.h.

◆ vp

Vp Camera::vp

Definition at line 810 of file common_structs.h.

◆ vpAlt

Vp Camera::vpAlt

Definition at line 811 of file common_structs.h.

◆ mtxPerspective

Matrix4f Camera::mtxPerspective

Definition at line 812 of file common_structs.h.

◆ mtxViewPlayer

Matrix4f Camera::mtxViewPlayer

Definition at line 813 of file common_structs.h.

◆ mtxViewLeading

Matrix4f Camera::mtxViewLeading

Definition at line 814 of file common_structs.h.

◆ mtxViewShaking

Matrix4f Camera::mtxViewShaking

Definition at line 815 of file common_structs.h.

◆ fpDoPreRender

void(* Camera::fpDoPreRender) (struct Camera *)

Definition at line 816 of file common_structs.h.

Referenced by initialize_battle(), and render_frame().

◆ fpDoPostRender

void(* Camera::fpDoPostRender) (struct Camera *)

Definition at line 817 of file common_structs.h.

Referenced by initialize_battle().

◆ mtxBillboard

Mtx* Camera::mtxBillboard

Definition at line 818 of file common_structs.h.

◆ prevSettings

CameraControlSettings* Camera::prevSettings

Definition at line 819 of file common_structs.h.

◆ curSettings

CameraControlSettings* Camera::curSettings

Definition at line 820 of file common_structs.h.

◆ prevRig

CameraRig Camera::prevRig

Definition at line 821 of file common_structs.h.

◆ nextRig

CameraRig Camera::nextRig

Definition at line 822 of file common_structs.h.

◆ interpAlpha

f32 Camera::interpAlpha

Definition at line 823 of file common_structs.h.

◆ linearInterp

f32 Camera::linearInterp

Definition at line 824 of file common_structs.h.

◆ linearInterpRate

f32 Camera::linearInterpRate

Definition at line 825 of file common_structs.h.

◆ moveSpeed

f32 Camera::moveSpeed

Definition at line 826 of file common_structs.h.

◆ yinterpGoal

f32 Camera::yinterpGoal

Definition at line 827 of file common_structs.h.

◆ yinterpAlpha

f32 Camera::yinterpAlpha

Definition at line 828 of file common_structs.h.

◆ yinterpRate

f32 Camera::yinterpRate

Definition at line 829 of file common_structs.h.

Referenced by calculate_camera_yinterp_rate().

◆ yinterpCur

f32 Camera::yinterpCur

Definition at line 830 of file common_structs.h.

◆ prevTargetPos

Vec3f Camera::prevTargetPos

Definition at line 831 of file common_structs.h.

◆ movePos

Vec3f Camera::movePos

Definition at line 832 of file common_structs.h.

◆ prevMovePos

Vec3f Camera::prevMovePos

Definition at line 833 of file common_structs.h.

◆ prevPrevMovePos

Vec3f Camera::prevPrevMovePos

Definition at line 834 of file common_structs.h.

◆ overrideSettings

CameraControlSettings Camera::overrideSettings

Definition at line 835 of file common_structs.h.

◆ useOverrideSettings

b16 Camera::useOverrideSettings

Definition at line 836 of file common_structs.h.

◆ prevUseOverride

b16 Camera::prevUseOverride

Definition at line 837 of file common_structs.h.

◆ prevPrevUseOverride

b16 Camera::prevPrevUseOverride

Definition at line 838 of file common_structs.h.

◆ panActive

b16 Camera::panActive

Definition at line 839 of file common_structs.h.

◆ interpEasingParameter

f32 Camera::interpEasingParameter

Definition at line 840 of file common_structs.h.

◆ leadAmount

f32 Camera::leadAmount

Definition at line 841 of file common_structs.h.

◆ targetLeadAmount

f32 Camera::targetLeadAmount

Definition at line 842 of file common_structs.h.

◆ leadInterpAlpha

f32 Camera::leadInterpAlpha

Definition at line 843 of file common_structs.h.

◆ accumulatedStickLead

f32 Camera::accumulatedStickLead

Definition at line 844 of file common_structs.h.

◆ increasingLeadInterp

s32 Camera::increasingLeadInterp

Definition at line 845 of file common_structs.h.

◆ leadAmtScale

f32 Camera::leadAmtScale

Definition at line 846 of file common_structs.h.

◆ prevLeadPosX

f32 Camera::prevLeadPosX

Definition at line 847 of file common_structs.h.

◆ prevLeadPosZ

f32 Camera::prevLeadPosZ

Definition at line 848 of file common_structs.h.

◆ leadConstrainDir

s32 Camera::leadConstrainDir

Definition at line 849 of file common_structs.h.

◆ needsInitialConstrainDir

b32 Camera::needsInitialConstrainDir

Definition at line 850 of file common_structs.h.

◆ prevLeadSettings

CameraControlSettings* Camera::prevLeadSettings

Definition at line 851 of file common_structs.h.

◆ unusedLeadAmt

f32 Camera::unusedLeadAmt

Definition at line 852 of file common_structs.h.

◆ unusedLeadCounter

s16 Camera::unusedLeadCounter

Definition at line 853 of file common_structs.h.

◆ unusedLeadDir

s16 Camera::unusedLeadDir

Definition at line 854 of file common_structs.h.


The documentation for this struct was generated from the following file: