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
16class CRect_i_ {
17public:
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
28STATIC_ASSERT(sizeof(CRect_i_) == 0x10);
29
33struct RECT {
34 s32 x;
35 s32 y;
36 s32 width;
37 s32 height;
38};
39
40STATIC_ASSERT(sizeof(RECT) == 0x10);
41
45struct spRGBA {
46 u8 r;
47 u8 g;
48 u8 b;
49 u8 a;
50};
51
52STATIC_ASSERT(sizeof(spRGBA) == 0x4);
s32 x
Definition rect.hpp:18
s32 width
Definition rect.hpp:20
s32 height
Definition rect.hpp:21
s32 y
Definition rect.hpp:19
Definition title.cpp:61
s32 width
Definition rect.hpp:36
s32 y
Definition rect.hpp:35
s32 x
Definition rect.hpp:34
s32 height
Definition rect.hpp:37
u8 b
Definition rect.hpp:48
u8 g
Definition rect.hpp:47
u8 a
Definition rect.hpp:49
u8 r
Definition rect.hpp:46