Remove some unnecessary includes (#6385)

This commit is contained in:
Philip Dubé
2026-03-21 20:22:32 +00:00
committed by GitHub
parent 4e82ea192a
commit b65c1c8317
11 changed files with 3 additions and 18 deletions

View File

@@ -1,5 +1,5 @@
#include "BossRush.h" #include "BossRush.h"
#include "soh/OTRGlobals.h" #include "soh/ShipInit.hpp"
#include "soh/Enhancements/game-interactor/GameInteractor.h" #include "soh/Enhancements/game-interactor/GameInteractor.h"
#include "soh/Enhancements/game-interactor/GameInteractor_Hooks.h" #include "soh/Enhancements/game-interactor/GameInteractor_Hooks.h"
#include "soh_assets.h" #include "soh_assets.h"

View File

@@ -10,7 +10,6 @@
#include <spdlog/spdlog.h> #include <spdlog/spdlog.h>
#include <cmath> #include <cmath>
#include "soh/SohGui/UIWidgets.hpp"
#include "soh/SohGui/UIWidgets.hpp" #include "soh/SohGui/UIWidgets.hpp"
#include "soh/SohGui/SohGui.hpp" #include "soh/SohGui/SohGui.hpp"

View File

@@ -54,7 +54,6 @@ extern "C" {
#include "src/overlays/actors/ovl_Door_Gerudo/z_door_gerudo.h" #include "src/overlays/actors/ovl_Door_Gerudo/z_door_gerudo.h"
#include "src/overlays/actors/ovl_En_Xc/z_en_xc.h" #include "src/overlays/actors/ovl_En_Xc/z_en_xc.h"
#include "src/overlays/actors/ovl_Fishing/z_fishing.h" #include "src/overlays/actors/ovl_Fishing/z_fishing.h"
#include "src/overlays/actors/ovl_En_Mk/z_en_mk.h"
#include "src/overlays/actors/ovl_Obj_Bean/z_obj_bean.h" #include "src/overlays/actors/ovl_Obj_Bean/z_obj_bean.h"
#include "src/overlays/actors/ovl_En_Heishi2/z_en_heishi2.h" #include "src/overlays/actors/ovl_En_Heishi2/z_en_heishi2.h"
#include "draw.h" #include "draw.h"

View File

@@ -25,7 +25,6 @@
#include "item_location.h" #include "item_location.h"
#include "soh/Enhancements/game-interactor/GameInteractor.h" #include "soh/Enhancements/game-interactor/GameInteractor.h"
#include "z64item.h" #include "z64item.h"
#include "randomizerTypes.h"
#include "fishsanity.h" #include "fishsanity.h"
extern "C" { extern "C" {

View File

@@ -1,23 +1,18 @@
#include <vector> #include <vector>
#include <fstream> #include <fstream>
#include <filesystem>
#include <ship/Context.h> #include <ship/Context.h>
#include "TimeSplits.h" #include "TimeSplits.h"
#include "soh/Enhancements/gameplaystats.h" #include "soh/Enhancements/gameplaystats.h"
#include "soh/SaveManager.h"
#include "soh/util.h"
#include "soh/OTRGlobals.h"
#include "soh/Enhancements/game-interactor/GameInteractor.h" #include "soh/Enhancements/game-interactor/GameInteractor.h"
#include "soh/Enhancements/debugger/debugSaveEditor.h"
#include "soh_assets.h" #include "soh_assets.h"
#include "assets/textures/parameter_static/parameter_static.h"
#include <soh/SohGui/SohGui.hpp> #include <soh/SohGui/SohGui.hpp>
#include "soh/SohGui/UIWidgets.hpp" #include "soh/SohGui/UIWidgets.hpp"
extern "C" { extern "C" {
#include "z64item.h" #include "z64item.h"
#include "macros.h"
extern SaveContext gSaveContext; extern SaveContext gSaveContext;
extern PlayState* gPlayState; extern PlayState* gPlayState;
} }

View File

@@ -1,6 +1,5 @@
#include "Anchor.h" #include "Anchor.h"
#include "soh/Enhancements/nametag.h" #include "soh/Enhancements/nametag.h"
#include "soh/frame_interpolation.h"
extern "C" { extern "C" {
#include "macros.h" #include "macros.h"

View File

@@ -1,6 +1,5 @@
#include "OTRGlobals.h" #include "OTRGlobals.h"
#include "OTRAudio.h" #include "OTRAudio.h"
#include <iostream>
#include <algorithm> #include <algorithm>
#include <atomic> #include <atomic>
#include <filesystem> #include <filesystem>
@@ -11,7 +10,6 @@
#include "ResourceManagerHelpers.h" #include "ResourceManagerHelpers.h"
#include <fast/Fast3dWindow.h> #include <fast/Fast3dWindow.h>
#include <ship/resource/File.h> #include <ship/resource/File.h>
#include <fast/resource/type/DisplayList.h>
#include <ship/window/Window.h> #include <ship/window/Window.h>
#include <soh/GameVersions.h> #include <soh/GameVersions.h>
#include <spdlog/sinks/rotating_file_sink.h> #include <spdlog/sinks/rotating_file_sink.h>
@@ -66,7 +64,6 @@
#include <functions.h> #include <functions.h>
#include "Enhancements/item-tables/ItemTableManager.h" #include "Enhancements/item-tables/ItemTableManager.h"
#include "soh/SohGui/SohGui.hpp"
#include "soh/SohGui/ImGuiUtils.h" #include "soh/SohGui/ImGuiUtils.h"
#include "ActorDB.h" #include "ActorDB.h"
#include "SaveManager.h" #include "SaveManager.h"

View File

@@ -25,7 +25,6 @@
#include "soh/OTRGlobals.h" #include "soh/OTRGlobals.h"
#include "soh/Enhancements/Presets/Presets.h" #include "soh/Enhancements/Presets/Presets.h"
#include "soh/resource/type/Skeleton.h" #include "soh/resource/type/Skeleton.h"
#include "libultraship/libultraship.h"
#include "soh/Enhancements/game-interactor/GameInteractor.h" #include "soh/Enhancements/game-interactor/GameInteractor.h"
#include "soh/Enhancements/cosmetics/authenticGfxPatches.h" #include "soh/Enhancements/cosmetics/authenticGfxPatches.h"

View File

@@ -1,4 +1,3 @@
#include "OTRGlobals.h"
#include <libultraship/libultraship.h> #include <libultraship/libultraship.h>
#include "soh/resource/type/Scene.h" #include "soh/resource/type/Scene.h"
#include <ship/utils/StringHelper.h> #include <ship/utils/StringHelper.h>

View File

@@ -1,4 +1,3 @@
#include "OTRGlobals.h"
#include "ResourceManagerHelpers.h" #include "ResourceManagerHelpers.h"
#include <libultraship/libultraship.h> #include <libultraship/libultraship.h>
#include "soh/resource/type/Scene.h" #include "soh/resource/type/Scene.h"

View File

@@ -1,4 +1,4 @@
#include "OTRGlobals.h" #include "soh/Enhancements/game-interactor/GameInteractor_Hooks.h"
#include "ResourceManagerHelpers.h" #include "ResourceManagerHelpers.h"
#include <libultraship/libultraship.h> #include <libultraship/libultraship.h>
#include "soh/resource/type/Scene.h" #include "soh/resource/type/Scene.h"