mirror of
https://github.com/zeldaret/tp
synced 2026-08-11 11:33:29 -04:00
f_op debug work (#2991)
* f_op debug 1 * f_op debug 2 * f_op debug 3 * f_op debug 4 * f_op debug 5 * f_op_debug fix build * f_op linking * remove goto in fopac_create * fix regressions * fix regressions * pr comments
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
#include "d/d_cc_d.h"
|
||||
#include "d/d_a_itembase_static.h"
|
||||
#include "f_op/f_op_actor_mng.h"
|
||||
#include "m_Do/m_Do_ext.h"
|
||||
|
||||
struct daItemBase_data {
|
||||
/* 0x00 */ f32 mGravity;
|
||||
|
||||
@@ -294,9 +294,10 @@ public:
|
||||
return mCannon;
|
||||
}
|
||||
|
||||
static void make_prm(u32* o_params, csXyz* o_paramsEx, u8 param_2, u8 i_itemNo, u8 i_itemBit, u8 i_itemType, u8 param_6) {
|
||||
o_paramsEx->x = (i_itemBit << 8) | (i_itemNo & 0xFF);
|
||||
o_paramsEx->z = (param_6 << 13) | (param_2 << 1) | i_itemType;
|
||||
static u32* make_prm(u32* o_params, csXyz* o_paramsEx, u8 param_2, u8 i_itemNo, u8 i_itemBit, u8 i_itemType, u8 param_6) {
|
||||
o_paramsEx->x = (i_itemBit << 8) | i_itemNo;
|
||||
o_paramsEx->z = i_itemType | ((param_6 << 13) | (param_2 << 1));
|
||||
return o_params;
|
||||
}
|
||||
|
||||
static void make_prm_bokkuri(u32* o_params, csXyz* o_paramsEx, u8 i_itemNo, u8 i_itemBit, u8 i_itemType, u8 param_5) {
|
||||
|
||||
@@ -17,15 +17,15 @@ public:
|
||||
return mNext;
|
||||
}
|
||||
|
||||
u8 checkStreamOn() {
|
||||
u8 checkStreamOn() const {
|
||||
return mStreamOn;
|
||||
}
|
||||
|
||||
s32 checkCanoeOn() {
|
||||
s32 checkCanoeOn() const {
|
||||
return mParameters;
|
||||
}
|
||||
|
||||
u8 getPower() {
|
||||
u8 getPower() const {
|
||||
return mPower;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user