DCDecomp
A decompilation of Dark Cloud for the PlayStation 2
Loading...
Searching...
No Matches
mapobject.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include "common.h"
4
5
#include "
objectframe.hpp
"
6
13
// Forward declarations for the types these declarations name. The skeleton
14
// headers are generated from the retail symbol table, which knows the type
15
// names but not where they live.
16
class
CFrame
;
17
22
class
CMapObject
:
public
CObjectFrame
{
23
public
:
24
CFrame
*
collision_frame
;
25
CFrame
*
shadow_frame
;
26
CFrame
*
shade_frame
;
27
CFrame
*
camera_frame
;
28
float
shadow_offset
;
29
s32
category_no
;
30
s32
handle
;
31
s32 unk_0EC;
32
40
CFrame
*
GetCollisionFrame
();
41
49
virtual
void
FrameObjectOnOff
(
char
*name,
int
on);
50
58
virtual
void
Draw
();
59
68
virtual
void
DrawLOD
(
float
*distance,
int
lowest,
int
highest,
int
*out_level);
69
77
void
DrawShadow
(
int
fast);
78
86
void
DrawShade
();
87
95
void
Initialize
();
96
104
CMapObject
();
105
};
106
107
STATIC_ASSERT(
sizeof
(
CMapObject
) == 0xF0);
CFrame
Definition
frame.hpp:58
CMapObject
Definition
op_b.cpp:88
CMapObject::shadow_offset
float shadow_offset
Definition
op_b.cpp:94
CMapObject::collision_frame
CFrame * collision_frame
Definition
mapobject.hpp:24
CMapObject::shade_frame
CFrame * shade_frame
Definition
mapobject.hpp:26
CMapObject::DrawShadow
void DrawShadow(int fast)
CMapObject::Initialize
void Initialize()
CMapObject::handle
s32 handle
Definition
mapobject.hpp:30
CMapObject::DrawLOD
virtual void DrawLOD(float *distance, int lowest, int highest, int *out_level)
Definition
mapobject.cpp:90
CMapObject::CMapObject
CMapObject()
CMapObject::Draw
virtual void Draw()
CMapObject::camera_frame
CFrame * camera_frame
Definition
mapobject.hpp:27
CMapObject::GetCollisionFrame
CFrame * GetCollisionFrame()
Definition
mapobject.cpp:12
CMapObject::shadow_frame
CFrame * shadow_frame
Definition
mapobject.hpp:25
CMapObject::FrameObjectOnOff
virtual void FrameObjectOnOff(char *name, int on)
Definition
mapobject.cpp:27
CMapObject::DrawShade
void DrawShade()
Definition
mapobject.cpp:139
CMapObject::category_no
s32 category_no
Definition
mapobject.hpp:29
CObjectFrame
Definition
op_b.cpp:74
objectframe.hpp
ps2
include
mapobject.hpp
Generated by
1.9.8