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
12
class
CSHOT_EFFECT_PACK
{
13
public
:
14
CSHOT_EFFECT
effect
[5];
16
s32
current_effect
;
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
52
STATIC_ASSERT(
sizeof
(
CSHOT_EFFECT_PACK
) == 0x326F0);
CDataAlloc2
Definition
dataalloc.hpp:22
CSHOT_EFFECT_PACK
Definition
shot_effect_pack.hpp:12
CSHOT_EFFECT_PACK::SetDmg
void SetDmg(int damage)
Definition
shot_effect.cpp:613
CSHOT_EFFECT_PACK::current_effect
s32 current_effect
Definition
shot_effect_pack.hpp:16
CSHOT_EFFECT_PACK::Entry
int Entry(BT_SHOT_EFFECT *description, unsigned int *resource, int texture_block, CDataAlloc2< 1 > *allocator, int slots)
Definition
shot_effect.cpp:591
CSHOT_EFFECT_PACK::Set
void Set(int index, float *position, float *direction)
Definition
shot_effect_pack.hpp:21
CSHOT_EFFECT_PACK::SetUserID2
void SetUserID2(int id)
Definition
shot_effect.cpp:607
CSHOT_EFFECT_PACK::effect
CSHOT_EFFECT effect[5]
Definition
shot_effect_pack.hpp:14
CSHOT_EFFECT
Definition
shot_effect.hpp:18
CSHOT_EFFECT::Set
int Set(float *position, float *target, int owner, int sub_id, int source, CFrame *parent, int initial_phase)
Definition
shot_effect.cpp:392
dataalloc_fwd.hpp
BT_SHOT_EFFECT
Definition
bt_shot_effect.hpp:18
ps2
include
shot_effect_pack.hpp
Generated by
1.9.8