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
10struct MDT_HEADER {
11 int unk_00[2];
12 unsigned int size;
15 int normal[2];
18 int unk_24;
20 int uv[3];
22};
23
28 sceVu0FVECTOR diffuse;
29 sceVu0FVECTOR ambient;
30 sceVu0FVECTOR specular;
31 int unk_30;
32 char texture[44];
33};
34
38struct MDT_CPOLY {
39 int vertex[3];
41 int unk_10;
42};
43
48 int unk_00;
49 unsigned int num;
51};
52
57 int unk_00[4];
59};
60
65 int index;
66 int unk_04;
67 int edge;
68};
69
73struct MDT_SSHAPE {
74 int unk_00;
76 int unk_08;
78};
79
83struct MDT_SHADOW {
84 int unk_00[2];
86 int unk_0c;
88};
MDT_CPOLY_SET set
Definition mdt.hpp:58
MDT_CPOLY poly[1]
Definition mdt.hpp:50
unsigned int num
Definition mdt.hpp:49
int vertex[3]
Definition mdt.hpp:39
int info_index
Definition mdt.hpp:40
int uv[3]
Definition mdt.hpp:20
int vertex_ofs
Definition mdt.hpp:14
int normal[2]
Definition mdt.hpp:15
int mesh_ofs
Definition mdt.hpp:19
int vertex_num
Definition mdt.hpp:13
int colour_ofs
Definition mdt.hpp:17
int colour_count
Definition mdt.hpp:16
unsigned int size
Definition mdt.hpp:12
int info_ofs
Definition mdt.hpp:21
sceVu0FVECTOR diffuse
Definition mdt.hpp:28
char texture[44]
Definition mdt.hpp:32
sceVu0FVECTOR specular
Definition mdt.hpp:30
sceVu0FVECTOR ambient
Definition mdt.hpp:29
MDT_SSHAPE shape[1]
Definition mdt.hpp:87
int shape_num
Definition mdt.hpp:85
MDT_SVERTEX vertex[1]
Definition mdt.hpp:77
int index_num
Definition mdt.hpp:75
int index
Definition mdt.hpp:65
int edge
Definition mdt.hpp:67