DCDecomp
A decompilation of Dark Cloud for the PlayStation 2
Loading...
Searching...
No Matches
rect.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include "common.h"
4
16
class
CRect_i_
{
17
public
:
18
s32
x
;
19
s32
y
;
20
s32
width
;
21
s32
height
;
23
CRect_i_
() {}
24
25
CRect_i_
(s32
x
, s32
y
, s32
width
, s32
height
) :
x
(
x
),
y
(
y
),
width
(
width
),
height
(
height
) {}
26
} __attribute__((aligned(16)));
27
28
STATIC_ASSERT(
sizeof
(
CRect_i_
) == 0x10);
29
33
struct
RECT
{
34
s32
x
;
35
s32
y
;
36
s32
width
;
37
s32
height
;
38
};
39
40
STATIC_ASSERT(
sizeof
(
RECT
) == 0x10);
41
45
struct
spRGBA
{
46
u8
r
;
47
u8
g
;
48
u8
b
;
49
u8
a
;
50
};
51
52
STATIC_ASSERT(
sizeof
(
spRGBA
) == 0x4);
CRect_i_
Definition
rect.hpp:16
CRect_i_::x
s32 x
Definition
rect.hpp:18
CRect_i_::width
s32 width
Definition
rect.hpp:20
CRect_i_::height
s32 height
Definition
rect.hpp:21
CRect_i_::y
s32 y
Definition
rect.hpp:19
RECT
Definition
title.cpp:61
RECT::width
s32 width
Definition
rect.hpp:36
RECT::y
s32 y
Definition
rect.hpp:35
RECT::x
s32 x
Definition
rect.hpp:34
RECT::height
s32 height
Definition
rect.hpp:37
spRGBA
Definition
rect.hpp:45
spRGBA::b
u8 b
Definition
rect.hpp:48
spRGBA::g
u8 g
Definition
rect.hpp:47
spRGBA::a
u8 a
Definition
rect.hpp:49
spRGBA::r
u8 r
Definition
rect.hpp:46
ps2
include
rect.hpp
Generated by
1.9.8