Skip to content

Commit

Permalink
2.206 preparation
Browse files Browse the repository at this point in the history
  • Loading branch information
cdc-sys committed Jun 6, 2024
1 parent 9fd4211 commit 8c28e19
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 11 deletions.
4 changes: 2 additions & 2 deletions mod.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"geode": "2.0.0-beta.23",
"gd": { "win": "2.204", "android": "2.205" },
"geode": "3.0.0-alpha.1",
"gd": { "win": "2.206", "android": "2.206" },
"version": "v1.0.4",
"id": "cdc.level_thumbnails",
"name": "Level Thumbnails",
Expand Down
20 changes: 11 additions & 9 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,17 @@ using namespace geode::prelude;
#include "utils.hpp"

class $modify(MyLevelCell, LevelCell) {
LoadingCircle* loadingIndicator;
CCSprite* placeholderImage;
CCSprite* separatorSprite;
CCLabelBMFont* notAvailable;
CCLayerColor* background;
web::AsyncWebRequest downloadRequest;

bool fetched = false;
bool fetchFailed = false;
struct Fields{
LoadingCircle* loadingIndicator;
CCSprite* placeholderImage;
CCSprite* separatorSprite;
CCLabelBMFont* notAvailable;
CCLayerColor* background;
web::AsyncWebRequest downloadRequest;

bool fetched = false;
bool fetchFailed = false;
};

void loadCustomLevelCell() {
LevelCell::loadCustomLevelCell();
Expand Down

0 comments on commit 8c28e19

Please sign in to comment.