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

Public Member Functions

void Initialize ()
 

Public Attributes

short draw_on
 
float clip_depth
 
char clip_enable
 
char unk_09
 
char remake_pending
 
char program_option
 
char fog_enable
 
char far_clip_enable
 
char unk_0E
 
char unk_0F
 
float far_clip
 
char use_color
 
sceVu0FVECTOR color
 
char cull_enable
 
char ambient_boost
 
sceVu0FVECTOR unk_40
 
short alpha_ref
 
short blend_mode
 
char depth_write
 
char ignore_depth
 
short eye_relative
 
short billboard
 

Detailed Description

Definition at line 25 of file frame.hpp.

Constructor & Destructor Documentation

◆ CFrameAttr()

CFrameAttr::CFrameAttr ( )

Definition at line 280 of file frame.cpp.

Member Function Documentation

◆ Initialize()

void CFrameAttr::Initialize ( )

Definition at line 261 of file frame.cpp.

Member Data Documentation

◆ draw_on

short CFrameAttr::draw_on

Visibility bits: 1 draws the frame, 2 skips its children (and, without 1, the whole subtree), 4 is skipped by its parent.

Definition at line 27 of file frame.hpp.

◆ clip_depth

float CFrameAttr::clip_depth

Depth handed to the render info that the next frame's near-clip test compares against.

Definition at line 28 of file frame.hpp.

◆ clip_enable

char CFrameAttr::clip_enable

Whether a frame crossing the clip depth is drawn with clipping; cleared by the 'n' name flag.

Definition at line 29 of file frame.hpp.

◆ unk_09

char CFrameAttr::unk_09

Definition at line 30 of file frame.hpp.

◆ remake_pending

char CFrameAttr::remake_pending

Nonzero when the visual's vertex or material data changed and must be rebuilt before the next draw.

Definition at line 31 of file frame.hpp.

◆ program_option

char CFrameAttr::program_option

Sets bit 4 of the microprogram's draw flags; set by the 's' name flag.

Definition at line 32 of file frame.hpp.

◆ fog_enable

char CFrameAttr::fog_enable

Whether fog applies to the frame; cleared by the 'f' name flag.

Definition at line 33 of file frame.hpp.

◆ far_clip_enable

char CFrameAttr::far_clip_enable

Whether far_clip holds a far clipping distance from the opening script.

Definition at line 34 of file frame.hpp.

◆ unk_0E

char CFrameAttr::unk_0E

Definition at line 35 of file frame.hpp.

◆ unk_0F

char CFrameAttr::unk_0F

Definition at line 36 of file frame.hpp.

◆ far_clip

float CFrameAttr::far_clip

Far clipping distance the opening script sets.

Definition at line 37 of file frame.hpp.

◆ use_color

char CFrameAttr::use_color

Whether the frame is lit by color as ambient light instead of the scene's lights; set by the 'c' name flag.

Definition at line 38 of file frame.hpp.

◆ color

sceVu0FVECTOR CFrameAttr::color

Ambient colour the frame is lit by while use_color is set.

Definition at line 39 of file frame.hpp.

◆ cull_enable

char CFrameAttr::cull_enable

Whether the frame's bound is tested against the screen before drawing.

Definition at line 40 of file frame.hpp.

◆ ambient_boost

char CFrameAttr::ambient_boost

Whether the frame drops the directional lights and adds 30% of the first light's colour to the ambient; set by the 't' name flag.

Definition at line 41 of file frame.hpp.

◆ unk_40

sceVu0FVECTOR CFrameAttr::unk_40

Definition at line 42 of file frame.hpp.

◆ alpha_ref

short CFrameAttr::alpha_ref

Alpha test reference, or -1 to keep the default; set by the 'a' name flag.

Definition at line 43 of file frame.hpp.

◆ blend_mode

short CFrameAttr::blend_mode

Positive for additive blending, negative for subtractive, zero for the default.

Definition at line 44 of file frame.hpp.

◆ depth_write

char CFrameAttr::depth_write

Whether the frame writes depth; cleared by the 'z' name flag.

Definition at line 45 of file frame.hpp.

◆ ignore_depth

char CFrameAttr::ignore_depth

Whether the frame passes the depth test regardless of depth; set by the 'o' name flag.

Definition at line 46 of file frame.hpp.

◆ eye_relative

short CFrameAttr::eye_relative

Whether the microprogram receives the eye position in model space; set by the 'm' name flag.

Definition at line 47 of file frame.hpp.

◆ billboard

short CFrameAttr::billboard

Billboard mode: 2 turns the frame about Y towards the camera, 3 turns it fully; zero leaves the hierarchy's transform.

Definition at line 48 of file frame.hpp.