mirror of
https://github.com/zeldaret/tp
synced 2026-09-09 03:50:33 -04:00
Add a precompiled header for RELs (#2597)
This commit is contained in:
@@ -3,6 +3,8 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "d/dolzel_rel.h"
|
||||
|
||||
#include "d/actor/d_a_coach_2D.h"
|
||||
#include "d/d_com_inf_game.h"
|
||||
#include "d/d_meter2_info.h"
|
||||
@@ -11,6 +13,86 @@
|
||||
#include "JSystem/J2DGraph/J2DScreen.h"
|
||||
#include "JSystem/J2DGraph/J2DAnmLoader.h"
|
||||
|
||||
class daCoach2D_HIO_c : public mDoHIO_entry_c {
|
||||
public:
|
||||
struct Param {
|
||||
/* 0x00 */ f32 pos_x;
|
||||
/* 0x04 */ f32 pos_y;
|
||||
/* 0x08 */ f32 size;
|
||||
/* 0x0C */ f32 alpha;
|
||||
/* 0x10 */ f32 icon_space_x;
|
||||
/* 0x14 */ f32 icon_pos_x;
|
||||
/* 0x18 */ f32 icon_pos_y;
|
||||
/* 0x1C */ f32 icon_size;
|
||||
/* 0x20 */ f32 icon_alpha;
|
||||
/* 0x24 */ f32 coach_pos_x;
|
||||
/* 0x28 */ f32 coach_pos_y;
|
||||
/* 0x2C */ f32 coach_size;
|
||||
/* 0x30 */ f32 coach_alpha;
|
||||
/* 0x34 */ f32 blink_speed_min;
|
||||
/* 0x38 */ f32 blink_speed_max;
|
||||
/* 0x3C */ f32 pikari_scale;
|
||||
/* 0x40 */ f32 pikari_anim_speed;
|
||||
/* 0x44 */ u8 pikari_moyaR0_R;
|
||||
/* 0x45 */ u8 pikari_moyaR0_G;
|
||||
/* 0x46 */ u8 pikari_moyaR0_B;
|
||||
/* 0x47 */ u8 pikari_moyaR0_A;
|
||||
/* 0x48 */ u8 pikari_moyaR1_R;
|
||||
/* 0x49 */ u8 pikari_moyaR1_G;
|
||||
/* 0x4A */ u8 pikari_moyaR1_B;
|
||||
/* 0x4B */ u8 pikari_moyaR1_A;
|
||||
/* 0x4C */ u8 unk_0x4C;
|
||||
/* 0x4D */ u8 unk_0x4D;
|
||||
/* 0x4E */ u8 unk_0x4E;
|
||||
/* 0x4F */ u8 unk_0x4F;
|
||||
/* 0x50 */ u8 unk_0x50;
|
||||
/* 0x51 */ u8 unk_0x51;
|
||||
/* 0x52 */ u8 unk_0x52;
|
||||
/* 0x53 */ u8 unk_0x53;
|
||||
/* 0x54 */ u8 debug_ON;
|
||||
/* 0x55 */ u8 max_damage_num;
|
||||
/* 0x56 */ u8 now_damage_num;
|
||||
/* 0x57 */ u8 reverse_flag;
|
||||
};
|
||||
|
||||
daCoach2D_HIO_c() {
|
||||
static Param aParam = {
|
||||
45.0f,
|
||||
-15.0f,
|
||||
1.0f,
|
||||
1.0f,
|
||||
7.5f,
|
||||
-6.5f,
|
||||
0.0f,
|
||||
0.5f,
|
||||
1.0f,
|
||||
0.0f,
|
||||
0.0f,
|
||||
1.0f,
|
||||
1.0f,
|
||||
1.0f,
|
||||
5.0f,
|
||||
3.0f,
|
||||
8.0f,
|
||||
0xFF, 0xFF, 0xFF, 0xB9,
|
||||
0x00, 0x9B, 0x00, 0x00,
|
||||
0xFF, 0xFF, 0xFF, 0x57,
|
||||
0x00, 0x73, 0x00, 0x00,
|
||||
false,
|
||||
20,
|
||||
0,
|
||||
1,
|
||||
};
|
||||
|
||||
memcpy(¶m, &aParam, sizeof(Param));
|
||||
}
|
||||
|
||||
/* 80657738 */ virtual ~daCoach2D_HIO_c() {}
|
||||
void genMessage(JORMContext*) {}
|
||||
|
||||
/* 0x4 */ Param param;
|
||||
};
|
||||
|
||||
/* 806569CC-80656A18 0000EC 004C+00 1/0 0/0 0/0 .text draw__Q211daCoach2D_c6c_listFv */
|
||||
void daCoach2D_c::c_list::draw() {
|
||||
dComIfGp_getCurrentGrafPort()->setup2D();
|
||||
|
||||
Reference in New Issue
Block a user