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
7class CTexture;
8struct sceVif1Packet;
9
17void 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
26void initBlendCnt(int count, float scale);
27
36void 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
41class CRunEffect {
42public:
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
93};
94
95STATIC_ASSERT(sizeof(CRunEffect) == 0xD0);
96
100extern float waveAnimeCnt[32];
104extern int sw;
void Step()
void Set(float *origin)
int life[8]
Definition runeffect.hpp:47
float velocity_y[8]
Definition runeffect.hpp:46
float position[8][4]
Definition runeffect.hpp:45
void Lighting(int enabled)
void Draw()