Skip to content

Commit

Permalink
cat
Browse files Browse the repository at this point in the history
  • Loading branch information
TheSillyDoggo committed Jul 19, 2024
1 parent 59c8ec5 commit a3af6df
Show file tree
Hide file tree
Showing 132 changed files with 27 additions and 31 deletions.
Binary file added emojis/animated/colonthreecat/colonthreecat.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added emojis/animated/colonthreecat/colonthreecat_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added emojis/animated/colonthreecat/colonthreecat_2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added emojis/animated/colonthreecat/colonthreecat_3.png
Binary file added emojis/animated/colonthreecat/colonthreecat_4.png
Binary file added emojis/animated/colonthreecat/colonthreecat_5.png
Binary file added emojis/animated/colonthreecat/colonthreecat_6.png
Binary file added emojis/animated/colonthreecat/colonthreecat_7.png
Binary file added emojis/animated/colonthreecat/colonthreecat_8.png
Binary file added emojis/animated/colonthreecat/colonthreecat_9.png
Binary file added emojis/other/GJLargeLock_001.png
Binary file added emojis/other/GJ_coinsIcon2_001.png
Binary file added emojis/other/GJ_coinsIcon_001.png
Binary file added emojis/other/GJ_deleteIcon_001.png
Binary file added emojis/other/GJ_likesIcon_001.png
Binary file added emojis/other/GJ_lockGray_001.png
Binary file added emojis/other/GJ_lock_open_001.png
Binary file added emojis/other/GJ_pointsIcon_001.png
Binary file added emojis/other/GJ_starsIcon_001.png
Binary file added emojis/other/currencyDiamondIcon_001.png
Binary file added emojis/other/currencyOrbIcon_001.png
Binary file added emojis/other/currencyOrb_001.png
Binary file added emojis/other/diamond_small01_001.png
Binary file added emojis/other/modBadge_01_001.png
Binary file added emojis/other/modBadge_02_001.png
Binary file added emojis/other/modBadge_03_001.png
5 changes: 3 additions & 2 deletions mod.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"geode": "3.2.0",
"version": "v1.0.0",
"version": "v1.0.1",
"gd": {
"win": "2.206",
"mac": "2.206",
Expand Down Expand Up @@ -34,7 +34,8 @@
"emojis/animated/bonk/*.png",
"emojis/animated/partying/*.png",
"emojis/animated/ned_explosion/*.png",
"emojis/animated/polarbear/*.png"
"emojis/animated/polarbear/*.png",
"emojis/animated/colonthreecat/*.png"
],
"GJ_EmojiUISheet": [
"resources/*.png"
Expand Down
35 changes: 18 additions & 17 deletions src/EmojiNode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ bool EmojiNode::initWithAnimatedSprite(std::string key, float rate)
if (!CCSprite::init())
return false;

for (size_t i = 1; i < 69; i++)
for (size_t i = 1; i < 420; i++)
{
auto s = fmt::format("{}{}_{}.png", ""_spr, key, i).c_str();

Expand Down Expand Up @@ -114,33 +114,33 @@ std::vector<std::pair<std::string, std::string>> emojis = {
std::pair("insanedemon", "diffIcon_09_btn_001.png"),
std::pair("extremedemon", "diffIcon_10_btn_001.png"),

std::pair("star", "GJ_starsIcon_001.png"),
std::pair("star", "GJ_starsIcon_001.png"_spr),

std::pair("orb", "currencyOrb_001.png"),
std::pair("orbs", "currencyOrbIcon_001.png"),
std::pair("orb", "currencyOrb_001.png"_spr),
std::pair("orbs", "currencyOrbIcon_001.png"_spr),

std::pair("diamond", "diamond_small01_001.png"),
std::pair("diamonds", "currencyDiamondIcon_001.png"),
std::pair("diamond", "diamond_small01_001.png"_spr),
std::pair("diamonds", "currencyDiamondIcon_001.png"_spr),

std::pair("like", "GJ_likesIcon_001.png"),
std::pair("like", "GJ_likesIcon_001.png"_spr),
std::pair("dislike", "GJ_dislikesIcon_001.png"_spr), // rob i genuinely hate you for making it this differetn size it is size size different

std::pair("check", "GJ_completesIcon_001.png"),
std::pair("cross", "GJ_deleteIcon_001.png"),
std::pair("cross", "GJ_deleteIcon_001.png"_spr),

std::pair("locked", "GJLargeLock_001.png"),
std::pair("lockedgray", "GJ_lockGray_001.png"),
std::pair("unlocked", "GJ_lock_open_001.png"),
std::pair("locked", "GJLargeLock_001.png"_spr),
std::pair("lockedgray", "GJ_lockGray_001.png"_spr),
std::pair("unlocked", "GJ_lock_open_001.png"_spr),

std::pair("goldcoin", "GJ_coinsIcon_001.png"),
std::pair("goldcoin", "GJ_coinsIcon_001.png"_spr),
std::pair("uncollectedusercoin", "GJ_coinsIcon_gray_001.png"),
_Emoji("usercoinunverified"),
std::pair("usercoin", "GJ_coinsIcon2_001.png"),
std::pair("points", "GJ_pointsIcon_001.png"),
std::pair("usercoin", "GJ_coinsIcon2_001.png"_spr),
std::pair("points", "GJ_pointsIcon_001.png"_spr),

std::pair("mod", "modBadge_01_001.png"),
std::pair("eldermod", "modBadge_02_001.png"),
std::pair("leaderboardmod", "modBadge_03_001.png"),
std::pair("mod", "modBadge_01_001.png"_spr),
std::pair("eldermod", "modBadge_02_001.png"_spr),
std::pair("leaderboardmod", "modBadge_03_001.png"_spr),

std::pair("$$newline$$Discord", "$$newline$$"),

Expand Down Expand Up @@ -306,6 +306,7 @@ std::vector<std::pair<std::string, float>> animated = {
std::pair("partying", 0.04f),
std::pair("ned_explosion", 0.02f),
std::pair("polarbear", 0.03f),
std::pair("colonthreecat", 0.03f),
};

std::vector<std::pair<std::string, std::string>> EmojiNode::getEmojis()
Expand Down
5 changes: 4 additions & 1 deletion src/Hooks/CommentCell.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,11 @@ class $modify (CommentCell) {
}


if (comment->m_hasLevelID && comment->m_accountID == 16778880)
if (!m_accountComment && comment->m_accountID == 16778880)
{
if (!getChildByID("username-label"))
return;

auto badge = CCSprite::createWithSpriteFrameName("geode-icon.png"_spr);
badge->setScale(0.38f);
badge->setPosition(panel->getChildByID("username-label")->getPosition() + ccp(panel->getChildByID("username-label")->getScaledContentWidth(), 0) + ccp(8.125f, -1));
Expand Down
13 changes: 2 additions & 11 deletions src/Hooks/ShareCommentLayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ class $modify (ShareCommentLayerExt, ShareCommentLayer)
CCTextInputNode* inp = nullptr;
};

void onEmojis(CCObject *) {
void onEmojis(CCObject*)
{
if (m_fields->inp)
{
m_fields->inp->onClickTrackNode(false);
Expand Down Expand Up @@ -45,14 +46,4 @@ class $modify (ShareCommentLayerExt, ShareCommentLayer)

return true;
}

virtual void textChanged(CCTextInputNode* textInput)
{
ShareCommentLayer::textChanged(textInput);

if (m_fields->isComment)
{

}
}
};

0 comments on commit a3af6df

Please sign in to comment.