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

#include <visual.hpp>

Inheritance diagram for CVisual:
CVisualVu1 CCloth CVisualMDTVu1 CVisualPolyVu1 CVisualShadow

Public Member Functions

CVisual & operator= (const CVisual &other)
 
 CVisual ()
 
virtual void Initialize ()
 
CVisual & operator= (const CVisual &other)
 
 CVisual ()
 
virtual void Initialize ()
 

Public Attributes

int unk_00
 
int unk_04
 
int unk_0C
 

Detailed Description

The drawable half of a scene node. A frame carries the transform and one of these carries the geometry, so the same model file can be attached to any frame and the same frame can hold any of the three kinds below. The unit that defines them is not reconstructed yet, so each class here states its extent, the members the model loader reaches, and nothing else. The extents are the sizes the loader's own allocations name rather than sizes anybody chose. The base nothing is constructed from directly: two words of its own, the vtable pointer where the first virtual declaration puts it, and one word behind it.

Definition at line 30 of file visual.hpp.

Constructor & Destructor Documentation

◆ CVisual() [1/2]

CVisual::CVisual ( )

Constructs a visual and clears it.

Mangled name:
__ct__7CVisualFv
Address:
0x134B60
Size:
0x44

Definition at line 163 of file visualvu1.cpp.

◆ CVisual() [2/2]

CVisual::CVisual ( )

Constructs a visual and clears it.

Mangled name:
__ct__7CVisualFv
Address:
0x134B60
Size:
0x44

Member Function Documentation

◆ operator=() [1/2]

CVisual & CVisual::operator= ( const CVisual &  other)

Copies the visual's scalar state and returns this visual.

Mangled name:
__as__7CVisualFRC7CVisual
Address:
0x1433F0
Size:
0x1C

Copies one visual over another, field by field.

Mangled name:
__as__7CVisualFRC7CVisual
Address:
0x1433F0
Size:
0x1C

Definition at line 1707 of file main.cpp.

◆ Initialize() [1/2]

void CVisual::Initialize ( )
virtual

Clears the visual's draw flags.

Mangled name:
Initialize__7CVisualFv
Address:
0x134B50
Size:
0x10

Reimplemented in CVisualVu1, CVisualMDTVu1, CVisualMDTVu1, and CVisualVu1.

Definition at line 151 of file visualvu1.cpp.

◆ operator=() [2/2]

CVisual & CVisual::operator= ( const CVisual &  other)

Copies the visual's scalar state and returns this visual.

Mangled name:
__as__7CVisualFRC7CVisual
Address:
0x1433F0
Size:
0x1C

◆ Initialize() [2/2]

virtual void CVisual::Initialize ( )
virtual

Member Data Documentation

◆ unk_00

int CVisual::unk_00

Definition at line 32 of file visual.hpp.

◆ unk_04

int CVisual::unk_04

Definition at line 33 of file visual.hpp.

◆ unk_0C

int CVisual::unk_0C

Definition at line 62 of file visual.hpp.