Skip to content

Commit de00e61

Browse files
committed
feat(pch): it sucks
1 parent e11e382 commit de00e61

14 files changed

+35
-0
lines changed

src/custom_layers/RLConfirmationAlertLayer.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
#include "RLConfirmationAlertLayer.hpp"
22

3+
#include <Geode/binding/TextArea.hpp>
4+
#include <Geode/binding/ButtonSprite.hpp>
5+
36
using namespace geode::prelude;
47

58
RLConfirmationAlertLayer* RLConfirmationAlertLayer::create(const RLConfirmationData& cli)

src/custom_layers/RLDifficultySelectAlertLayer.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
#include "RLDifficultySelectAlertLayer.hpp"
22
#include "constants.hpp"
33

4+
#include <Geode/loader/Mod.hpp>
5+
#include <Geode/ui/Layout.hpp>
6+
#include <Geode/utils/cocos.hpp>
7+
8+
#include <Geode/binding/ButtonSprite.hpp>
9+
410
using namespace geode::prelude;
511

612
RLDifficultySelectAlertLayer* RLDifficultySelectAlertLayer::create(const RLDifficultySelectData& dsi)

src/custom_layers/RLIntegerInputAlertLayer.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#include "RLIntegerInputAlertLayer.hpp"
22

3+
#include <Geode/binding/ButtonSprite.hpp>
4+
35
using namespace geode::prelude;
46

57
RLIntegerInputAlertLayer* RLIntegerInputAlertLayer::create(const RLIntegerInputData& iili)

src/custom_layers/RLIntegerInputAlertLayer.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
#include <optional>
55
#include <functional>
66

7+
#include <Geode/binding/CCTextInputNode.hpp>
8+
79
#include "base/BaseCustomAlertLayer.hpp"
810

911
class RLIntegerInputAlertLayer;

src/custom_layers/RLStatsAlertLayer.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
#include "RLStatsAlertLayer.hpp"
22

3+
#include <fmt/format.h>
4+
5+
#include <Geode/loader/Mod.hpp>
36
#include <Geode/binding/LevelCell.hpp>
7+
#include <Geode/binding/ButtonSprite.hpp>
8+
#include <Geode/binding/GJLevelList.hpp>
9+
#include <Geode/binding/LevelListLayer.hpp>
410

511
#include "RouletteManager.hpp"
612
#include "utils.hpp"

src/custom_nodes/RLDifficultyNode.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#include "RLDifficultyNode.hpp"
22
#include "constants.hpp"
33

4+
#include <Geode/binding/GameToolbox.hpp>
5+
46
using namespace geode::prelude;
57

68
RLDifficultyNode* RLDifficultyNode::create(const DifficultyInfo& di)

src/custom_nodes/RLProgressBar.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
// progress bars are not my forté https://github.com/adafcaefc/Geome3Dash/blob/master/Geome3Dash/src/game/component/G3DProgressBar.cpp
22
#include "RLProgressBar.hpp"
33

4+
using namespace geode::prelude;
5+
46
RLProgressBar* RLProgressBar::create(float progress, bool willAnimate)
57
{
68
auto* ret = new RLProgressBar();

src/custom_nodes/RLRepeatingBackground.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
#include "RLRepeatingBackground.hpp"
22

3+
#include <Geode/binding/CCMenuItemSpriteExtra.hpp>
4+
5+
#include <fmt/format.h>
6+
37
#ifndef ROULETTE_DEBUG_BUILD
48
#include "utils.hpp"
59
#endif

src/custom_nodes/RLRepeatingBackground.hpp

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

33
#include <Geode/cocos/layers_scenes_transitions_nodes/CCLayer.h>
44

5+
#include <Geode/cocos/sprite_nodes/CCSprite.h>
6+
57
class RLRepeatingBackground : public cocos2d::CCLayerRGBA
68
{
79
public:

src/layers/CreatorLayer.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
#include "../roulette/RLRouletteLayer.hpp"
33

44
#include <Geode/modify/CreatorLayer.hpp>
5+
#include <Geode/ui/BasedButtonSprite.hpp>
56

67
using namespace geode::prelude;
78

0 commit comments

Comments
 (0)