DCDecomp
A decompilation of Dark Cloud for the PlayStation 2
Loading...
Searching...
No Matches
majinbeem.hpp
1#pragma once
2
3#include "common.h"
4
5#include <libvu0.h>
6
10// clang-format off
11enum MajinBeemState {
12 MAJIN_BEEM_AIM = 0,
13 MAJIN_BEEM_TRAVEL = 1,
14};
15
16// clang-format on
17
18// Forward declarations for the types these declarations name. The skeleton
19// headers are generated from the retail symbol table, which knows the type
20// names but not where they live.
21class CCamera;
22
24public:
25 sceVu0FVECTOR positions[60];
26 sceVu0FVECTOR target;
27 int state;
28 int counters[60];
29 float sizes[60];
30 float alphas[60];
31 int active;
32 float pitch;
33 float yaw;
34 float speed;
35 u8 unk_6b4[0xc];
36
44 CMajinBeem();
45
53 void Initialize();
54
62 void Draw(CCamera *camera);
63
71 void Draw2(CCamera *camera, float *head, float *source);
72
80 void Step();
81};
82
83STATIC_ASSERT(sizeof(CMajinBeem) == 0x6c0);
int counters[60]
Definition majinbeem.hpp:28
void Step()
sceVu0FVECTOR positions[60]
Definition majinbeem.hpp:25
float alphas[60]
Definition majinbeem.hpp:30
void Draw(CCamera *camera)
Definition majinbeem.cpp:16
float pitch
Definition majinbeem.hpp:32
void Draw2(CCamera *camera, float *head, float *source)
Definition majinbeem.cpp:87
sceVu0FVECTOR target
Definition majinbeem.hpp:26
float sizes[60]
Definition majinbeem.hpp:29
void Initialize()
Definition main.cpp:1765
float speed
Definition majinbeem.hpp:34