Skip to content

Commit be9c4d4

Browse files
committed
rework showcase button
1 parent e97a116 commit be9c4d4

3 files changed

Lines changed: 243 additions & 39 deletions

File tree

changelog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
#### Changes
55
- **Updated** Geode compatibility to version `4.6.3`
66
- **Added** promotional container for parent Team Project, if any, in information pop-up for independent levels
7+
- **Reworked** showcase menu in Team Project information pop-up
78
- **Fixed** thumbnail error for Team levels in Team Project information pop-up
89
- Team Projects may now show a customized thumbnail on the Team Project information pop-up
910

src/headers/ProjectInfoPopup.hpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,11 @@ class ProjectInfoPopup : public geode::Popup<> {
1818

1919
protected:
2020
std::string m_avalPublisher = "Avalanche";
21+
std::string m_linkedPublisher = "Avalanche";
2122
std::string m_cornerArtType = "rewardCorner_001.png";
2223

2324
Project m_avalProject;
25+
Project m_linkedProject;
2426

2527
GJGameLevel* m_level;
2628

@@ -35,5 +37,8 @@ class ProjectInfoPopup : public geode::Popup<> {
3537

3638
void onPlayShowcase(CCObject*);
3739

40+
void infoPopupLinked(CCObject*);
41+
void onPlayShowcaseLinked(CCObject*);
42+
3843
bool setup() override;
3944
};

0 commit comments

Comments
 (0)