grrr (pch fixes)

This commit is contained in:
qimiko 2024-06-03 17:20:47 -07:00
parent d4f98ce86b
commit 7860cb05ef
No known key found for this signature in database
GPG key ID: D2D404DD810FE0E3
25 changed files with 42 additions and 1 deletions

View file

@ -25,6 +25,7 @@
#ifndef __CCDATAVISITOR_H__
#define __CCDATAVISITOR_H__
#include "../../DefaultInclude.hpp"
#include "../platform/CCPlatformMacros.h"
#include <string>

View file

@ -5,6 +5,8 @@
#include "../utils/Result.hpp"
#include "../utils/VersionInfo.hpp"
#include "../utils/general.hpp"
#include "Loader.hpp" // very nice circular dependency fix
#include "Hook.hpp"
#include "ModMetadata.hpp"
#include "Setting.hpp"

View file

@ -3,6 +3,7 @@
#include "Event.hpp"
#include "Loader.hpp"
#include "Setting.hpp"
#include "Mod.hpp"
#include <optional>

View file

@ -1,5 +1,7 @@
#pragma once
#include <Geode/loader/Mod.hpp>
#include <ccTypes.h>
#include "../DefaultInclude.hpp"
#include "../loader/Event.hpp"

View file

@ -1,5 +1,6 @@
#pragma once
#include <Geode/loader/Loader.hpp> // another great circular dependency fix
#include <matjson.hpp>
#include "Result.hpp"
#include "Task.hpp"

View file

@ -1,5 +1,6 @@
#include "FixModIssues.hpp"
#include <Geode/loader/Loader.hpp>
#include <Geode/ui/Popup.hpp>
#include <server/DownloadManager.hpp>
#include <ui/mods/sources/ModSource.hpp>
#include <vector>

View file

