|
DCDecomp
A decompilation of Dark Cloud for the PlayStation 2
|
#include <objectframe.hpp>
Public Member Functions | |
| virtual void | FrameObjectOnOff (char *name, int on) |
| virtual void | Draw () |
| void | SetFrame (CFrameVu1 *frame, int unknown0) |
| virtual void | FrameObjectOnOff (char *name, int on) |
| virtual void | Draw () |
| void | SetFrame (CFrameVu1 *frame, int level) |
| virtual void | FrameObjectOnOff (char *name, int on) |
| virtual void | Draw () |
| void | SetFrame (CFrameVu1 *frame, int level) |
| virtual void | FrameObjectOnOff (char *name, int on) |
| virtual void | Draw () |
| void | SetFrame (CFrameVu1 *frame, int level) |
| virtual void | FrameObjectOnOff (char *name, int on) |
| virtual void | Draw () |
| void | SetFrame (CFrameVu1 *frame, int level) |
| virtual void | FrameObjectOnOff (char *name, int on) |
| virtual void | Draw () |
| void | SetFrame (CFrameVu1 *frame, int level) |
| virtual void | FrameObjectOnOff (char *name, int on) |
| virtual void | Draw () |
| void | SetFrame (CFrameVu1 *frame, int level) |
| virtual void | SetMoment (CVector3_f_ moment) |
| virtual void | SetRotation (CVector3_f_ rotation) |
| virtual void | SetRotation (float x, float y, float z) |
| virtual void | SetRotVelocity (CVector3_f_ rot_velocity) |
| virtual void | SetRotAcceleration (CVector3_f_ rot_acceleration) |
| virtual void | FrameObjectOnOff (char *name, int on) |
| virtual void | Draw () |
| virtual void | DrawLOD (float *distance, int lowest, int highest, int *out_level) |
| void | SetFrame (CFrameVu1 *frame, int level) |
| void | Initialize (CFrameVu1 *frame) |
| CObjectFrame () | |
Public Member Functions inherited from CObject | |
| CObject & | operator= (const CObject &source) |
| virtual void | Step () |
| float | GetDistance (CObject &other) |
| void | GetDir (CObject &other, float *out_direction) |
| virtual void | SetMass (float mass) |
| virtual void | SetPosition (CVector3_f_ position) |
| virtual void | SetPosition (float *position) |
| virtual void | SetPosition (float x, float y, float z) |
| virtual void | SetVelocity (CVector3_f_ velocity) |
| virtual void | SetAcceleration (CVector3_f_ acceleration) |
| virtual void | SetGravity (CVector3_f_ gravity) |
| virtual void | SetRotation (float *rotation) |
| virtual float | GetMass () |
| virtual void | GetPosition (CVector3_f_ *out_position) |
| virtual void | GetVelocity (CVector3_f_ *out_velocity) |
| virtual void | GetAcceleration (CVector3_f_ *out_acceleration) |
| virtual void | GetGravity (CVector3_f_ *out_gravity) |
| virtual void | GetMoment (CVector3_f_ *out_moment) |
| virtual void | GetRotation (float *out_rotation) |
| virtual void | GetRotation (CVector3_f_ *out_rotation) |
| virtual void | GetRotVelocity (CVector3_f_ *out_rot_velocity) |
| virtual void | GetRotAcceleration (CVector3_f_ *out_rot_acceleration) |
| virtual CVector3_f_ * | GetVelocity () |
| virtual CVector3_f_ * | GetAcceleration () |
| virtual CVector3_f_ * | GetGravity () |
| virtual CVector3_f_ * | GetMoment () |
| virtual CVector3_f_ * | GetRotation () |
| virtual CVector3_f_ * | GetRotVelocity () |
| virtual CVector3_f_ * | GetRotAcceleration () |
| virtual void | SetScale (float x, float y, float z) |
| virtual void | SetScale (float *scale) |
| virtual void | GetScale (float *out_scale) |
| CObject (float mass=1.0f) | |
| void | Initialize (float mass) |
Public Attributes | |
| CFrameVu1 * | frame [4] |
| s32 | rotation_changed |
| s32 | draw_on |
Public Attributes inherited from CObject | |
| float | mass |
| float | unk_004 [3] |
| float | pos [4] |
| CVector3_f_ | velocity |
| CVector3_f_ | acceleration |
| CVector3_f_ | gravity |
| CVector3_f_ | moment |
| CVector3_f_ | rotation |
| CVector3_f_ | rot_velocity |
| CVector3_f_ | rot_acceleration |
| float | scale [4] |
Draws an object with up to four frames, one per level of detail, and keeps each frame on the position, the angle and the scale that the object has.
|
inline |
Makes an object of unit mass that no frame draws yet.
Definition at line 121 of file objectframe.hpp.
|
virtual |
Reimplemented in CMapObject, and CMapParts.
Definition at line 22 of file objectframe.cpp.
|
virtual |
Reimplemented in CMapObject.
Definition at line 41 of file objectframe.cpp.
| void CObjectFrame::SetFrame | ( | CFrameVu1 * | frame, |
| int | unknown0 | ||
| ) |
Definition at line 10 of file objectframe.cpp.
|
virtual |
Reimplemented in CMapObject, and CMapParts.
|
virtual |
Reimplemented in CMapObject.
|
virtual |
Reimplemented in CMapObject, and CMapParts.
|
virtual |
Reimplemented in CMapObject.
|
virtual |
Reimplemented in CMapObject, and CMapParts.
|
virtual |
Reimplemented in CMapObject.
|
virtual |
Reimplemented in CMapObject, and CMapParts.
|
virtual |
Reimplemented in CMapObject.
|
virtual |
Reimplemented in CMapObject, and CMapParts.
|
virtual |
Reimplemented in CMapObject.
|
virtual |
Reimplemented in CMapObject, and CMapParts.
|
virtual |
Reimplemented in CMapObject.
|
virtual |
Sets the moment of inertia about each axis.
Reimplemented from CObject.
Definition at line 6 of file objectframe2.cpp.
|
virtual |
Turns the object to an angle about each axis.
Reimplemented from CObject.
Definition at line 18 of file objectframe2.cpp.
|
virtual |
Turns the object to an angle about each axis.
Reimplemented from CObject.
Reimplemented in CMapParts.
Definition at line 11 of file objectframe2.cpp.
|
virtual |
Sets the angle that the rotation turns each step.
Reimplemented from CObject.
Definition at line 23 of file objectframe2.cpp.
|
virtual |
Sets the angle that the rotational velocity gains each step.
Reimplemented from CObject.
Definition at line 28 of file objectframe2.cpp.
|
virtual |
Turns a named part of every frame on or off.
Reimplemented in CMapObject, and CMapParts.
|
virtual |
Puts the first frame where the object is and draws it.
Reimplemented in CMapObject.
|
virtual |
Draws the frame whose level of detail suits the distance from the eye, and gives back the level that it drew.
Reimplemented in CMapObject, and CMapParts.
Definition at line 56 of file objectframe.cpp.
| void CObjectFrame::SetFrame | ( | CFrameVu1 * | frame, |
| int | level | ||
| ) |
Puts a frame at a level of detail.
| void CObjectFrame::Initialize | ( | CFrameVu1 * | frame | ) |
Puts the object at rest at the world origin and gives it one frame.
Definition at line 145 of file objectframe.cpp.
| CFrameVu1 * CObjectFrame::frame |
| s32 CObjectFrame::rotation_changed |