|
102 Dalmatians: Puppies to the Rescue
Decompilation Source Reference | GitLab repository
|
#include "pcdogs/actor/types.h"#include "pcdogs/camera/types.h"#include "pcdogs/entity/types.h"#include "pcdogs/graphics/types.h"#include "pcdogs/math/types.h"#include "pcdogs/package/types.h"#include "pcdogs/types/common.h"Go to the source code of this file.
Functions | |
| void | Camera_UpdateFollowAndEntityWorklists (struct Camera_Runtime *camera) |
| void | Camera_InterpolateTransition (struct Camera_TransitionState *transition_state, struct Camera_Pose *target_pose, int32_t duration_frames, int32_t recompute_eye_from_angles) |
| void | Camera_CalculatePosition (struct Camera_Pose *camera_pose, int32_t target_distance) |
| void | Camera_UpdateFromDefinition (struct Camera_Runtime *camera, struct Entity *entity, struct Camera_Pose *pose) |
| bool | Camera_CalculateFollowAngles (struct Camera_Runtime *camera, struct Actor_State *target_actor, struct Camera_Pose *pose, struct Pkg_CameraDef *cam_def) |
| void | Camera_StartShake (struct Math_Vec3I32 *unused_position, int16_t amplitude) |
| void | Camera_StartRollEffect (int16_t amplitude, int16_t duration_ticks) |
| void | Camera_UpdateEffects (void) |
| void | Camera_UpdateShakeOffset (struct Camera_Runtime *camera) |
| void | Camera_UpdateRollEffect (struct Camera_Runtime *camera) |
| void | Camera_SetupClipPlanes (float projection_depth_or_focal, int32_t viewport_w, int32_t viewport_h) |
| void | Camera_SetupProjection (struct Camera_Runtime *camera) |
| void | Camera_UpdateProjection (struct Camera_Runtime *camera, int32_t focal_distance) |
| void | Camera_BuildViewMatrix (struct Camera_FrustumDirTable *frustum_dirs, int16_t *viewport_size, int32_t focal_distance) |
| int32_t | Camera_CalculateClipDistance (struct Camera_Runtime *camera, int16_t fov) |
| int32_t | Camera_SetDefaultFOV (struct Camera_Runtime *camera) |
| void | Camera_SetViewport (int16_t viewport_x, int16_t viewport_y, int16_t viewport_w, int16_t viewport_h, int32_t apply_projection) |
| int32_t | Camera_RecomputePitchYawFromEyeTarget (struct Camera_Pose *pose) |
| void | Camera_Initialize (struct Graphics_Render_ListState *render_state) |
| void Camera_BuildViewMatrix | ( | struct Camera_FrustumDirTable * | frustum_dirs, |
| int16_t * | viewport_size, | ||
| int32_t | focal_distance ) |
Definition at line 159 of file projection.c.
| int32_t Camera_CalculateClipDistance | ( | struct Camera_Runtime * | camera, |
| int16_t | fov ) |
Definition at line 211 of file projection.c.
| bool Camera_CalculateFollowAngles | ( | struct Camera_Runtime * | camera, |
| struct Actor_State * | target_actor, | ||
| struct Camera_Pose * | pose, | ||
| struct Pkg_CameraDef * | cam_def ) |
| void Camera_CalculatePosition | ( | struct Camera_Pose * | camera_pose, |
| int32_t | target_distance ) |
| void Camera_Initialize | ( | struct Graphics_Render_ListState * | render_state | ) |
| void Camera_InterpolateTransition | ( | struct Camera_TransitionState * | transition_state, |
| struct Camera_Pose * | target_pose, | ||
| int32_t | duration_frames, | ||
| int32_t | recompute_eye_from_angles ) |
| int32_t Camera_RecomputePitchYawFromEyeTarget | ( | struct Camera_Pose * | pose | ) |
| int32_t Camera_SetDefaultFOV | ( | struct Camera_Runtime * | camera | ) |
Definition at line 232 of file projection.c.
| void Camera_SetupClipPlanes | ( | float | projection_depth_or_focal, |
| int32_t | viewport_w, | ||
| int32_t | viewport_h ) |
Definition at line 20 of file projection.c.
| void Camera_SetupProjection | ( | struct Camera_Runtime * | camera | ) |
Definition at line 111 of file projection.c.
| void Camera_SetViewport | ( | int16_t | viewport_x, |
| int16_t | viewport_y, | ||
| int16_t | viewport_w, | ||
| int16_t | viewport_h, | ||
| int32_t | apply_projection ) |
Definition at line 243 of file projection.c.
| void Camera_StartRollEffect | ( | int16_t | amplitude, |
| int16_t | duration_ticks ) |
| void Camera_StartShake | ( | struct Math_Vec3I32 * | unused_position, |
| int16_t | amplitude ) |
| void Camera_UpdateFollowAndEntityWorklists | ( | struct Camera_Runtime * | camera | ) |
Definition at line 41 of file tracking.c.
| void Camera_UpdateFromDefinition | ( | struct Camera_Runtime * | camera, |
| struct Entity * | entity, | ||
| struct Camera_Pose * | pose ) |
| void Camera_UpdateProjection | ( | struct Camera_Runtime * | camera, |
| int32_t | focal_distance ) |
Definition at line 146 of file projection.c.
| void Camera_UpdateRollEffect | ( | struct Camera_Runtime * | camera | ) |
| void Camera_UpdateShakeOffset | ( | struct Camera_Runtime * | camera | ) |