Skip to content

Commit d4d2bef

Browse files
committed
Remove everything animated fire related because it is no longer needed, also bump geode version
1 parent 2d180ed commit d4d2bef

File tree

4 files changed

+6
-14
lines changed

4 files changed

+6
-14
lines changed

.github/workflows/multi-platform.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
- name: Build the mod
3636
uses: geode-sdk/build-geode-mod@main
3737
with:
38-
bindings: Reinmmar/bindings
38+
bindings: geode-sdk/bindings
3939
bindings-ref: main
4040
combine: true
4141
target: ${{ matrix.config.target }}

changelog.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Event Levels changelog
22

3+
## 1.0.2
4+
- <cb>Animated Fire</c> specific tweaks <cy>no longer needed</c> since it now uses a CCClippingNode instead of a background colored sprite!
5+
36
## 1.0.1
47
- Fix not having the <cb>Animated Fire</c> mod breaking some changes
58

mod.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"geode": "3.2.0",
2+
"geode": "3.3.0",
33
"gd": {
44
"win": "2.206",
55
"android": "2.206",

src/DailyLevelNode.cpp

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -28,18 +28,7 @@ class $modify(DailyLevelNodeHook, DailyLevelNode) {
2828
#endif
2929
bool init(GJGameLevel * level, DailyLevelPage * page, bool isNew) {
3030
if (!DailyLevelNode::init(level, page, isNew)) return false;
31-
auto hideSprite = this->getChildByID("uproxide.animated_fire/hide-spr");
32-
if (hideSprite != nullptr) {
33-
cocos2d::ccColor3B color;
34-
if (atEvent) {
35-
color.r = 0x3f;
36-
color.g = 0x09;
37-
color.b = 0x7b;
38-
static_cast<CCSprite*>(hideSprite)->setColor(color);
39-
}
40-
else return true;
41-
}
42-
if (!Mod::get()->getSettingValue<bool>("useDaily")) return true;
31+
if (!Mod::get()->getSettingValue<bool>("useDaily") || !atEvent) return true;
4332
if (this->getChildByID("crown-sprite") == nullptr)
4433
return true;
4534
auto dn = this->getChildByID("background");

0 commit comments

Comments
 (0)