mirror of
https://github.com/zeldaret/tww.git
synced 2026-08-12 19:52:52 -04:00
Fix some roomno related inlines
This commit is contained in:
@@ -1085,7 +1085,7 @@ inline void dComIfGs_offSwitch(int i_no, int i_roomNo) {
|
||||
g_dComIfG_gameInfo.save.offSwitch(i_no, i_roomNo);
|
||||
}
|
||||
|
||||
inline BOOL dComIfGs_isSwitch(s32 i_no, s32 i_roomNo) {
|
||||
inline BOOL dComIfGs_isSwitch(int i_no, int i_roomNo) {
|
||||
return g_dComIfG_gameInfo.save.isSwitch(i_no, i_roomNo);
|
||||
}
|
||||
|
||||
@@ -1442,7 +1442,7 @@ inline s32 dComIfGp_roomControl_getTimePass() {
|
||||
return g_dComIfG_gameInfo.play.getRoomControl()->GetTimePass();
|
||||
}
|
||||
|
||||
inline s32 dComIfGp_roomControl_getStayNo() {
|
||||
inline int dComIfGp_roomControl_getStayNo() {
|
||||
return dStage_roomControl_c::getStayNo();
|
||||
}
|
||||
|
||||
|
||||
@@ -261,7 +261,6 @@ public:
|
||||
const cXyz& getPosition() const { return current.pos; }
|
||||
cXyz* getPositionP() { return ¤t.pos; }
|
||||
const csXyz& getAngle() const { return current.angle; }
|
||||
int getRoomNo() const { return current.roomNo; }
|
||||
}; // Size: 0x290
|
||||
|
||||
STATIC_ASSERT(sizeof(fopAc_ac_c) == 0x290);
|
||||
|
||||
@@ -285,7 +285,7 @@ inline f32 fopAcM_getCullSizeSphereR(fopAc_ac_c* i_actor) {
|
||||
|
||||
inline void dComIfGs_onSwitch(int i_no, int i_roomNo);
|
||||
inline void dComIfGs_offSwitch(int i_no, int i_roomNo);
|
||||
inline BOOL dComIfGs_isSwitch(s32 i_no, s32 i_roomNo);
|
||||
inline BOOL dComIfGs_isSwitch(int i_no, int i_roomNo);
|
||||
inline void dComIfGs_offActor(int i_no, int i_roomNo);
|
||||
|
||||
inline void fopAcM_onSwitch(fopAc_ac_c* pActor, int sw) {
|
||||
|
||||
Reference in New Issue
Block a user