add los swpush variant

This commit is contained in:
TakaRikka
2026-06-09 03:28:40 -07:00
parent 3d5b55ad33
commit e345323f0a
2 changed files with 26 additions and 8 deletions
+4 -4
View File
@@ -142,12 +142,12 @@ namespace daObjSwpush {
int Mthd_Execute();
int Mthd_Draw();
static s16 const M_bmd[3];
static s16 const M_dzb[3];
static u32 const M_heap_size[3];
static s16 const M_bmd[DUSK_IF_ELSE(4, 3)];
static s16 const M_dzb[DUSK_IF_ELSE(4, 3)];
static u32 const M_heap_size[DUSK_IF_ELSE(4, 3)];
static Hio_c::Attr_c const M_attr[5];
static u8 const M_op_vtx[4];
static DUSK_CONST char* M_arcname[3];
static DUSK_CONST char* M_arcname[DUSK_IF_ELSE(4, 3)];
/* 0x568 */ request_of_phase_process_class mPhase;
/* 0x570 */ dBgWSv* mpBgW;
+22 -4
View File
@@ -54,14 +54,27 @@ BOOL daObjSwpush::Act_c::solidHeapCB(fopAc_ac_c* a_this) {
return static_cast<daObjSwpush::Act_c*>(a_this)->create_heap();
}
s16 const daObjSwpush::Act_c::M_bmd[3] = {BMDR_KBOTA_00, BMDR_S_LV3BOTA, BMDR_S_LV6BOTA};
s16 const daObjSwpush::Act_c::M_bmd[DUSK_IF_ELSE(4, 3)] = {
BMDR_KBOTA_00, BMDR_S_LV3BOTA, BMDR_S_LV6BOTA,
#if TARGET_PC
4
#endif
};
s16 const daObjSwpush::Act_c::M_dzb[3] = {DZB_KBOTA_00, DZB_KBOTA2_00, DZB_KBOTA3_00};
s16 const daObjSwpush::Act_c::M_dzb[DUSK_IF_ELSE(4, 3)] = {
DZB_KBOTA_00, DZB_KBOTA2_00, DZB_KBOTA3_00,
#if TARGET_PC
7
#endif
};
DUSK_CONST char* daObjSwpush::Act_c::M_arcname[3] = {
DUSK_CONST char* daObjSwpush::Act_c::M_arcname[DUSK_IF_ELSE(4, 3)] = {
"Kbota_00",
"S_lv3bota",
"S_lv6bota",
#if TARGET_PC
"S_losbota",
#endif
};
bool daObjSwpush::Act_c::create_heap() {
@@ -117,7 +130,12 @@ cPhs_Step daObjSwpush::Act_c::create_res_load() {
return cPhs_COMPLEATE_e;
}
u32 const daObjSwpush::Act_c::M_heap_size[3] = {0x1000, 0x1000, 0x1000};
u32 const daObjSwpush::Act_c::M_heap_size[DUSK_IF_ELSE(4, 3)] = {
0x1000, 0x1000, 0x1000,
#if TARGET_PC
0x2000,
#endif
};
daObjSwpush::Hio_c::Attr_c const daObjSwpush::Act_c::M_attr[5] = {
{