add 3 bools to cceglview

This commit is contained in:
altalk23 2022-04-28 22:07:31 +03:00
parent bb0c3d2db0
commit f7c481e93f
5 changed files with 12 additions and 6 deletions

View file

@ -57,6 +57,12 @@ public:
private:
static CCEGLView* s_sharedView;
RT_ADD(
bool m_idk1;
bool m_idk2;
bool m_idk3;
)
CCEGLView(void);
};

View file

@ -207,9 +207,9 @@ struct _listEntry;
BOOL dispatchEvents_;
struct _listEntry *keyboardDelegates_;
struct _listEntry *mouseDelegates_;
struct _listEntry *touchDelegates_;
struct ::_listEntry *keyboardDelegates_;
struct ::_listEntry *mouseDelegates_;
struct ::_listEntry *touchDelegates_;
}
@property (nonatomic, readwrite) BOOL dispatchEvents;

View file

@ -52,7 +52,7 @@ namespace geode::utils {
return std::to_string(this->elapsed<Duration>()) + "ns";
}
else {
static_assert(!std::is_same_v<bool, bool>, "Unsupported duration type");
// static_assert(!std::is_same_v<bool, bool>, "Unsupported duration type");
}
}
};
@ -73,7 +73,7 @@ namespace geode::utils {
m_timer = Timer<Clock>();
};
~LogPerformance() {
m_output << "Running \"" << m_msg << "\" took " << m_timer.elapsedAsString<Duration>() << std::endl;
m_output << "Running \"" << m_msg << "\" took " << m_timer.template elapsedAsString<Duration>() << std::endl;
}
};
}

View file

@ -392,7 +392,7 @@ class cocos2d::CCMenuItemSprite {
virtual auto setDisabledImage(cocos2d::CCNode*) = mac 0x1fd080, ios 0x2d104;
virtual auto updateImagesVisibility() = mac 0x1fd510, ios 0x2d3dc;
bool initWithNormalSprite(cocos2d::CCNode*, cocos2d::CCNode*, cocos2d::CCNode*, cocos2d::CCObject*, cocos2d::SEL_MenuHandler) = mac 0x125450;
bool initWithNormalSprite(cocos2d::CCNode*, cocos2d::CCNode*, cocos2d::CCNode*, cocos2d::CCObject*, cocos2d::SEL_MenuHandler) = mac 0x1fd2f0;
static auto create(cocos2d::CCNode*, cocos2d::CCNode*, cocos2d::CCNode*) = mac 0x1fd120;
static auto create(cocos2d::CCNode*, cocos2d::CCNode*, cocos2d::CCNode*, cocos2d::CCObject*, cocos2d::SEL_MenuHandler) = mac 0x1fd140;
static auto create(cocos2d::CCNode*, cocos2d::CCNode*, cocos2d::CCObject*, cocos2d::SEL_MenuHandler) = mac 0x1fd2d0;

Binary file not shown.