|
DCDecomp
A decompilation of Dark Cloud for the PlayStation 2
|
#include <fireomni.hpp>
Public Member Functions | |
| void | FireStep () |
| void | FireCreate () |
| void | DrawFire (int unknown0, int unknown1, CCamera *camera, float *eye, float scale, int unknown2, float unknown3) |
| void | FireStep () |
| void | FireCreate () |
| void | DrawFire (int unknown0, int unknown1, CCamera *camera, float *eye, float scale, int unknown2, float unknown3) |
| void | FireStep () |
| void | FireCreate () |
| void | DrawFire (int unused0, int unused1, CCamera *camera, float *eye, float scale, int layers, float camera_offset) |
| void | FireStep () |
| void | FireCreate () |
| void | SetPosition (float x, float y, float z) |
| void | DrawFire (int unused0, int unused1, CCamera *camera, float *colour, float scale, int layers, float camera_offset) |
| void | FireStep () |
| void | FireCreate () |
| void | SetPosition (float x, float y, float z) |
| void | DrawFire (int unused0, int unused1, CCamera *camera, float *eye, float scale, int layers, float camera_offset) |
| void | FireStep () |
| void | FireCreate () |
| void | SetPosition (float x, float y, float z) |
| void | DrawFire (int unused0, int unused1, CCamera *camera, float *eye, float scale, int layers, float camera_offset) |
| CFireOmni () | |
| void | FireStep () |
| void | FireCreate () |
| void | SetTexture (CTexture *core_texture, CTexture *glow_texture) |
| void | DrawFire (int unused0, int unused1, CCamera *camera, float *colour, float scale, int layers, float camera_offset) |
| void | RasterStep () |
| void | DrawRaster () |
Public Attributes | |
| char | unk_00 [32] |
| sceVu0FVECTOR | pos |
| s32 | texture_set |
| CTexture * | core |
| CTexture * | glow |
| s32 | unk_3C |
| sceVu0FVECTOR | position |
| char | unk_18 [32] |
| s32 | unk_00 |
| float | raster_phase |
| float | flame_phase |
| float | cell_phase |
| float | flicker_width |
| float | flicker_height |
| s16 | flicker_seed |
| s16 | unk_1A |
| s32 | flicker_count |
Draws a fire that gives off light in every direction, and the raster that it casts on the floor.
| CFireOmni::CFireOmni | ( | ) |
Definition at line 12 of file fireomni.cpp.
| CFireOmni::CFireOmni | ( | ) |
Clears the fire's animation state and gives its cell phase a random start.
| void CFireOmni::FireStep | ( | ) |
Definition at line 27 of file fireomni.cpp.
| void CFireOmni::FireCreate | ( | ) |
Definition at line 43 of file fireomni.cpp.
| void CFireOmni::DrawFire | ( | int | unknown0, |
| int | unknown1, | ||
| CCamera * | camera, | ||
| float * | eye, | ||
| float | scale, | ||
| int | unknown2, | ||
| float | unknown3 | ||
| ) |
Definition at line 68 of file fireomni.cpp.
|
inline |
Definition at line 164 of file rushmovi.cpp.
|
inline |
|
inline |
Definition at line 197 of file titleloop.cpp.
| void CFireOmni::FireStep | ( | ) |
Advances the flame and cell animation phases and chooses the seed the next flicker draws from.
| void CFireOmni::FireCreate | ( | ) |
Composes the flame texture for the current cell phase out of the sheet the texture manager holds.
Supplies the two flame textures, so that drawing does not look them up for itself.
Definition at line 62 of file fireomni.cpp.
| void CFireOmni::DrawFire | ( | int | unused0, |
| int | unused1, | ||
| CCamera * | camera, | ||
| float * | colour, | ||
| float | scale, | ||
| int | layers, | ||
| float | camera_offset | ||
| ) |
Draws the flame as camera-facing sprites, one layer per bit of the layer mask.
| void CFireOmni::RasterStep | ( | ) |
Advances and wraps the fire raster animation phase.
Definition at line 197 of file fireomni.cpp.
| void CFireOmni::DrawRaster | ( | ) |
Draws the light the fire casts on the floor, clipped to the screen.
Definition at line 206 of file fireomni.cpp.
| sceVu0FVECTOR CFireOmni::pos |
| s32 CFireOmni::texture_set |
| CTexture * CFireOmni::core |
| CTexture * CFireOmni::glow |
| sceVu0FVECTOR CFireOmni::position |
| char CFireOmni::unk_18 |
Definition at line 152 of file rushmovi.cpp.
| s32 CFireOmni::unk_00 |
Definition at line 19 of file fireomni.hpp.
| float CFireOmni::raster_phase |
Animation phase of the raster cast on the floor.
Definition at line 20 of file fireomni.hpp.
| float CFireOmni::flame_phase |
Animation phase of the flame, wrapping at 128.
Definition at line 21 of file fireomni.hpp.
| float CFireOmni::cell_phase |
Texture cell the flame draws, counting down to zero.
Definition at line 22 of file fireomni.hpp.
| float CFireOmni::flicker_width |
Random width scale held between flicker steps.
Definition at line 23 of file fireomni.hpp.
| float CFireOmni::flicker_height |
Random height scale held between flicker steps.
Definition at line 24 of file fireomni.hpp.
| s16 CFireOmni::flicker_seed |
Seed the flicker draw restarts the generator from.
Definition at line 25 of file fireomni.hpp.
| s16 CFireOmni::unk_1A |
Definition at line 26 of file fireomni.hpp.
| s32 CFireOmni::flicker_count |
Frames drawn since the flicker scales were last chosen.
Definition at line 27 of file fireomni.hpp.