diff --git a/TODO b/TODO index 3ee6846..1be3855 100644 --- a/TODO +++ b/TODO @@ -17,5 +17,7 @@ Release Todo: ☐ Add a settings button ☐ Add more keybinds ☐ Make a proper menu icon + ☐ Add a proper transition + ☐ Replace the popup init with initAnchored Nice To Haves: ☐ Custom theme support diff --git a/logo.png b/logo.png index fd48fbd..98dd572 100644 Binary files a/logo.png and b/logo.png differ diff --git a/mod.json b/mod.json index 873a8d7..566a8be 100644 --- a/mod.json +++ b/mod.json @@ -3,8 +3,12 @@ "version": "v0.1.0-alpha.1", "id": "smjs.gdintercept", "name": "GDIntercept", - "developer": "SMJS", + "developers": [ + "SMJSGaming", + "RobTop" + ], "description": "A GD proxy mod which allows you to intercept and modify any communication sent through the Cocos2D-X HttpClient.", + "repository": "https://github.com/SMJSGaming/GD-Intercept", "tags": [ "online", "interface", @@ -36,7 +40,7 @@ } }, "sprites": [ - "resources/inverseborder.png" + "resources/*.png" ] }, "settings": { diff --git a/resources/GDI-round.png b/resources/GDI-round.png new file mode 100644 index 0000000..d24bd16 Binary files /dev/null and b/resources/GDI-round.png differ diff --git a/src/mods/MenuLayer.cpp b/src/mods/MenuLayer.cpp index c3279e3..f5d56ae 100644 --- a/src/mods/MenuLayer.cpp +++ b/src/mods/MenuLayer.cpp @@ -5,9 +5,9 @@ bool ModMenuLayer::init() { return false; } - CCNode* logo = createModLogo(Mod::get()); + CCSprite* logo = CCSprite::create("GDI-round.png"_spr); - logo->setScale(0.5f); + logo->setScale(0.4f); CCMenu* menu = CCMenu::createWithItem(CCMenuItemSpriteExtra::create(logo, this, menu_selector(ModMenuLayer::onLogoClick))); diff --git a/src/scenes/InterceptPopup.cpp b/src/scenes/InterceptPopup.cpp index 1da60ce..6a5831b 100644 --- a/src/scenes/InterceptPopup.cpp +++ b/src/scenes/InterceptPopup.cpp @@ -56,7 +56,7 @@ void InterceptPopup::scene() { } else { instance = new InterceptPopup(); - if (instance && instance->initAnchored(InterceptPopup::uiWidth, InterceptPopup::uiHeight)) { + if (instance && instance->init(InterceptPopup::uiWidth, InterceptPopup::uiHeight)) { instance->setID("intercept_popup"_spr); instance->retain(); } else {