mirror of
https://github.com/zeldaret/ss
synced 2026-09-03 09:59:55 -04:00
d_lyt_meter_timer OK by shamefully avoiding an inline
This commit is contained in:
@@ -292,6 +292,12 @@ struct AnmGroupBase_c {
|
||||
return mpFrameCtrl->getNextFrame();
|
||||
}
|
||||
|
||||
#ifdef NEED_DIRECT_FRAMECTRL_ACCESS
|
||||
m2d::FrameCtrl_c *getFrameCtrl() {
|
||||
return mpFrameCtrl;
|
||||
}
|
||||
#endif
|
||||
|
||||
private:
|
||||
/* 0x04 */ void *field_0x04;
|
||||
/* 0x08 */ m2d::FrameCtrl_c *mpFrameCtrl;
|
||||
|
||||
@@ -114,7 +114,15 @@ public:
|
||||
return mEndFrame;
|
||||
}
|
||||
|
||||
// There's at least 1 file where the obvious way of writing
|
||||
// it seems to require accessing some members directly, without
|
||||
// inlines. I want to discourage direct access though, so
|
||||
// putting the ability behind an explicit define. We don't
|
||||
// know either way whether inlines are used at all or
|
||||
// whether stuff even is private.
|
||||
#ifndef NEED_DIRECT_FRAMECTRL_ACCESS
|
||||
private:
|
||||
#endif
|
||||
inline bool notLooping() const {
|
||||
return (mFlags & FLAG_NO_LOOP) != 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user