Skip to content

Commit

Permalink
Added some final touches
Browse files Browse the repository at this point in the history
  • Loading branch information
SMJSGaming committed Jun 19, 2024
1 parent 0c4250e commit 52aa8d8
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 5 deletions.
2 changes: 2 additions & 0 deletions TODO
Original file line number Diff line number Diff line change
Expand Up @@ -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
Binary file modified logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 6 additions & 2 deletions mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -36,7 +40,7 @@
}
},
"sprites": [
"resources/inverseborder.png"
"resources/*.png"
]
},
"settings": {
Expand Down
Binary file added resources/GDI-round.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions src/mods/MenuLayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)));

Expand Down
2 changes: 1 addition & 1 deletion src/scenes/InterceptPopup.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 52aa8d8

Please sign in to comment.