DCDecomp
A decompilation of Dark Cloud for the PlayStation 2
Loading...
Searching...
No Matches
map.hpp
1
#pragma once
2
3
#include "common.h"
4
5
#include "
mapobject.hpp
"
6
10
struct
CMapCategoryAttr
{
11
float
lod
[4];
12
s32
lowest
;
13
s32
highest
;
14
};
15
16
STATIC_ASSERT(
sizeof
(
CMapCategoryAttr
) == 0x18);
17
21
class
CMap
{
22
public
:
23
CMapCategoryAttr
category
[16];
25
CMapObject
object
[10];
26
s32
draw_on
;
35
CMapObject
*
SetObject
(
int
index,
CFrameVu1
*frame,
int
category_no,
int
handle);
36
44
CMapObject
*
SetObject
(
CFrameVu1
*frame,
int
category_no,
int
handle);
45
53
CMapObject
*
GetObject
(
int
index);
54
62
void
Draw
();
63
70
void
Initialize
();
71
};
72
73
STATIC_ASSERT(
sizeof
(
CMap
) == 0xAF0);
CFrameVu1
Definition
framevu1.hpp:15
CMapObject
Definition
op_b.cpp:88
CMap
Definition
op_a.cpp:90
CMap::SetObject
CMapObject * SetObject(int index, CFrameVu1 *frame, int category_no, int handle)
CMap::SetObject
CMapObject * SetObject(CFrameVu1 *frame, int category_no, int handle)
CMap::draw_on
s32 draw_on
Definition
map.hpp:26
CMap::category
CategoryAttr category[16]
Definition
op_a.cpp:92
CMap::GetObject
CMapObject * GetObject(int index)
CMap::Initialize
void Initialize()
CMap::Draw
void Draw()
mapobject.hpp
CMapCategoryAttr
Definition
map.hpp:10
CMapCategoryAttr::highest
s32 highest
Definition
map.hpp:13
CMapCategoryAttr::lowest
s32 lowest
Definition
map.hpp:12
CMapCategoryAttr::lod
float lod[4]
Definition
map.hpp:11
ps2
include
map.hpp
Generated by
1.9.8