DCDecomp
A decompilation of Dark Cloud for the PlayStation 2
Loading...
Searching...
No Matches
shot_effect_pack.hpp
1#pragma once
2
3#include "common.h"
4
5#include "bt_shot_effect.hpp"
6#include "dataalloc_fwd.hpp"
7#include "shot_effect.hpp"
8
13public:
21 void Set(int index, float *position, float *direction) {
22 effect[index].Set(position, direction, -1, -1, 0, NULL, -1);
23 current_effect = index;
24 }
25
33 int Entry(BT_SHOT_EFFECT *description, unsigned int *resource, int texture_block, CDataAlloc2<1> *allocator, int slots);
34
41 void SetUserID2(int id);
42
49 void SetDmg(int damage);
50};
51
52STATIC_ASSERT(sizeof(CSHOT_EFFECT_PACK) == 0x326F0);
void SetDmg(int damage)
int Entry(BT_SHOT_EFFECT *description, unsigned int *resource, int texture_block, CDataAlloc2< 1 > *allocator, int slots)
void Set(int index, float *position, float *direction)
void SetUserID2(int id)
CSHOT_EFFECT effect[5]
int Set(float *position, float *target, int owner, int sub_id, int source, CFrame *parent, int initial_phase)