DCDecomp
A decompilation of Dark Cloud for the PlayStation 2
Loading...
Searching...
No Matches
mdt.hpp
1
#pragma once
2
3
#include "common.h"
4
5
#include <libvu0.h>
6
10
struct
MDT_HEADER
{
11
int
unk_00[2];
12
unsigned
int
size
;
13
int
vertex_num
;
14
int
vertex_ofs
;
15
int
normal
[2];
16
int
colour_count
;
17
int
colour_ofs
;
18
int
unk_24;
19
int
mesh_ofs
;
20
int
uv
[3];
21
int
info_ofs
;
22
};
23
27
struct
MDT_MATERIAL
{
28
sceVu0FVECTOR
diffuse
;
29
sceVu0FVECTOR
ambient
;
30
sceVu0FVECTOR
specular
;
31
int
unk_30;
32
char
texture
[44];
33
};
34
38
struct
MDT_CPOLY
{
39
int
vertex
[3];
40
int
info_index
;
41
int
unk_10;
42
};
43
47
struct
MDT_CPOLY_SET
{
48
int
unk_00;
49
unsigned
int
num
;
50
MDT_CPOLY
poly
[1];
51
};
52
56
struct
MDT_COLLISION
{
57
int
unk_00[4];
58
MDT_CPOLY_SET
set
;
59
};
60
64
struct
MDT_SVERTEX
{
65
int
index
;
66
int
unk_04;
67
int
edge
;
68
};
69
73
struct
MDT_SSHAPE
{
74
int
unk_00;
75
int
index_num
;
76
int
unk_08;
77
MDT_SVERTEX
vertex
[1];
78
};
79
83
struct
MDT_SHADOW
{
84
int
unk_00[2];
85
int
shape_num
;
86
int
unk_0c;
87
MDT_SSHAPE
shape
[1];
88
};
MDT_COLLISION
Definition
mdt.hpp:56
MDT_COLLISION::set
MDT_CPOLY_SET set
Definition
mdt.hpp:58
MDT_CPOLY_SET
Definition
mdt.hpp:47
MDT_CPOLY_SET::poly
MDT_CPOLY poly[1]
Definition
mdt.hpp:50
MDT_CPOLY_SET::num
unsigned int num
Definition
mdt.hpp:49
MDT_CPOLY
Definition
mdt.hpp:38
MDT_CPOLY::vertex
int vertex[3]
Definition
mdt.hpp:39
MDT_CPOLY::info_index
int info_index
Definition
mdt.hpp:40
MDT_HEADER
Definition
mdt.hpp:10
MDT_HEADER::uv
int uv[3]
Definition
mdt.hpp:20
MDT_HEADER::vertex_ofs
int vertex_ofs
Definition
mdt.hpp:14
MDT_HEADER::normal
int normal[2]
Definition
mdt.hpp:15
MDT_HEADER::mesh_ofs
int mesh_ofs
Definition
mdt.hpp:19
MDT_HEADER::vertex_num
int vertex_num
Definition
mdt.hpp:13
MDT_HEADER::colour_ofs
int colour_ofs
Definition
mdt.hpp:17
MDT_HEADER::colour_count
int colour_count
Definition
mdt.hpp:16
MDT_HEADER::size
unsigned int size
Definition
mdt.hpp:12
MDT_HEADER::info_ofs
int info_ofs
Definition
mdt.hpp:21
MDT_MATERIAL
Definition
mdt.hpp:27
MDT_MATERIAL::diffuse
sceVu0FVECTOR diffuse
Definition
mdt.hpp:28
MDT_MATERIAL::texture
char texture[44]
Definition
mdt.hpp:32
MDT_MATERIAL::specular
sceVu0FVECTOR specular
Definition
mdt.hpp:30
MDT_MATERIAL::ambient
sceVu0FVECTOR ambient
Definition
mdt.hpp:29
MDT_SHADOW
Definition
mdt.hpp:83
MDT_SHADOW::shape
MDT_SSHAPE shape[1]
Definition
mdt.hpp:87
MDT_SHADOW::shape_num
int shape_num
Definition
mdt.hpp:85
MDT_SSHAPE
Definition
mdt.hpp:73
MDT_SSHAPE::vertex
MDT_SVERTEX vertex[1]
Definition
mdt.hpp:77
MDT_SSHAPE::index_num
int index_num
Definition
mdt.hpp:75
MDT_SVERTEX
Definition
mdt.hpp:64
MDT_SVERTEX::index
int index
Definition
mdt.hpp:65
MDT_SVERTEX::edge
int edge
Definition
mdt.hpp:67
ps2
include
mdt.hpp
Generated by
1.9.8