Skip to content

Commit

Permalink
updated for v4 i hope
Browse files Browse the repository at this point in the history
  • Loading branch information
OmgRod committed Dec 10, 2024
1 parent da1dfdf commit 73badcb
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 8 deletions.
2 changes: 0 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ else()
message(STATUS "Found Geode: $ENV{GEODE_SDK}")
endif()

set(GEODE_LINK_NIGHTLY ON)

add_subdirectory($ENV{GEODE_SDK} $ENV{GEODE_SDK}/build)

if(WIN32)
Expand Down
6 changes: 3 additions & 3 deletions mod.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"geode": "4.0.0-alpha.1",
"geode": "4.0.1",
"version": "v2.2.0",
"gd": {
"win": "2.2074",
Expand All @@ -17,7 +17,7 @@
"settings": {
"cp": {
"name": "Creator Points",
"description": "Creator Points show up in the garage. Click the CP icon to refresh. (Only available to people logged in)",
"description": "Creator Points show up in the garage. Click the Creator Points icon to refresh. (Only available to people logged in)",
"type": "bool",
"default": true
},
Expand Down Expand Up @@ -87,7 +87,7 @@
},
{
"id": "capeling.garage-stats-menu",
"version": ">=v1.0.1",
"version": ">=v1.0.2",
"importance": "required"
}],
"issues": {
Expand Down
2 changes: 1 addition & 1 deletion src/GPFeedbackLayer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class GPFeedbackLayer : public CCLayer {
}

void onFeedbackClick(CCObject* sender) {
auto descInput = dynamic_cast<CCTextInputNode*>(this->getChildByID("descInput"));
auto descInput = typeinfo_cast<CCTextInputNode*>(this->getChildByID("descInput"));
if (!descInput)
return;

Expand Down
2 changes: 1 addition & 1 deletion src/GPIconSaveLayer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class GPFeedbackLayer : public CCLayer {
}

void onFeedbackClick(CCObject* sender) {
auto descInput = dynamic_cast<CCTextInputNode*>(this->getChildByID("descInput"));
auto descInput = typeinfo_cast<CCTextInputNode*>(this->getChildByID("descInput"));
if (!descInput)
return;

Expand Down
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ class $modify(GJGarageLayerModified, GJGarageLayer) {
auto myStatItem = StatsDisplayAPI::getNewItem(
"achievements"_spr,
CCSprite::createWithSpriteFrameName("rankIcon_top10_001.png"),
static_cast<int>(AchievementManager::sharedState()->m_allAchievements->count()),
typeinfo_cast<int>(AchievementManager::sharedState()->m_allAchievements->count()),
0.5
);

Expand Down

0 comments on commit 73badcb

Please sign in to comment.