Skip to content

Commit

Permalink
mac L
Browse files Browse the repository at this point in the history
  • Loading branch information
Alphalaneous committed Jul 22, 2024
1 parent a88e77e commit 922ffb5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/NodeModding.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,17 @@ using namespace geode::prelude;

#include <Geode/modify/CCSprite.hpp>
modifyNodeForTypeCreate(CCSprite, create, (), ());

#ifndef GEODE_IS_MACOS
modifyNodeForTypeCreate(CCSprite, createWithTexture, (CCTexture2D *p0, const CCRect& p1), (p0, p1));
#endif

modifyNodeForTypeCreate(CCSprite, createWithSpriteFrame, (CCSpriteFrame *p0), (p0));

#ifndef GEODE_IS_MACOS
#include <Geode/modify/CCMenu.hpp>
modifyNodeForType(CCMenu, initWithArray, (CCArray* p0), (p0));
#endif

#include <Geode/modify/CCMenuItemSpriteExtra.hpp>
modifyNodeForType(CCMenuItemSpriteExtra, init, (cocos2d::CCNode* p0, cocos2d::CCNode* p1, cocos2d::CCObject* p2, cocos2d::SEL_MenuHandler p3), (p0, p1, p2, p3));
Expand Down

0 comments on commit 922ffb5

Please sign in to comment.