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

#include <editloop3.hpp>

Public Member Functions

 ED_SPRITE ()
 

Public Attributes

s16 enabled
 
s16 layer
 
s16 rotated
 
s16 bilinear
 
float x
 
float y
 
s16 width
 
s16 height
 
s16 source_x
 
s16 source_y
 
s16 source_width
 
s16 source_height
 
s16 red
 
s16 green
 
s16 blue
 
s16 alpha
 
s16 rotation_x
 
s16 rotation_y
 
float rotation
 
float move_x
 
float move_y
 
u8 unk_34 [4]
 
CTexture texture
 

Detailed Description

Stores one script-controlled sprite drawn during an editor event.

Definition at line 222 of file editloop3.hpp.

Constructor & Destructor Documentation

◆ ED_SPRITE()

ED_SPRITE::ED_SPRITE ( )

Constructs the texture owned by an editor event sprite.

Mangled name:
__ct__9ED_SPRITEFv
Address:
0x199F50
Size:
0x34

Definition at line 9580 of file editloop3.cpp.

Member Data Documentation

◆ enabled

s16 ED_SPRITE::enabled

Whether the sprite is active.

Definition at line 223 of file editloop3.hpp.

◆ layer

s16 ED_SPRITE::layer

Drawing layer that selects when the sprite is emitted.

Definition at line 224 of file editloop3.hpp.

◆ rotated

s16 ED_SPRITE::rotated

Whether the sprite uses the rotated drawing path.

Definition at line 225 of file editloop3.hpp.

◆ bilinear

s16 ED_SPRITE::bilinear

Texture filtering mode used while drawing the sprite.

Definition at line 226 of file editloop3.hpp.

◆ x

float ED_SPRITE::x

Horizontal screen position.

Definition at line 227 of file editloop3.hpp.

◆ y

float ED_SPRITE::y

Vertical screen position.

Definition at line 228 of file editloop3.hpp.

◆ width

s16 ED_SPRITE::width

Destination width, or negative to use the source width.

Definition at line 229 of file editloop3.hpp.

◆ height

s16 ED_SPRITE::height

Destination height, or negative to use the source height.

Definition at line 230 of file editloop3.hpp.

◆ source_x

s16 ED_SPRITE::source_x

Horizontal texture origin.

Definition at line 231 of file editloop3.hpp.

◆ source_y

s16 ED_SPRITE::source_y

Vertical texture origin.

Definition at line 232 of file editloop3.hpp.

◆ source_width

s16 ED_SPRITE::source_width

Width of the source texture rectangle.

Definition at line 233 of file editloop3.hpp.

◆ source_height

s16 ED_SPRITE::source_height

Height of the source texture rectangle.

Definition at line 234 of file editloop3.hpp.

◆ red

s16 ED_SPRITE::red

Red colour component.

Definition at line 235 of file editloop3.hpp.

◆ green

s16 ED_SPRITE::green

Green colour component.

Definition at line 236 of file editloop3.hpp.

◆ blue

s16 ED_SPRITE::blue

Blue colour component.

Definition at line 237 of file editloop3.hpp.

◆ alpha

s16 ED_SPRITE::alpha

Alpha colour component.

Definition at line 238 of file editloop3.hpp.

◆ rotation_x

s16 ED_SPRITE::rotation_x

Horizontal centre used for rotation.

Definition at line 239 of file editloop3.hpp.

◆ rotation_y

s16 ED_SPRITE::rotation_y

Vertical centre used for rotation.

Definition at line 240 of file editloop3.hpp.

◆ rotation

float ED_SPRITE::rotation

Sprite rotation angle.

Definition at line 241 of file editloop3.hpp.

◆ move_x

float ED_SPRITE::move_x

Horizontal displacement applied per frame.

Definition at line 242 of file editloop3.hpp.

◆ move_y

float ED_SPRITE::move_y

Vertical displacement applied per frame.

Definition at line 243 of file editloop3.hpp.

◆ unk_34

u8 ED_SPRITE::unk_34[4]

Definition at line 244 of file editloop3.hpp.

◆ texture

CTexture ED_SPRITE::texture

Texture rendered by this sprite.

Definition at line 245 of file editloop3.hpp.