|
DCDecomp
A decompilation of Dark Cloud for the PlayStation 2
|
#include <mapobject.hpp>
Public Member Functions | |
| virtual void | Draw () |
| void | Initialize () |
| void | DrawShadow (int unknown0) |
| virtual void | Draw () |
| void | Initialize () |
| void | DrawShadow (int fast) |
| virtual void | Draw () |
| void | Initialize () |
| void | DrawShadow (int fast) |
| virtual void | Draw () |
| void | Initialize () |
| void | DrawShadow (int fast) |
| virtual void | Draw () |
| void | Initialize () |
| void | DrawShadow (int fast) |
| virtual void | Draw () |
| void | Initialize () |
| void | DrawShadow (int fast) |
| virtual void | Draw () |
| void | Initialize () |
| void | DrawShadow (int fast) |
| CFrame * | GetCollisionFrame () |
| virtual void | FrameObjectOnOff (char *name, int on) |
| virtual void | Draw () |
| virtual void | DrawLOD (float *distance, int lowest, int highest, int *out_level) |
| void | DrawShadow (int fast) |
| void | DrawShade () |
| void | Initialize () |
| CMapObject () | |
Public Member Functions inherited from CObjectFrame | |
| void | SetFrame (CFrameVu1 *frame, int unknown0) |
| void | SetFrame (CFrameVu1 *frame, int level) |
| void | SetFrame (CFrameVu1 *frame, int level) |
| void | SetFrame (CFrameVu1 *frame, int level) |
| void | SetFrame (CFrameVu1 *frame, int level) |
| void | SetFrame (CFrameVu1 *frame, int level) |
| 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) |
| 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 * | collision_frame |
| CFrameVu1 * | shadow_frame |
| CFrameVu1 * | shade_frame |
| CFrameVu1 * | camera_frame |
| float | shadow_offset |
| int | unk_34 |
| int | handle |
| char | unk_EC [4] |
| char | unk_3C [4] |
| CFrameVu1 * | unk_D4 |
| float | unk_E0 |
| int | unk_E4 |
| int | unk_E8 |
| int | category_no |
| char | unk_18 [36] |
| char | unk_4C [8] |
| CFrame * | collision_frame |
| CFrame * | shadow_frame |
| CFrame * | shade_frame |
| CFrame * | camera_frame |
| s32 | category_no |
| s32 | handle |
| s32 | unk_0EC |
Public Attributes inherited from CObjectFrame | |
| 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 one object of a map, together with the shadow it casts, the shade that lies on it and the shape that collision reads.
| CMapObject::CMapObject | ( | ) |
Definition at line 167 of file mapobject.cpp.
| CMapObject::CMapObject | ( | ) |
Makes an object that a map has yet to place.
|
virtual |
Reimplemented from CObjectFrame.
Definition at line 78 of file mapobject.cpp.
| void CMapObject::Initialize | ( | ) |
Definition at line 157 of file mapobject.cpp.
| void CMapObject::DrawShadow | ( | int | unknown0 | ) |
Definition at line 108 of file mapobject.cpp.
|
virtual |
Reimplemented from CObjectFrame.
|
virtual |
Reimplemented from CObjectFrame.
|
virtual |
Reimplemented from CObjectFrame.
|
virtual |
Reimplemented from CObjectFrame.
|
virtual |
Reimplemented from CObjectFrame.
|
virtual |
Reimplemented from CObjectFrame.
| CFrame * CMapObject::GetCollisionFrame | ( | ) |
Puts the collision frame where the object is and gives it back.
Definition at line 12 of file mapobject.cpp.
|
virtual |
Turns a named part of every frame the object holds on or off.
Reimplemented from CObjectFrame.
Reimplemented in CMapParts.
Definition at line 27 of file mapobject.cpp.
|
virtual |
Draws the object.
Reimplemented from CObjectFrame.
|
virtual |
Draws the object at the level of detail that suits its distance from the eye, and gives back the level that it drew.
Reimplemented from CObjectFrame.
Reimplemented in CMapParts.
Definition at line 90 of file mapobject.cpp.
| void CMapObject::DrawShadow | ( | int | fast | ) |
Drops the shadow of the object onto the ground below it.
| void CMapObject::DrawShade | ( | ) |
Draws the shade that lies on the object.
Definition at line 139 of file mapobject.cpp.
| void CMapObject::Initialize | ( | ) |
Puts the object at rest at the world origin with no frame of its own.
| CFrameVu1 * CMapObject::collision_frame |
| CFrameVu1 * CMapObject::shadow_frame |
| CFrameVu1 * CMapObject::shade_frame |
| CFrameVu1 * CMapObject::camera_frame |
| float CMapObject::shadow_offset |
| int CMapObject::unk_34 |
| int CMapObject::handle |
| CFrameVu1 * CMapObject::unk_D4 |
Definition at line 1350 of file opening.cpp.
| float CMapObject::unk_E0 |
Definition at line 1353 of file opening.cpp.
| int CMapObject::unk_E4 |
Definition at line 122 of file rushmovi.cpp.
| int CMapObject::unk_E8 |
Definition at line 123 of file rushmovi.cpp.
| int CMapObject::category_no |
| char CMapObject::unk_18[36] |
Definition at line 151 of file titleloop.cpp.
| char CMapObject::unk_4C[8] |
Definition at line 153 of file titleloop.cpp.
| CFrame* CMapObject::collision_frame |
Frame that collision reads; zero where the object has none.
Definition at line 24 of file mapobject.hpp.
| CFrame* CMapObject::shadow_frame |
Frame that the shadow draws from; zero where the object casts none.
Definition at line 25 of file mapobject.hpp.
| CFrame* CMapObject::shade_frame |
Frame that the shade draws from; zero where the object takes none.
Definition at line 26 of file mapobject.hpp.
| CFrame* CMapObject::camera_frame |
Collision frame the camera reads; zero where the object has none.
Definition at line 27 of file mapobject.hpp.
| s32 CMapObject::category_no |
Category whose level-of-detail range and draw pass the object uses; below zero for a free slot.
Definition at line 29 of file mapobject.hpp.
| s32 CMapObject::handle |
Handle the map gave the object; below zero where the slot is free.
Definition at line 30 of file mapobject.hpp.
| s32 CMapObject::unk_0EC |
Definition at line 31 of file mapobject.hpp.