DCDecomp
A decompilation of Dark Cloud for the PlayStation 2
Loading...
Searching...
No Matches
camerafollow.hpp
Go to the documentation of this file.
1#pragma once
2
3#include "common.h"
4
5#include "camera.hpp"
6
15class CCameraFollow : public CCamera {
16public:
17 float follow[4];
18 float distance;
19 float height;
20 float next_angle;
21 float angle;
32
42 virtual void Step(int steps);
43
53 virtual void Stay();
54
62 void SetFollow(float x, float y, float z);
63
71 void FollowOn();
72
81 void FollowOff();
82
91 void SetAngle(float angle);
92
101 void SetAngleSoon(float angle);
102
110 float GetAngle();
111
119 void AddAngle(float delta);
120
128 void SetDistance(float distance);
129
137 float GetDistance();
138
146 void AddDistance(float delta);
147
155 void SetHeight(float height);
156
164 float GetHeight();
165
173 void AddHeight(float delta);
174
183 CCameraFollow(float distance, float height, float angle, float speed);
184
190 virtual ~CCameraFollow();
191};
void SetHeight(float height)
void AddDistance(float delta)
void SetFollow(float x, float y, float z)
CCameraFollow & operator=(const CCameraFollow &src)
void SetAngleSoon(float angle)
void AddAngle(float delta)
void SetDistance(float distance)
virtual void Step(int steps)
void SetAngle(float angle)
virtual void Stay()
virtual ~CCameraFollow()
void AddHeight(float delta)
float speed
Definition camera.hpp:26