fix windows garagelayer pad

This commit is contained in:
altalk23 2022-10-18 21:04:03 +03:00
parent 5a5d1d5896
commit fd291d51a9
2 changed files with 17 additions and 12 deletions
bindings
loader/include/Geode/loader

View file

@ -2229,7 +2229,7 @@ class GJGarageLayer : cocos2d::CCLayer, TextInputDelegate, FLAlertLayerProtocol,
void onBack(cocos2d::CCObject* sender) = mac 0x0, win 0x12adf0, ios 0x0;
void onShop(cocos2d::CCObject* sender) = mac 0x0, win 0x12ad90, ios 0x0;
void setupColorSelect() = mac 0x1b7500;
PAD = mac 0x10, win 0x0, android 0x0;
PAD = mac 0x10, win 0x8, android 0x0;
CCTextInputNode* m_nameInput;
SimplePlayer* m_playerPreview;
PAD = mac 0x10, win 0x8, android 0x0;

View file

@ -29,23 +29,28 @@ namespace geode {
namespace log {
using log_clock = std::chrono::system_clock;
std::string generateLogName();
GEODE_DLL std::string generateLogName();
std::string parse(cocos2d::CCNode*);
GEODE_DLL std::string parse(cocos2d::CCNode*);
template <class T>
requires std::convertible_to<T*, cocos2d::CCNode*>
std::string parse(T* node) {
return parse(static_cast<cocos2d::CCNode*>(node));
}
std::string parse(cocos2d::CCPoint const&);
std::string parse(cocos2d::CCSize const&);
std::string parse(cocos2d::CCRect const&);
std::string parse(cocos2d::CCArray*);
std::string parse(cocos2d::ccColor3B const&);
std::string parse(cocos2d::ccColor4B const&);
std::string parse(cocos2d::ccColor4F const&);
std::string parse(cocos2d::CCObject*);
std::string parse(Mod*);
GEODE_DLL std::string parse(cocos2d::CCPoint const&);
GEODE_DLL std::string parse(cocos2d::CCSize const&);
GEODE_DLL std::string parse(cocos2d::CCRect const&);
GEODE_DLL std::string parse(cocos2d::CCArray*);
GEODE_DLL std::string parse(cocos2d::ccColor3B const&);
GEODE_DLL std::string parse(cocos2d::ccColor4B const&);
GEODE_DLL std::string parse(cocos2d::ccColor4F const&);
GEODE_DLL std::string parse(cocos2d::CCObject*);
template <class T>
requires (std::convertible_to<T*, cocos2d::CCObject*> && !std::convertible_to<T*, cocos2d::CCNode*>)
std::string parse(T* node) {
return parse(static_cast<cocos2d::CCObject*>(node));
}
GEODE_DLL std::string parse(Mod*);
template <typename T>
requires requires(T b) { std::stringstream() << b; }