DCDecomp
A decompilation of Dark Cloud for the PlayStation 2
Loading...
Searching...
No Matches
CRect_i_ Class Reference

#include <rect.hpp>

Inheritance diagram for CRect_i_:
CRectZero

Public Member Functions

 CRect_i_ (s32 x, s32 y, s32 width, s32 height)
 

Public Attributes

s32 x
 
s32 y
 
s32 width
 
s32 height
 

Detailed Description

Names a rectangle by the corner it starts at and how far it reaches.

CRect_i_ is the disassembler's filesystem-safe spelling of the retail name; it is what every mangled symbol in this project carries.

Definition at line 16 of file rect.hpp.

Constructor & Destructor Documentation

◆ CRect_i_() [1/2]

CRect_i_::CRect_i_ ( )
inline

Definition at line 23 of file rect.hpp.

◆ CRect_i_() [2/2]

CRect_i_::CRect_i_ ( s32  x,
s32  y,
s32  width,
s32  height 
)
inline

Definition at line 25 of file rect.hpp.

Member Data Documentation

◆ x

s32 CRect_i_::x

Distance of the left edge from the left of the texture.

Definition at line 18 of file rect.hpp.

◆ y

s32 CRect_i_::y

Distance of the top edge from the top of the texture.

Definition at line 19 of file rect.hpp.

◆ width

s32 CRect_i_::width

Distance from the left edge to the right edge.

Definition at line 20 of file rect.hpp.

◆ height

s32 CRect_i_::height

Distance from the top edge to the bottom edge.

Definition at line 21 of file rect.hpp.