DCDecomp
A decompilation of Dark Cloud for the PlayStation 2
Loading...
Searching...
No Matches
weaponeffect.hpp
Go to the documentation of this file.
1#pragma once
2
3#include "common.h"
4
5#include <libvu0.h>
6
7#include "rect.hpp"
8
15#define WEAPON_EFFECT_STEP_MAX 32
16
17class CFrame;
18
25public:
28 u8 unk_008[8];
29
34 sceVu0FVECTOR edge[WEAPON_EFFECT_STEP_MAX * 2];
43 s32 cursor;
44 s32 timer;
45 s32 hold;
46 float strength;
47 float fade_out;
48 float fade;
49 u8 unk_538[8];
50
58 void InitSet(CFrame *frame, char *root_name, char *tip_name);
59
67 void Set(int hold, float fade, float fade_out);
68
76 void Step();
77
85 void Draw();
86};
87
88STATIC_ASSERT(sizeof(CWeaponEffect) == 0x540);
void InitSet(CFrame *frame, char *root_name, char *tip_name)
float alpha[WEAPON_EFFECT_STEP_MAX]
void Set(int hold, float fade, float fade_out)
sceVu0FVECTOR edge[WEAPON_EFFECT_STEP_MAX *2]
spRGBA colour[4]
s32 used[WEAPON_EFFECT_STEP_MAX]
#define WEAPON_EFFECT_STEP_MAX