mirror of
https://github.com/zeldaret/tww.git
synced 2026-07-11 06:34:45 -04:00
Remove fake inlines from obj_warpt
This commit is contained in:
@@ -16,16 +16,6 @@ public:
|
||||
PROC_RUN_e,
|
||||
};
|
||||
|
||||
inline u8 onEventReg(u8 arg0){
|
||||
u8 tmp = dComIfGs_getEventReg(m_event_reg[m2B8]);
|
||||
return tmp | arg0;
|
||||
}
|
||||
|
||||
inline u8 isEventReg(u8 arg0){
|
||||
u8 tmp = (u8)dComIfGs_getEventReg(m_event_reg[m2B8]);
|
||||
return tmp & arg0;
|
||||
}
|
||||
|
||||
void modeProcInit(int) {}
|
||||
|
||||
BOOL _createHeap();
|
||||
@@ -37,8 +27,8 @@ public:
|
||||
bool isOtherHuta();
|
||||
bool isRealHuta();
|
||||
void warp(int);
|
||||
void onWarpBit(unsigned char);
|
||||
bool isWarpBit(unsigned char);
|
||||
void onWarpBit(u8);
|
||||
bool isWarpBit(u8);
|
||||
void setMtx();
|
||||
void initCollision();
|
||||
void setCollision();
|
||||
|
||||
@@ -276,13 +276,16 @@ void daObj_Warpt_c::warp(int sclsnum) {
|
||||
}
|
||||
|
||||
/* 000008E8-00000968 .text onWarpBit__13daObj_Warpt_cFUc */
|
||||
void daObj_Warpt_c::onWarpBit(unsigned char arg1) {
|
||||
dComIfGs_setEventReg(m_event_reg[m2B8], onEventReg(arg1));
|
||||
void daObj_Warpt_c::onWarpBit(u8 bit) {
|
||||
u8 tmp = dComIfGs_getEventReg(m_event_reg[m2B8]);
|
||||
cLib_onBit<u8>(tmp, bit);
|
||||
dComIfGs_setEventReg(m_event_reg[m2B8], tmp);
|
||||
}
|
||||
|
||||
/* 00000968-000009D0 .text isWarpBit__13daObj_Warpt_cFUc */
|
||||
bool daObj_Warpt_c::isWarpBit(unsigned char arg1) {
|
||||
return isEventReg(arg1);
|
||||
bool daObj_Warpt_c::isWarpBit(u8 bit) {
|
||||
u8 tmp = (u8)dComIfGs_getEventReg(m_event_reg[m2B8]);
|
||||
return cLib_checkBit(tmp, bit);
|
||||
}
|
||||
|
||||
/* 000009D0-00000BB8 .text setMtx__13daObj_Warpt_cFv */
|
||||
|
||||
Reference in New Issue
Block a user