mirror of
https://github.com/zeldaret/tww.git
synced 2026-09-05 18:28:11 -04:00
Demo work, d_a_kytag02 and d_a_ff OK
This commit is contained in:
@@ -31,7 +31,7 @@ public:
|
||||
/* 0x306 */ s16 mTargetRotY;
|
||||
/* 0x308 */ s16 mTimers[5];
|
||||
/* 0x312 */ s16 mLiveTimer;
|
||||
/* 0x314 */ u8 mState;
|
||||
/* 0x314 */ s8 mMode;
|
||||
/* 0x315 */ u8 m315[0x317 - 0x315];
|
||||
/* 0x317 */ u8 mbNotVisibleZ;
|
||||
/* 0x318 */ dCcD_Stts mStts;
|
||||
|
||||
@@ -1835,7 +1835,7 @@ public:
|
||||
BOOL allTrigger() const { return mItemTrigger & (BTN_A | BTN_B | BTN_X | BTN_Y | BTN_Z); }
|
||||
void otherWeaponTrigger() const {}
|
||||
|
||||
BOOL checkPlayerDemoMode() const { return mDemo.getDemoType(); }
|
||||
BOOL checkPlayerDemoMode() const { return mDemo.getDemoType() != 0; }
|
||||
void checkSpecialDemoMode() const {}
|
||||
|
||||
void checkAttentionLock() {}
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
|
||||
class swc00_class : public fopAc_ac_c {};
|
||||
|
||||
static inline s32 daSwc00_getSw1No(swc00_class* i_this) { return fopAcM_GetParam(i_this) & 0xFF; }
|
||||
static inline s32 daSwc00_getSw2No(swc00_class* i_this) { return (fopAcM_GetParam(i_this) >> 8) & 0xFF; }
|
||||
static inline s32 daSwc00_getType(swc00_class* i_this) { return (fopAcM_GetParam(i_this) >> 0x10) & 0x3; }
|
||||
static inline int daSwc00_getSw1No(swc00_class* i_this) { return fopAcM_GetParam(i_this) & 0xFF; }
|
||||
static inline int daSwc00_getSw2No(swc00_class* i_this) { return (fopAcM_GetParam(i_this) >> 8) & 0xFF; }
|
||||
static inline int daSwc00_getType(swc00_class* i_this) { return (fopAcM_GetParam(i_this) >> 0x10) & 0x3; }
|
||||
|
||||
#endif /* D_A_SWC00_H */
|
||||
|
||||
Reference in New Issue
Block a user