DCDecomp
A decompilation of Dark Cloud for the PlayStation 2
Loading...
Searching...
No Matches
runeffect.hpp
1
#pragma once
2
3
#include "common.h"
4
5
#include "
rect.hpp
"
6
7
class
CTexture
;
8
struct
sceVif1Packet
;
9
17
void
blendTextuer(
sceVif1Packet
*packet,
int
destination,
int
width,
int
format,
CTexture
*first_texture,
const
CRect_i_
&first_destination,
const
CRect_i_
&first_source,
CTexture
*second_texture,
const
CRect_i_
&second_destination,
const
CRect_i_
&second_source);
18
26
void
initBlendCnt(
int
count,
float
scale);
27
36
void
blendTextuerTest(
sceVif1Packet
*packet,
int
destination,
int
width,
int
format,
const
CRect_i_
&source,
CTexture
*texture,
const
CRect_i_
&texture_destination,
const
CRect_i_
&texture_source,
float
depth,
float
phase);
37
41
class
CRunEffect
{
42
public
:
43
int
lighting
;
44
u8 unk_04[0xC];
45
float
position
[8][4];
46
float
velocity_y
[8];
47
int
life
[8];
56
void
Lighting
(
int
enabled);
57
65
void
Draw
();
66
74
void
Set
(
float
*origin);
75
83
void
Step
();
84
92
CRunEffect
();
93
};
94
95
STATIC_ASSERT(
sizeof
(
CRunEffect
) == 0xD0);
96
100
extern
float
waveAnimeCnt[32];
104
extern
int
sw;
CRect_i_
Definition
rect.hpp:16
CRunEffect
Definition
rushmovi.cpp:135
CRunEffect::lighting
int lighting
Definition
runeffect.hpp:43
CRunEffect::Step
void Step()
CRunEffect::Set
void Set(float *origin)
CRunEffect::life
int life[8]
Definition
runeffect.hpp:47
CRunEffect::velocity_y
float velocity_y[8]
Definition
runeffect.hpp:46
CRunEffect::position
float position[8][4]
Definition
runeffect.hpp:45
CRunEffect::CRunEffect
CRunEffect()
CRunEffect::Lighting
void Lighting(int enabled)
CRunEffect::Draw
void Draw()
CTexture
Definition
texture.hpp:50
rect.hpp
sceVif1Packet
Definition
libpkt.h:10
ps2
include
runeffect.hpp
Generated by
1.9.8