persona-3-dual
A DS demake of Persona 3
Loading...
Searching...
No Matches
EnvironmentTypes.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <aegis/ndsTypes.hpp>
4
#include <aegis/types.hpp>
5
#include <nds.h>
6
7
struct
EnvironmentTexture
8
{
9
const
char
*
name
;
10
int
width
;
11
int
height
;
12
13
const
unsigned
int
*
bitmap
;
14
};
15
16
struct
BillboardData
17
{
18
const
char
*
name
;
19
ae::q4_12_t
x
,
y
,
z
;
20
ae::q4_12_t
halfWidth
;
21
ae::q4_12_t
halfHeight
;
22
23
int
texSlot
;
24
25
ae::q12_4_t
u0
,
v0
;
26
ae::q12_4_t
u1
,
v1
;
27
};
28
29
struct
EnvironmentDbEntry
30
{
31
// Name/debugging
32
const
char
*
name
;
33
34
// Binary display list file
35
const
char
*
binaryFile
;
36
37
// World bounds
38
ae::q20_12_t
worldOffsetX
;
39
ae::q20_12_t
worldOffsetZ
;
40
ae::q20_12_t
worldWidth
;
41
ae::q20_12_t
worldDepth
;
42
43
// Texture information
44
int
textureCount
;
45
const
EnvironmentTexture
*
textures
;
46
47
// Billboards
48
int
billboardCount
;
49
const
BillboardData
*
billboards
;
50
};
BillboardData
Definition
EnvironmentTypes.hpp:17
BillboardData::z
ae::q4_12_t z
Definition
EnvironmentTypes.hpp:19
BillboardData::u0
ae::q12_4_t u0
Definition
EnvironmentTypes.hpp:25
BillboardData::v1
ae::q12_4_t v1
Definition
EnvironmentTypes.hpp:26
BillboardData::texSlot
int texSlot
Definition
EnvironmentTypes.hpp:23
BillboardData::name
const char * name
Definition
EnvironmentTypes.hpp:18
BillboardData::v0
ae::q12_4_t v0
Definition
EnvironmentTypes.hpp:25
BillboardData::y
ae::q4_12_t y
Definition
EnvironmentTypes.hpp:19
BillboardData::halfHeight
ae::q4_12_t halfHeight
Definition
EnvironmentTypes.hpp:21
BillboardData::x
ae::q4_12_t x
Definition
EnvironmentTypes.hpp:19
BillboardData::halfWidth
ae::q4_12_t halfWidth
Definition
EnvironmentTypes.hpp:20
BillboardData::u1
ae::q12_4_t u1
Definition
EnvironmentTypes.hpp:26
EnvironmentDbEntry
Definition
EnvironmentTypes.hpp:30
EnvironmentDbEntry::worldOffsetX
ae::q20_12_t worldOffsetX
Definition
EnvironmentTypes.hpp:38
EnvironmentDbEntry::billboardCount
int billboardCount
Definition
EnvironmentTypes.hpp:48
EnvironmentDbEntry::worldOffsetZ
ae::q20_12_t worldOffsetZ
Definition
EnvironmentTypes.hpp:39
EnvironmentDbEntry::textures
const EnvironmentTexture * textures
Definition
EnvironmentTypes.hpp:45
EnvironmentDbEntry::billboards
const BillboardData * billboards
Definition
EnvironmentTypes.hpp:49
EnvironmentDbEntry::worldWidth
ae::q20_12_t worldWidth
Definition
EnvironmentTypes.hpp:40
EnvironmentDbEntry::name
const char * name
Definition
EnvironmentTypes.hpp:32
EnvironmentDbEntry::worldDepth
ae::q20_12_t worldDepth
Definition
EnvironmentTypes.hpp:41
EnvironmentDbEntry::textureCount
int textureCount
Definition
EnvironmentTypes.hpp:44
EnvironmentDbEntry::binaryFile
const char * binaryFile
Definition
EnvironmentTypes.hpp:35
EnvironmentTexture
Definition
EnvironmentTypes.hpp:8
EnvironmentTexture::width
int width
Definition
EnvironmentTypes.hpp:10
EnvironmentTexture::height
int height
Definition
EnvironmentTypes.hpp:11
EnvironmentTexture::name
const char * name
Definition
EnvironmentTypes.hpp:9
EnvironmentTexture::bitmap
const unsigned int * bitmap
Definition
EnvironmentTypes.hpp:13
source
types
EnvironmentTypes.hpp
Generated by
1.15.0