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.
16class CFrame;
17
22class CMapObject : public CObjectFrame {
23public:
28 float shadow_offset;
30 s32 handle;
31 s32 unk_0EC;
32
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
105};
106
107STATIC_ASSERT(sizeof(CMapObject) == 0xF0);
float shadow_offset
Definition op_b.cpp:94
CFrame * collision_frame
Definition mapobject.hpp:24
CFrame * shade_frame
Definition mapobject.hpp:26
void DrawShadow(int fast)
void Initialize()
virtual void DrawLOD(float *distance, int lowest, int highest, int *out_level)
Definition mapobject.cpp:90
virtual void Draw()
CFrame * camera_frame
Definition mapobject.hpp:27
CFrame * GetCollisionFrame()
Definition mapobject.cpp:12
CFrame * shadow_frame
Definition mapobject.hpp:25
virtual void FrameObjectOnOff(char *name, int on)
Definition mapobject.cpp:27
void DrawShade()
s32 category_no
Definition mapobject.hpp:29