Skip to content

Commit bafd2c4

Browse files
committed
last release
1 parent 6658f90 commit bafd2c4

File tree

6 files changed

+14
-9
lines changed

6 files changed

+14
-9
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ set(CMAKE_CXX_VISIBILITY_PRESET hidden)
66

77
set(CMAKE_SUPPRESS_DEVELOPER_WARNINGS 1 CACHE INTERNAL "Suppress cmake developer mode warnings")
88

9-
project(EventLevels VERSION 1.0.5)
9+
project(EventLevels VERSION 1.0.6)
1010

1111
add_library(${PROJECT_NAME} SHARED
1212
src/main.cpp

about.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
Allows you to use the <cp>Event Level</c> button!
44

5-
<cr>DOES NOT ADD NEW EVENT LEVELS, THIS IS JUST A COSMETIC MOD!</c>
5+
<cr>DOES NOT ADD NEW EVENT LEVELS, <s>THIS IS JUST A COSMETIC MOD!</s></c>
66

7-
The <cp>Event Level</c> page will be a modified version of the <co>Daily Level</c> page.
8-
You can switch to the actual <cp>Event Level</c> page if you want but no level will appear inside because there are no <cp>Event Levels</c> yet... duh
7+
You can switch to a modified version of the <co>Daily Level</c> page if you want.

changelog.md

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

3+
## 1.0.6
4+
- Made the actual <cp>Event Level</c> appear
5+
- Switched default value of the setting to make the reskinned daily level page appear instead
6+
- This mod will be discontinued as soon as <cp>Event Levels</c> will be a real thing in the game soon
7+
38
## 1.0.5
49
- Fixed github repo link because I changed my username
510
- Bumped Geode version

mod.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"geode": "3.7.1",
2+
"geode": "3.9.0",
33
"gd": {
44
"win": "2.206",
55
"android": "2.206",
@@ -8,7 +8,7 @@
88
},
99
"id": "timestepyt.eventlevels",
1010
"name": "Event Levels",
11-
"version": "v1.0.5",
11+
"version": "v1.0.6",
1212
"developer": "TimeStepYT",
1313
"description": "Allows you to use the Event Levels button",
1414
"links": {
@@ -27,7 +27,7 @@
2727
"name": "Modified Daily Page",
2828
"description": "Use a modified version of the <co>Daily Page</c>. Turn off for broken original <cp>Event Levels</c> page",
2929
"type": "bool",
30-
"default": true
30+
"default": false
3131
},
3232
"enablePopup": {
3333
"name": "Secret Skip Popup",

src/DailyLevelPage.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ class $modify(MyDailyLevelPage, DailyLevelPage) {
1616
int randLabel;
1717
};
1818
void dailyStatusFinished(GJTimedLevelType type) {
19-
if (type == GJTimedLevelType::Event && !Mod::get()->getSettingValue<bool>("useDaily"))
20-
type = GJTimedLevelType::Daily;
19+
// if (type == GJTimedLevelType::Event && !Mod::get()->getSettingValue<bool>("useDaily"))
20+
// type = GJTimedLevelType::Daily;
2121

2222
DailyLevelPage::dailyStatusFinished(type);
2323
}

src/main.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ class $modify(MyCreatorLayer, CreatorLayer) {
88
void onEventLevel(CCObject * sender) {
99
atEvent = true;
1010
DailyLevelPage::create(GJTimedLevelType::Event)->show();
11+
GameLevelManager::sharedState()->onGetGJDailyLevelStateCompleted("200001|10", "event_state");
1112
return;
1213
}
1314
bool init() {

0 commit comments

Comments
 (0)