more removal of geode.hpp headers

This commit is contained in:
altalk23 2022-10-13 13:07:37 +03:00
parent cce4daf501
commit 97456db101
19 changed files with 45 additions and 14 deletions

View file

@ -1,4 +1,4 @@
#include <Geode/utils/WackyGeodeMacros.hpp>
#include <Geode/utils/cocos.hpp>
#include <Geode/ui/BasedButtonSprite.hpp>
#include <Geode/ui/Notification.hpp>
#include <Index.hpp>

View file

@ -1,4 +1,4 @@
#include <Geode/Geode.hpp>
#include <Geode/utils/string.hpp>
USE_GEODE_NAMESPACE();

View file

@ -1,4 +1,5 @@
#include "HookListLayer.hpp"
#include <codegenned/binding/GJListLayer.hpp>
bool HookListLayer::init(Mod* mod) {
if (!GJDropDownLayer::init("Hooks", 220.f))

View file

@ -1,6 +1,7 @@
#pragma once
#include "HookListView.hpp"
#include <codegenned/binding/GJDropDownLayer.hpp>
class HookListLayer : public GJDropDownLayer {
protected:

View file

@ -1,4 +1,7 @@
#include "HookListView.hpp"
#include <codegenned/binding/TableView.hpp>
#include <codegenned/binding/StatsCell.hpp>
#include <Geode/utils/casts.hpp>
HookCell::HookCell(const char* name, CCSize size) :
TableViewCell(name, size.width, size.height) {}

View file

@ -1,6 +1,7 @@
#pragma once
#include <Geode/Geode.hpp>
#include <codegenned/binding/TableViewCell.hpp>
#include <codegenned/binding/CustomListView.hpp>
USE_GEODE_NAMESPACE();

View file

@ -1,6 +1,6 @@
#pragma once
#include <Geode/Geode.hpp>
#include <cocos2d.h>
USE_GEODE_NAMESPACE();

View file

@ -1,6 +1,6 @@
#pragma once
#include <Geode/Geode.hpp>
#include <cocos2d.h>
USE_GEODE_NAMESPACE();

View file

@ -2,11 +2,18 @@
#include "../dev/HookListLayer.hpp"
#include <Geode/ui/BasedButton.hpp>
#include "../list/ModListView.hpp"
#include <Geode/utils/WackyGeodeMacros.hpp>
#include <Geode/utils/casts.hpp>
#include <Geode/utils/vector.hpp>
#include <Geode/ui/IconButtonSprite.hpp>
#include <Geode/ui/MDPopup.hpp>
#include "../settings/ModSettingsPopup.hpp"
#include <InternalLoader.hpp>
#include <codegenned/binding/Slider.hpp>
#include <codegenned/binding/SliderThumb.hpp>
#include <codegenned/binding/ButtonSprite.hpp>
#include <codegenned/binding/SliderTouchLogic.hpp>
#include <codegenned/binding/GJListLayer.hpp>
#include <codegenned/binding/CCTextInputNode.hpp>
// TODO: die
#undef min

View file

@ -1,6 +1,7 @@
#pragma once
#include <Geode/Geode.hpp>
#include <codegenned/binding/FLAlertLayer.hpp>
#include <codegenned/binding/FLAlertLayerProtocol.hpp>
#include <Index.hpp>
#include <Geode/ui/MDTextArea.hpp>
#include <Geode/ui/Scrollbar.hpp>

View file

@ -3,6 +3,15 @@
#include "SearchFilterPopup.hpp"
#include <Geode/ui/Notification.hpp>
#include <optional>
#include <codegenned/binding/GJListLayer.hpp>
#include <codegenned/binding/CCTextInputNode.hpp>
#include <codegenned/binding/ButtonSprite.hpp>
#include <codegenned/binding/LoadingCircle.hpp>
#include <codegenned/binding/MenuLayer.hpp>
#include <codegenned/binding/GameToolbox.hpp>
#include <codegenned/binding/StatsCell.hpp>
#include <codegenned/binding/TableView.hpp>
#include <Geode/utils/casts.hpp>
static ModListType g_tab = ModListType::Installed;
static ModListLayer* g_instance = nullptr;

View file

@ -1,6 +1,6 @@
#pragma once
#include <Geode/Geode.hpp>
#include <codegenned/binding/TextInputDelegate.hpp>
#include "ModListView.hpp"
#include <Index.hpp>

View file

@ -1,10 +1,15 @@
#include "ModListView.hpp"
#include "../info/ModInfoLayer.hpp"
#include <Geode/utils/WackyGeodeMacros.hpp>
#include <Geode/utils/cocos.hpp>
#include <Geode/utils/casts.hpp>
#include <Geode/utils/string.hpp>
#include <Index.hpp>
#include "ModListLayer.hpp"
#include <InternalLoader.hpp>
#include "../info/CategoryNode.hpp"
#include <codegenned/binding/StatsCell.hpp>
#include <codegenned/binding/ButtonSprite.hpp>
#include <codegenned/binding/TableView.hpp>
template<class T>
static bool tryOrAlert(Result<T> const& res, const char* title) {

View file

@ -1,6 +1,8 @@
#pragma once
#include <Geode/Geode.hpp>
#include <codegenned/binding/TableViewCell.hpp>
#include <codegenned/binding/FLAlertLayerProtocol.hpp>
#include <codegenned/binding/CustomListView.hpp>
#include <Index.hpp>
#include <optional>

View file

@ -3,6 +3,7 @@
#include "ModListView.hpp"
#include <Geode/ui/SelectList.hpp>
#include "../info/CategoryNode.hpp"
#include <codegenned/binding/GameToolbox.hpp>
bool SearchFilterPopup::setup(ModListLayer* layer, ModListType type) {
m_noElasticity = true;

View file

@ -1,5 +1,5 @@
#include <Geode/utils/platform.hpp>
#include <Geode/Geode.hpp>
#include <fs/filesystem.hpp>
#ifdef GEODE_IS_WINDOWS

View file

@ -1,4 +1,4 @@
#include <Geode/Geode.hpp>
#include <Geode/Loader.hpp>
USE_GEODE_NAMESPACE();

View file

@ -1,4 +1,4 @@
#include <Geode/Geode.hpp>
#include <Geode/Loader.hpp>
USE_GEODE_NAMESPACE();

View file

@ -1,5 +1,5 @@
#define EXPORT_NAME TestDependency
#include <Geode/Geode.hpp>
#include <Geode/Loader.hpp>
API_INIT("com.geode.testdep")