@ -1,7 +1,9 @@
#pragma once
#include <string>
#include <matjson.hpp>
#include <Geode/utils/MiniFunction.hpp>
#include <Geode/loader/Event.hpp>
namespace geode::updater {
using UpdateFinished = std::monostate;

View file

@ -1,5 +1,7 @@
#include "DownloadManager.hpp"
#include "Geode/loader/Mod.hpp"
#include <Geode/loader/Dirs.hpp>
#include <Geode/utils/map.hpp>
#include <optional>
using namespace server;

View file

@ -2,6 +2,7 @@
#include <Geode/utils/cocos.hpp>
#include <Geode/utils/ColorProvider.hpp>
#include <Geode/loader/SettingEvent.hpp>
#include <Geode/binding/ButtonSprite.hpp>
$execute {
// todo: these names should probably be shorter so they fit in SSO...

View file

@ -1,8 +1,11 @@
#pragma once
#include <Geode/DefaultInclude.hpp>
#include <Geode/ui/General.hpp>
#include <Geode/ui/IconButtonSprite.hpp>
#include <Geode/ui/BasedButtonSprite.hpp>
#include <Geode/ui/Popup.hpp>
#include <Geode/loader/Mod.hpp>
using namespace geode::prelude;

View file

@ -2,7 +2,12 @@
#include "SwelvyBG.hpp"
#include <Geode/ui/TextInput.hpp>
#include <Geode/utils/ColorProvider.hpp>
#include <Geode/utils/ranges.hpp>
#include <Geode/ui/GeodeUI.hpp>
#include <Geode/binding/Slider.hpp>
#include <Geode/binding/SetTextPopup.hpp>
#include <Geode/binding/ButtonSprite.hpp>
#include <Geode/binding/MenuLayer.hpp>
#include "popups/ConfirmInstall.hpp"
#include "GeodeStyle.hpp"

View file

@ -3,6 +3,8 @@
#include <Geode/ui/General.hpp>
#include <Geode/ui/ScrollLayer.hpp>
#include <Geode/ui/TextArea.hpp>
#include <Geode/ui/IconButtonSprite.hpp>
#include <Geode/binding/SetTextPopupDelegate.hpp>
#include "list/ModItem.hpp"
#include "list/ModList.hpp"
#include "sources/ModListSource.hpp"

View file

@ -1,4 +1,5 @@
#include "SwelvyBG.hpp"
#include <Geode/loader/Mod.hpp>
#include <random>
bool SwelvyBG::init() {

View file

@ -2,6 +2,10 @@
#include <Geode/ui/General.hpp>
#include <server/Server.hpp>
#include <Geode/binding/ButtonSprite.hpp>
#include <Geode/binding/Slider.hpp>
#include <Geode/binding/CCMenuItemToggler.hpp>
#include <Geode/binding/CCMenuItemSpriteExtra.hpp>
#include <server/DownloadManager.hpp>
#include "../sources/ModSource.hpp"
#include "../UpdateModListState.hpp"

View file

@ -4,6 +4,8 @@
#include <Geode/ui/ScrollLayer.hpp>
#include <Geode/ui/TextArea.hpp>
#include <Geode/ui/TextInput.hpp>
#include <Geode/ui/IconButtonSprite.hpp>
#include <Geode/binding/TextArea.hpp>
#include "ModItem.hpp"
#include "../sources/ModListSource.hpp"
#include <server/DownloadManager.hpp>

View file

@ -9,6 +9,7 @@
#include <Geode/DefaultInclude.hpp>
#include <Geode/loader/Loader.hpp>
#include <Geode/loader/Log.hpp>
#include <Geode/loader/Mod.hpp>
#include <Geode/ui/TextArea.hpp>
#include <Geode/utils/cocos.hpp>
#include <Geode/utils/ColorProvider.hpp>

View file

@ -4,6 +4,7 @@
#include <Geode/cocos/base_nodes/Layout.hpp>
#include <Geode/cocos/cocoa/CCGeometry.h>
#include <Geode/cocos/platform/CCPlatformMacros.h>
#include <Geode/utils/cocos.hpp>
#include <Geode/ui/ScrollLayer.hpp>
#include <Geode/loader/Loader.hpp>
#include <Geode/loader/Mod.hpp>

View file

@ -1,4 +1,6 @@
#include "ConfirmInstall.hpp"
#include <Geode/utils/ranges.hpp>
#include <Geode/ui/Popup.hpp>
#include <server/DownloadManager.hpp>
using namespace geode::prelude;

View file

@ -1,4 +1,6 @@
#include "ConfirmUninstallPopup.hpp"
#include <Geode/binding/ButtonSprite.hpp>
#include <Geode/binding/TextArea.hpp>
bool ConfirmUninstallPopup::setup(Mod* mod) {
m_mod = mod;

View file

@ -1,3 +1,4 @@
#include <Geode/binding/ButtonSprite.hpp>
#include "DevPopup.hpp"
#include "../UpdateModListState.hpp"

View file

@ -1,4 +1,5 @@
#include "ModPopup.hpp"
#include <Geode/binding/ButtonSprite.hpp>
#include <Geode/ui/MDTextArea.hpp>
#include <Geode/utils/web.hpp>
#include <Geode/ui/GeodeUI.hpp>

View file

@ -2,6 +2,7 @@
#include <Geode/binding/TextInputDelegate.hpp>
#include <Geode/modify/CCTextInputNode.hpp>
#include <Geode/ui/TextInput.hpp>
#include <Geode/utils/cocos.hpp>
using namespace geode::prelude;

View file

@ -1,4 +1,5 @@
#include <Geode/utils/ColorProvider.hpp>
#include <Geode/utils/cocos.hpp>
using namespace geode::prelude;

View file

@ -1,3 +1,4 @@
#include <Geode/loader/Loader.hpp> // a third great circular dependency fix
#include <Geode/loader/Log.hpp>
#include <Geode/utils/file.hpp>
#include <Geode/utils/map.hpp>
@ -12,7 +13,6 @@
#include <mz_zip.h>
#include <internal/FileWatcher.hpp>
#include <Geode/utils/ranges.hpp>
#include <Geode/loader/Loader.hpp>
#ifdef GEODE_IS_WINDOWS
#include <filesystem>

View file

@ -2,6 +2,7 @@
using namespace geode::prelude;
#include <Geode/loader/Loader.hpp> // i don't think i have to label these anymore
#include <Geode/Utils.hpp>
#include "thread.hpp"