diff --git a/CMakeLists.txt b/CMakeLists.txt index ef00ae8f5..1a64e93b3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -198,7 +198,7 @@ add_custom_target( # copy LUS default shaders into assets/custom COMMAND ${CMAKE_COMMAND} -E rm -r -f ${CMAKE_CURRENT_SOURCE_DIR}/soh/assets/custom/shaders/ - COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_CURRENT_SOURCE_DIR}/libultraship/src/graphic/Fast3D/shaders/ ${CMAKE_CURRENT_SOURCE_DIR}/soh/assets/custom/shaders/ + COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_CURRENT_SOURCE_DIR}/libultraship/src/fast/shaders/ ${CMAKE_CURRENT_SOURCE_DIR}/soh/assets/custom/shaders/ COMMAND ${Python3_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/OTRExporter/extract_assets.py -z "$" --non-interactive --xml-root assets/xml --custom-otr-file soh.o2r "--custom-assets-path" ${CMAKE_CURRENT_SOURCE_DIR}/soh/assets/custom --port-ver "${CMAKE_PROJECT_VERSION}" COMMAND ${CMAKE_COMMAND} -DSYSTEM_NAME=${CMAKE_SYSTEM_NAME} -DTARGET_DIR="$" -DSOURCE_DIR=${CMAKE_CURRENT_SOURCE_DIR} -DBINARY_DIR=${CMAKE_BINARY_DIR} -P ${CMAKE_CURRENT_SOURCE_DIR}/copy-existing-otrs.cmake @@ -224,7 +224,7 @@ add_custom_target( # copy LUS default shaders into assets/custom COMMAND ${CMAKE_COMMAND} -E rm -r -f ${CMAKE_CURRENT_SOURCE_DIR}/soh/assets/custom/shaders/ - COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_CURRENT_SOURCE_DIR}/libultraship/src/graphic/Fast3D/shaders/ ${CMAKE_CURRENT_SOURCE_DIR}/soh/assets/custom/shaders/ + COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_CURRENT_SOURCE_DIR}/libultraship/src/fast/shaders/ ${CMAKE_CURRENT_SOURCE_DIR}/soh/assets/custom/shaders/ COMMAND ${Python3_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/OTRExporter/extract_assets.py -z "$" --norom --custom-otr-file soh.o2r "--custom-assets-path" ${CMAKE_CURRENT_SOURCE_DIR}/soh/assets/custom --port-ver "${CMAKE_PROJECT_VERSION}" COMMAND ${CMAKE_COMMAND} -DSYSTEM_NAME=${CMAKE_SYSTEM_NAME} -DTARGET_DIR="$" -DSOURCE_DIR=${CMAKE_CURRENT_SOURCE_DIR} -DBINARY_DIR=${CMAKE_BINARY_DIR} -DONLYSOHOTR=On -P ${CMAKE_CURRENT_SOURCE_DIR}/copy-existing-otrs.cmake diff --git a/OTRExporter b/OTRExporter index 33f20ca36..32e088e28 160000 --- a/OTRExporter +++ b/OTRExporter @@ -1 +1 @@ -Subproject commit 33f20ca367dc036291df9cb9a9304c542deb66f9 +Subproject commit 32e088e28c8cdd055d4bb8f3f219d33ad37963f3 diff --git a/libultraship b/libultraship index 1972d91f0..2782e554d 160000 --- a/libultraship +++ b/libultraship @@ -1 +1 @@ -Subproject commit 1972d91f0bf7338aa896d63d40210ef465a17ef6 +Subproject commit 2782e554d961be13db8d862c6ab48839b82f30ee diff --git a/soh/CMakeLists.txt b/soh/CMakeLists.txt index e6e2a3181..711dd8cb2 100644 --- a/soh/CMakeLists.txt +++ b/soh/CMakeLists.txt @@ -319,31 +319,7 @@ endif() target_include_directories(${PROJECT_NAME} PRIVATE assets ${CMAKE_CURRENT_SOURCE_DIR}/include/ ${CMAKE_CURRENT_SOURCE_DIR}/src/ - ${CMAKE_CURRENT_SOURCE_DIR}/../libultraship ${CMAKE_CURRENT_SOURCE_DIR}/../libultraship/include - ${CMAKE_CURRENT_SOURCE_DIR}/../libultraship/src - ${CMAKE_CURRENT_SOURCE_DIR}/../libultraship/src/log - ${CMAKE_CURRENT_SOURCE_DIR}/../libultraship/src/debug - ${CMAKE_CURRENT_SOURCE_DIR}/../libultraship/src/menu - ${CMAKE_CURRENT_SOURCE_DIR}/../libultraship/src/utils - ${CMAKE_CURRENT_SOURCE_DIR}/../libultraship/src/utils/binarytools - ${CMAKE_CURRENT_SOURCE_DIR}/../libultraship/src/config - ${CMAKE_CURRENT_SOURCE_DIR}/../libultraship/src/resource - ${CMAKE_CURRENT_SOURCE_DIR}/../libultraship/src/resource/type - ${CMAKE_CURRENT_SOURCE_DIR}/../libultraship/src/resource/factory - ${CMAKE_CURRENT_SOURCE_DIR}/../libultraship/src/audio - ${CMAKE_CURRENT_SOURCE_DIR}/../libultraship/src/window - ${CMAKE_CURRENT_SOURCE_DIR}/../libultraship/src/window/gui - ${CMAKE_CURRENT_SOURCE_DIR}/../libultraship/src/config - ${CMAKE_CURRENT_SOURCE_DIR}/../libultraship/src/public - ${CMAKE_CURRENT_SOURCE_DIR}/../libultraship/src/public/libultra - ${CMAKE_CURRENT_SOURCE_DIR}/../libultraship/src/public/bridge - ${CMAKE_CURRENT_SOURCE_DIR}/../libultraship/extern - ${CMAKE_CURRENT_SOURCE_DIR}/../libultraship/extern/tinyxml2 - ${CMAKE_CURRENT_SOURCE_DIR}/../libultraship/libultraship/Lib/ - ${CMAKE_CURRENT_SOURCE_DIR}/../libultraship/libultraship/Lib/libjpeg/include/ - ${CMAKE_CURRENT_SOURCE_DIR}/../libultraship/src/graphic/Fast3D/U64/PR - ${CMAKE_CURRENT_SOURCE_DIR}/../libultraship/src/graphic ${CMAKE_CURRENT_SOURCE_DIR}/../ZAPDTR/ZAPD/resource/type ${SDL2-INCLUDE} ${SDL2-NET-INCLUDE} diff --git a/soh/Resource.rc b/soh/Resource.rc index 7d9f356d0..59702663f 100644 --- a/soh/Resource.rc +++ b/soh/Resource.rc @@ -1,6 +1,6 @@ // Microsoft Visual C++ generated resource script. // -#include "resource.h" +#include #include "properties.h" #define APSTUDIO_READONLY_SYMBOLS diff --git a/soh/include/functions.h b/soh/include/functions.h index 8deb36953..75797401e 100644 --- a/soh/include/functions.h +++ b/soh/include/functions.h @@ -10,7 +10,7 @@ extern "C" { #endif -#include "luslog.h" +#include #include #if defined(INCLUDE_GAME_PRINTF) && defined(_DEBUG) diff --git a/soh/include/macros.h b/soh/include/macros.h index 325fb91b6..acac5cd49 100644 --- a/soh/include/macros.h +++ b/soh/include/macros.h @@ -1,7 +1,7 @@ #ifndef MACROS_H #define MACROS_H -#include +#include // Upstream TODO: Document reasoning for change // #ifndef __GNUC__ diff --git a/soh/include/z64audio.h b/soh/include/z64audio.h index c562b820f..cbd82fcf2 100644 --- a/soh/include/z64audio.h +++ b/soh/include/z64audio.h @@ -5,7 +5,7 @@ extern "C" { #endif -#include +#include #define MK_CMD(b0,b1,b2,b3) ((((b0) & 0xFF) << 0x18) | (((b1) & 0xFF) << 0x10) | (((b2) & 0xFF) << 0x8) | (((b3) & 0xFF) << 0)) diff --git a/soh/soh/Enhancements/Presets/Presets.cpp b/soh/soh/Enhancements/Presets/Presets.cpp index b8503cbc6..75ff9aabd 100644 --- a/soh/soh/Enhancements/Presets/Presets.cpp +++ b/soh/soh/Enhancements/Presets/Presets.cpp @@ -2,11 +2,11 @@ #include #include #include -#include +#include #include #include #include -#include +#include #include "soh/OTRGlobals.h" #include "soh/SohGui/MenuTypes.h" #include "soh/SohGui/SohMenu.h" diff --git a/soh/soh/Enhancements/Restorations/GraveHoleJumps.cpp b/soh/soh/Enhancements/Restorations/GraveHoleJumps.cpp index 32157b5ce..760c3c903 100644 --- a/soh/soh/Enhancements/Restorations/GraveHoleJumps.cpp +++ b/soh/soh/Enhancements/Restorations/GraveHoleJumps.cpp @@ -1,4 +1,4 @@ -#include "public/bridge/consolevariablebridge.h" +#include #include "soh/Enhancements/game-interactor/GameInteractor_Hooks.h" #include "soh/ShipInit.hpp" #include "functions.h" diff --git a/soh/soh/Enhancements/Restorations/N64WeirdFrames/N64WeirdFrames.cpp b/soh/soh/Enhancements/Restorations/N64WeirdFrames/N64WeirdFrames.cpp index 0e6b1cbf3..33bf12c3c 100644 --- a/soh/soh/Enhancements/Restorations/N64WeirdFrames/N64WeirdFrames.cpp +++ b/soh/soh/Enhancements/Restorations/N64WeirdFrames/N64WeirdFrames.cpp @@ -1,4 +1,4 @@ -#include "public/bridge/consolevariablebridge.h" +#include #include "soh/Enhancements/game-interactor/GameInteractor.h" #include "soh/ShipInit.hpp" diff --git a/soh/soh/Enhancements/Restorations/N64WeirdFrames/WeirdAnimation.cpp b/soh/soh/Enhancements/Restorations/N64WeirdFrames/WeirdAnimation.cpp index bd812c658..c4cbc4bfe 100644 --- a/soh/soh/Enhancements/Restorations/N64WeirdFrames/WeirdAnimation.cpp +++ b/soh/soh/Enhancements/Restorations/N64WeirdFrames/WeirdAnimation.cpp @@ -1,7 +1,7 @@ #include "WeirdAnimation.h" -#include "resource/ResourceManager.h" -#include "Context.h" +#include +#include #include #include diff --git a/soh/soh/Enhancements/Restorations/WideShutterDoorRanges.cpp b/soh/soh/Enhancements/Restorations/WideShutterDoorRanges.cpp index 8f5fc4f30..78339a48b 100644 --- a/soh/soh/Enhancements/Restorations/WideShutterDoorRanges.cpp +++ b/soh/soh/Enhancements/Restorations/WideShutterDoorRanges.cpp @@ -1,4 +1,4 @@ -#include "public/bridge/consolevariablebridge.h" +#include #include "soh/Enhancements/game-interactor/GameInteractor_Hooks.h" #include "soh/ShipInit.hpp" diff --git a/soh/soh/Enhancements/audio/AudioCollection.cpp b/soh/soh/Enhancements/audio/AudioCollection.cpp index a30d3f086..ab7a8d95a 100644 --- a/soh/soh/Enhancements/audio/AudioCollection.cpp +++ b/soh/soh/Enhancements/audio/AudioCollection.cpp @@ -4,7 +4,7 @@ #include "soh/cvar_prefixes.h" #include "soh/Notification/Notification.h" #include -#include +#include #include #include #include diff --git a/soh/soh/Enhancements/audio/AudioEditor.cpp b/soh/soh/Enhancements/audio/AudioEditor.cpp index c64ed7b42..5a7fb1414 100644 --- a/soh/soh/Enhancements/audio/AudioEditor.cpp +++ b/soh/soh/Enhancements/audio/AudioEditor.cpp @@ -10,7 +10,7 @@ #include "../randomizer/3drando/random.hpp" #include "soh/OTRGlobals.h" #include "soh/cvar_prefixes.h" -#include +#include #include "soh/SohGui/SohMenu.h" #include "soh/SohGui/SohGui.hpp" #include "AudioCollection.h" diff --git a/soh/soh/Enhancements/controls/InputViewer.cpp b/soh/soh/Enhancements/controls/InputViewer.cpp index 1fbab40c2..2f73fb057 100644 --- a/soh/soh/Enhancements/controls/InputViewer.cpp +++ b/soh/soh/Enhancements/controls/InputViewer.cpp @@ -1,8 +1,9 @@ #include "InputViewer.h" -#include "public/bridge/consolevariablebridge.h" +#include #include "libultraship/libultra/controller.h" -#include "Context.h" +#include +#include #include "soh/OTRGlobals.h" #include "soh/cvar_prefixes.h" #include diff --git a/soh/soh/Enhancements/controls/Mouse.cpp b/soh/soh/Enhancements/controls/Mouse.cpp index 4ad9d11d0..87af5168b 100644 --- a/soh/soh/Enhancements/controls/Mouse.cpp +++ b/soh/soh/Enhancements/controls/Mouse.cpp @@ -2,7 +2,7 @@ #include "soh/OTRGlobals.h" #include "z64player.h" #include "global.h" -#include +#include #include "soh/Enhancements/game-interactor/GameInteractor_Hooks.h" #include "soh/ShipInit.hpp" diff --git a/soh/soh/Enhancements/controls/SohInputEditorWindow.cpp b/soh/soh/Enhancements/controls/SohInputEditorWindow.cpp index 95af88a74..bdfe6c1c1 100644 --- a/soh/soh/Enhancements/controls/SohInputEditorWindow.cpp +++ b/soh/soh/Enhancements/controls/SohInputEditorWindow.cpp @@ -1,13 +1,13 @@ #include "SohInputEditorWindow.h" -#include -#include "graphic/Fast3D/Fast3dWindow.h" +#include +#include #include "soh/OTRGlobals.h" #include "soh/SohGui/SohMenu.h" #include "soh/SohGui/SohGui.hpp" #include "z64.h" #include "soh/cvar_prefixes.h" #ifndef __WIIU__ -#include "controller/controldevice/controller/mapping/sdl/SDLAxisDirectionToButtonMapping.h" +#include #endif #define SCALE_IMGUI_SIZE(value) ((value / 13.0f) * ImGui::GetFontSize()) diff --git a/soh/soh/Enhancements/debugconsole.cpp b/soh/soh/Enhancements/debugconsole.cpp index 7713b48b8..ff40f149a 100644 --- a/soh/soh/Enhancements/debugconsole.cpp +++ b/soh/soh/Enhancements/debugconsole.cpp @@ -1,5 +1,5 @@ #include "debugconsole.h" -#include +#include #include "savestates.h" #include "soh/ActorDB.h" @@ -15,10 +15,10 @@ #define Path _Path #define PATH_HACK -#include +#include -#include -#include +#include +#include #include #include #undef PATH_HACK diff --git a/soh/soh/Enhancements/debugger/MessageViewer.h b/soh/soh/Enhancements/debugger/MessageViewer.h index 9ce8eab05..1d2c8fa83 100644 --- a/soh/soh/Enhancements/debugger/MessageViewer.h +++ b/soh/soh/Enhancements/debugger/MessageViewer.h @@ -3,7 +3,7 @@ #include "z64.h" #ifdef __cplusplus -#include "GuiWindow.h" +#include #include extern "C" { #endif diff --git a/soh/soh/Enhancements/debugger/SohConsoleWindow.h b/soh/soh/Enhancements/debugger/SohConsoleWindow.h index db039625b..b84399ad6 100644 --- a/soh/soh/Enhancements/debugger/SohConsoleWindow.h +++ b/soh/soh/Enhancements/debugger/SohConsoleWindow.h @@ -1,8 +1,8 @@ #ifndef SOH_CONSOLE_H #define SOH_CONSOLE_H -#include "window/gui/GuiWindow.h" -#include "window/gui/ConsoleWindow.h" +#include +#include class SohConsoleWindow : public Ship::ConsoleWindow { public: diff --git a/soh/soh/Enhancements/debugger/SohGfxDebuggerWindow.h b/soh/soh/Enhancements/debugger/SohGfxDebuggerWindow.h index 789173b88..7b9267693 100644 --- a/soh/soh/Enhancements/debugger/SohGfxDebuggerWindow.h +++ b/soh/soh/Enhancements/debugger/SohGfxDebuggerWindow.h @@ -1,8 +1,8 @@ #ifndef SOH_GFX_DEBUGGER_H #define SOH_GFX_DEBUGGER_H -#include "window/gui/GuiWindow.h" -#include "window/gui/GfxDebuggerWindow.h" +#include +#include class SohGfxDebuggerWindow : public LUS::GfxDebuggerWindow { public: diff --git a/soh/soh/Enhancements/debugger/dlViewer.cpp b/soh/soh/Enhancements/debugger/dlViewer.cpp index a02aa7d95..60a6e07c8 100644 --- a/soh/soh/Enhancements/debugger/dlViewer.cpp +++ b/soh/soh/Enhancements/debugger/dlViewer.cpp @@ -2,8 +2,9 @@ #include "soh/util.h" #include "soh/SohGui/UIWidgets.hpp" #include "soh/SohGui/SohGui.hpp" -#include "ResourceManager.h" -#include "DisplayList.h" +#include +#include +#include #include "soh/OTRGlobals.h" #include diff --git a/soh/soh/Enhancements/kaleido.cpp b/soh/soh/Enhancements/kaleido.cpp index eef19b495..2b9552263 100644 --- a/soh/soh/Enhancements/kaleido.cpp +++ b/soh/soh/Enhancements/kaleido.cpp @@ -16,7 +16,7 @@ extern PlayState* gPlayState; #include "soh/Enhancements/game-interactor/GameInteractor.h" #include "soh_assets.h" #include "textures/icon_item_static/icon_item_static.h" -#include "consolevariablebridge.h" +#include #include "soh/Enhancements/cosmetics/cosmeticsTypes.h" #include diff --git a/soh/soh/Enhancements/mod_menu.cpp b/soh/soh/Enhancements/mod_menu.cpp index 427f5b2b4..feb412350 100644 --- a/soh/soh/Enhancements/mod_menu.cpp +++ b/soh/soh/Enhancements/mod_menu.cpp @@ -1,5 +1,5 @@ #include "mod_menu.h" -#include "utils/StringHelper.h" +#include #include #include "soh/SohGui/SohGui.hpp" #include "soh/OTRGlobals.h" diff --git a/soh/soh/Enhancements/randomizer/3drando/rando_main.cpp b/soh/soh/Enhancements/randomizer/3drando/rando_main.cpp index 51cfdd535..28f8537b4 100644 --- a/soh/soh/Enhancements/randomizer/3drando/rando_main.cpp +++ b/soh/soh/Enhancements/randomizer/3drando/rando_main.cpp @@ -5,7 +5,7 @@ #include "rando_main.hpp" #include "../context.h" #include -#include +#include #include #include "soh/OTRGlobals.h" #include "soh/cvar_prefixes.h" diff --git a/soh/soh/Enhancements/randomizer/3drando/spoiler_log.cpp b/soh/soh/Enhancements/randomizer/3drando/spoiler_log.cpp index 3c91a1f70..b3e71e8f0 100644 --- a/soh/soh/Enhancements/randomizer/3drando/spoiler_log.cpp +++ b/soh/soh/Enhancements/randomizer/3drando/spoiler_log.cpp @@ -26,10 +26,10 @@ #include #include -#include +#include #include -#include "consolevariablebridge.h" +#include using json = nlohmann::ordered_json; using namespace Rando; diff --git a/soh/soh/Enhancements/randomizer/fishsanity.cpp b/soh/soh/Enhancements/randomizer/fishsanity.cpp index e34799156..83d326384 100644 --- a/soh/soh/Enhancements/randomizer/fishsanity.cpp +++ b/soh/soh/Enhancements/randomizer/fishsanity.cpp @@ -5,7 +5,7 @@ #include "variables.h" #include "functions.h" #include "macros.h" -#include +#include extern "C" { #include "src/overlays/actors/ovl_Fishing/z_fishing.h" diff --git a/soh/soh/Enhancements/randomizer/logic.cpp b/soh/soh/Enhancements/randomizer/logic.cpp index a42f7af20..17a665624 100644 --- a/soh/soh/Enhancements/randomizer/logic.cpp +++ b/soh/soh/Enhancements/randomizer/logic.cpp @@ -13,7 +13,7 @@ #include "macros.h" #include "variables.h" #include -#include "StringHelper.h" +#include #include "soh/resource/type/Scene.h" #include "soh/resource/type/scenecommand/SetTransitionActorList.h" #include "src/overlays/actors/ovl_En_Door/z_en_door.h" diff --git a/soh/soh/Enhancements/randomizer/option.cpp b/soh/soh/Enhancements/randomizer/option.cpp index f027fd066..bfdecd861 100644 --- a/soh/soh/Enhancements/randomizer/option.cpp +++ b/soh/soh/Enhancements/randomizer/option.cpp @@ -1,6 +1,6 @@ #include "option.h" #include "libultraship/bridge.h" -#include +#include #include #include "soh/SohGui/SohGui.hpp" #include "soh/SohGui/UIWidgets.hpp" diff --git a/soh/soh/Enhancements/randomizer/randomizer.cpp b/soh/soh/Enhancements/randomizer/randomizer.cpp index 345c27ab8..6d0047ec9 100644 --- a/soh/soh/Enhancements/randomizer/randomizer.cpp +++ b/soh/soh/Enhancements/randomizer/randomizer.cpp @@ -27,7 +27,7 @@ #include #include "draw.h" #include "soh/OTRGlobals.h" -#include "window/FileDropMgr.h" +#include #include "soh/SohGui/UIWidgets.hpp" #include "static_data.h" #include "soh/Enhancements/game-interactor/GameInteractor.h" diff --git a/soh/soh/Enhancements/randomizer/randomizer_check_tracker.cpp b/soh/soh/Enhancements/randomizer/randomizer_check_tracker.cpp index aab671088..a907fdab4 100644 --- a/soh/soh/Enhancements/randomizer/randomizer_check_tracker.cpp +++ b/soh/soh/Enhancements/randomizer/randomizer_check_tracker.cpp @@ -20,6 +20,7 @@ #include #include #include +#include #include "location.h" #include "item_location.h" #include "soh/Enhancements/game-interactor/GameInteractor.h" diff --git a/soh/soh/Enhancements/randomizer/randomizer_item_tracker.cpp b/soh/soh/Enhancements/randomizer/randomizer_item_tracker.cpp index 9e5a9be89..b3acc96d5 100644 --- a/soh/soh/Enhancements/randomizer/randomizer_item_tracker.cpp +++ b/soh/soh/Enhancements/randomizer/randomizer_item_tracker.cpp @@ -4,6 +4,7 @@ #include #include +#include #include "randomizer_check_tracker.h" #include "randomizer_item_tracker.h" diff --git a/soh/soh/Enhancements/randomizer/settings.cpp b/soh/soh/Enhancements/randomizer/settings.cpp index 73ab7aa9e..8efd6c1f9 100644 --- a/soh/soh/Enhancements/randomizer/settings.cpp +++ b/soh/soh/Enhancements/randomizer/settings.cpp @@ -8,7 +8,7 @@ #include -#include "consolevariablebridge.h" +#include namespace Rando { std::shared_ptr Settings::mInstance; diff --git a/soh/soh/Enhancements/timesplits/TimeSplits.cpp b/soh/soh/Enhancements/timesplits/TimeSplits.cpp index e6515ed82..3f06450f7 100644 --- a/soh/soh/Enhancements/timesplits/TimeSplits.cpp +++ b/soh/soh/Enhancements/timesplits/TimeSplits.cpp @@ -2,7 +2,7 @@ #include #include -#include "Context.h" +#include #include "TimeSplits.h" #include "soh/Enhancements/gameplaystats.h" #include "soh/SaveManager.h" diff --git a/soh/soh/Enhancements/tts/tts.cpp b/soh/soh/Enhancements/tts/tts.cpp index 1dc8a1ba6..612d4172c 100644 --- a/soh/soh/Enhancements/tts/tts.cpp +++ b/soh/soh/Enhancements/tts/tts.cpp @@ -2,8 +2,8 @@ #include "soh/Enhancements/speechsynthesizer/SpeechSynthesizer.h" #include -#include -#include +#include +#include #include #include #include diff --git a/soh/soh/Extractor/Extract.cpp b/soh/soh/Extractor/Extract.cpp index a12be6264..fecf9b741 100644 --- a/soh/soh/Extractor/Extract.cpp +++ b/soh/soh/Extractor/Extract.cpp @@ -6,7 +6,7 @@ #endif #include "Extract.h" #include "portable-file-dialogs.h" -#include +#include #include "variables.h" #ifdef unix diff --git a/soh/soh/OTRGlobals.cpp b/soh/soh/OTRGlobals.cpp index a0ffdc1d1..3358d8585 100644 --- a/soh/soh/OTRGlobals.cpp +++ b/soh/soh/OTRGlobals.cpp @@ -7,10 +7,10 @@ #include #include "ResourceManagerHelpers.h" -#include "graphic/Fast3D/Fast3dWindow.h" -#include -#include -#include +#include +#include +#include +#include #include #include "Enhancements/gameconsole.h" @@ -19,7 +19,7 @@ #else #include #endif -#include +#include #include "Enhancements/speechsynthesizer/SpeechSynthesizer.h" #include "Enhancements/controls/SohInputEditorWindow.h" #include "Enhancements/cosmetics/CosmeticsEditor.h" @@ -40,10 +40,10 @@ #include "variables.h" #include "z64.h" #include "macros.h" -#include "Fonts.h" -#include "window/FileDropMgr.h" -#include "window/gui/resource/Font.h" -#include +#include +#include +#include +#include #include "Enhancements/custom-message/CustomMessageManager.h" #include "Enhancements/Presets/Presets.h" #include "util.h" @@ -52,7 +52,7 @@ #include "Extractor/Extract.h" #endif -#include +#include #ifdef __APPLE__ #include @@ -86,14 +86,16 @@ Sail* Sail::Instance; #include "Enhancements/game-interactor/GameInteractor.h" #include "Enhancements/randomizer/draw.h" #include +#include +#include // Resource Types/Factories -#include "resource/type/Array.h" -#include "resource/type/Blob.h" -#include "resource/type/DisplayList.h" -#include "resource/type/Matrix.h" -#include "resource/type/Texture.h" -#include "resource/type/Vertex.h" +#include "soh/resource/type/Array.h" +#include +#include +#include +#include +#include #include "soh/resource/type/SohResourceType.h" #include "soh/resource/type/Animation.h" #include "soh/resource/type/AudioSample.h" @@ -107,11 +109,11 @@ Sail* Sail::Instance; #include "soh/resource/type/Skeleton.h" #include "soh/resource/type/SkeletonLimb.h" #include "soh/resource/type/Text.h" -#include "resource/factory/BlobFactory.h" -#include "resource/factory/DisplayListFactory.h" -#include "resource/factory/MatrixFactory.h" -#include "resource/factory/TextureFactory.h" -#include "resource/factory/VertexFactory.h" +#include +#include +#include +#include +#include #include "soh/resource/importer/ArrayFactory.h" #include "soh/resource/importer/AnimationFactory.h" #include "soh/resource/importer/AudioSampleFactory.h" diff --git a/soh/soh/OTRGlobals.h b/soh/soh/OTRGlobals.h index 032686f8e..b653e9edf 100644 --- a/soh/soh/OTRGlobals.h +++ b/soh/soh/OTRGlobals.h @@ -21,7 +21,7 @@ #define M_SQRT1_2f 0.70710678118654752440f /* 1/sqrt(2) */ #ifdef __cplusplus -#include +#include #include "Enhancements/savestates.h" #include "Enhancements/randomizer/randomizer.h" #include diff --git a/soh/soh/ResourceManagerHelpers.cpp b/soh/soh/ResourceManagerHelpers.cpp index a9ec6fc25..127378da7 100644 --- a/soh/soh/ResourceManagerHelpers.cpp +++ b/soh/soh/ResourceManagerHelpers.cpp @@ -11,8 +11,9 @@ #include "resource/type/Array.h" #include "resource/type/Skeleton.h" #include "resource/type/PlayerAnimation.h" -#include -#include +#include +#include +#include extern "C" PlayState* gPlayState; diff --git a/soh/soh/ResourceManagerHelpers.h b/soh/soh/ResourceManagerHelpers.h index b760feae3..8562a3e0e 100644 --- a/soh/soh/ResourceManagerHelpers.h +++ b/soh/soh/ResourceManagerHelpers.h @@ -10,7 +10,7 @@ #ifdef __cplusplus #include -#include +#include std::shared_ptr ResourceMgr_GetResourceByNameHandlingMQ(const char* path); diff --git a/soh/soh/SohGui/ImGuiUtils.cpp b/soh/soh/SohGui/ImGuiUtils.cpp index ab3d8f59c..c80293a53 100644 --- a/soh/soh/SohGui/ImGuiUtils.cpp +++ b/soh/soh/SohGui/ImGuiUtils.cpp @@ -1,6 +1,6 @@ #include "ImGuiUtils.h" -#include -#include +#include +#include #include "assets/soh_assets.h" #include "soh/Enhancements/randomizer/rando_hash.h" diff --git a/soh/soh/SohGui/Menu.cpp b/soh/soh/SohGui/Menu.cpp index aa83c314b..592c0c5e6 100644 --- a/soh/soh/SohGui/Menu.cpp +++ b/soh/soh/SohGui/Menu.cpp @@ -2,8 +2,8 @@ #include "UIWidgets.hpp" #include "soh/OTRGlobals.h" #include "soh/Enhancements/controls/SohInputEditorWindow.h" -#include "window/gui/GuiMenuBar.h" -#include "window/gui/GuiElement.h" +#include +#include #include "SohModals.h" #include #include diff --git a/soh/soh/SohGui/Menu.h b/soh/soh/SohGui/Menu.h index 1af541b8d..a39d48510 100644 --- a/soh/soh/SohGui/Menu.h +++ b/soh/soh/SohGui/Menu.h @@ -2,7 +2,7 @@ #define MENU_H #include -#include "graphic/Fast3D/backends/gfx_rendering_api.h" +#include #include "MenuTypes.h" namespace Ship { diff --git a/soh/soh/SohGui/ResolutionEditor.cpp b/soh/soh/SohGui/ResolutionEditor.cpp index e568287b2..232458d9a 100644 --- a/soh/soh/SohGui/ResolutionEditor.cpp +++ b/soh/soh/SohGui/ResolutionEditor.cpp @@ -3,8 +3,8 @@ #include #include "soh/SohGui/UIWidgets.hpp" -#include -#include +#include +#include #include "soh/OTRGlobals.h" #include "soh/SohGui/SohMenu.h" #include "soh/SohGui/SohGui.hpp" diff --git a/soh/soh/SohGui/SohGui.cpp b/soh/soh/SohGui/SohGui.cpp index cf9182a62..23befb2f3 100644 --- a/soh/soh/SohGui/SohGui.cpp +++ b/soh/soh/SohGui/SohGui.cpp @@ -13,7 +13,7 @@ #include #ifdef __APPLE__ -#include "graphic/Fast3D/backends/gfx_metal.h" +#include #endif #ifdef __SWITCH__ diff --git a/soh/soh/SohGui/SohMenu.cpp b/soh/soh/SohGui/SohMenu.cpp index 547025391..78616be7e 100644 --- a/soh/soh/SohGui/SohMenu.cpp +++ b/soh/soh/SohGui/SohMenu.cpp @@ -1,10 +1,10 @@ #include "SohMenu.h" #include "soh/OTRGlobals.h" #include "soh/Enhancements/controls/SohInputEditorWindow.h" -#include "window/gui/GuiMenuBar.h" -#include "window/gui/GuiElement.h" +#include +#include #include -#include "StringHelper.h" +#include #include #include diff --git a/soh/soh/SohGui/SohMenu.h b/soh/soh/SohGui/SohMenu.h index ec5f7705c..d6833f28b 100644 --- a/soh/soh/SohGui/SohMenu.h +++ b/soh/soh/SohGui/SohMenu.h @@ -4,7 +4,7 @@ #include #include "UIWidgets.hpp" #include "Menu.h" -#include "graphic/Fast3D/backends/gfx_rendering_api.h" +#include #include "soh/cvar_prefixes.h" #include "soh/Enhancements/enhancementTypes.h" #include "soh/Enhancements/Presets/Presets.h" diff --git a/soh/soh/SohGui/SohMenuBar.cpp b/soh/soh/SohGui/SohMenuBar.cpp index 418d02eb5..debfc9cf5 100644 --- a/soh/soh/SohGui/SohMenuBar.cpp +++ b/soh/soh/SohGui/SohMenuBar.cpp @@ -1,11 +1,11 @@ #include "SohMenuBar.h" #include #include "regex" -#include "public/bridge/consolevariablebridge.h" +#include #include #include "UIWidgets.hpp" #include "include/z64audio.h" -#include "graphic/Fast3D/backends/gfx_rendering_api.h" +#include #include "soh/OTRGlobals.h" #include "soh/SaveManager.h" #include "z64.h" diff --git a/soh/soh/SohGui/SohMenuBar.h b/soh/soh/SohGui/SohMenuBar.h index 8c078e08f..56d0c1c6a 100644 --- a/soh/soh/SohGui/SohMenuBar.h +++ b/soh/soh/SohGui/SohMenuBar.h @@ -1,8 +1,8 @@ #pragma once #include -#include "window/gui/GuiMenuBar.h" -#include "window/gui/GuiElement.h" +#include +#include namespace SohGui { class SohMenuBar : public Ship::GuiMenuBar { diff --git a/soh/soh/SohGui/SohModals.h b/soh/soh/SohGui/SohModals.h index f74f0b1bf..68a9b8510 100644 --- a/soh/soh/SohGui/SohModals.h +++ b/soh/soh/SohGui/SohModals.h @@ -1,8 +1,8 @@ #pragma once #include -#include "window/gui/GuiMenuBar.h" -#include "window/gui/GuiElement.h" +#include +#include class SohModalWindow final : public Ship::GuiWindow { public: diff --git a/soh/soh/resource/importer/AnimationFactory.cpp b/soh/soh/resource/importer/AnimationFactory.cpp index d6adfb66c..99507e4f3 100644 --- a/soh/soh/resource/importer/AnimationFactory.cpp +++ b/soh/soh/resource/importer/AnimationFactory.cpp @@ -1,8 +1,8 @@ #include "soh/resource/importer/AnimationFactory.h" #include "soh/resource/type/Animation.h" -#include "ResourceManager.h" +#include #include "spdlog/spdlog.h" -#include "Context.h" +#include namespace SOH { std::shared_ptr diff --git a/soh/soh/resource/importer/AnimationFactory.h b/soh/soh/resource/importer/AnimationFactory.h index 2312d7ad3..a28d7512c 100644 --- a/soh/soh/resource/importer/AnimationFactory.h +++ b/soh/soh/resource/importer/AnimationFactory.h @@ -1,7 +1,7 @@ #pragma once -#include "Resource.h" -#include "ResourceFactoryBinary.h" +#include +#include namespace SOH { class ResourceFactoryBinaryAnimationV0 final : public Ship::ResourceFactoryBinary { diff --git a/soh/soh/resource/importer/ArrayFactory.cpp b/soh/soh/resource/importer/ArrayFactory.cpp index 0762704ff..0e1b2ac04 100644 --- a/soh/soh/resource/importer/ArrayFactory.cpp +++ b/soh/soh/resource/importer/ArrayFactory.cpp @@ -1,7 +1,7 @@ #include "soh/resource/importer/ArrayFactory.h" #include "soh/resource/type/Array.h" #include "spdlog/spdlog.h" -#include "graphic/Fast3D/lus_gbi.h" +#include namespace SOH { std::shared_ptr diff --git a/soh/soh/resource/importer/ArrayFactory.h b/soh/soh/resource/importer/ArrayFactory.h index a64b7a821..aae282754 100644 --- a/soh/soh/resource/importer/ArrayFactory.h +++ b/soh/soh/resource/importer/ArrayFactory.h @@ -1,7 +1,7 @@ #pragma once -#include "resource/Resource.h" -#include "resource/ResourceFactoryBinary.h" +#include +#include namespace SOH { class ResourceFactoryBinaryArrayV0 final : public Ship::ResourceFactoryBinary { diff --git a/soh/soh/resource/importer/AudioSampleFactory.cpp b/soh/soh/resource/importer/AudioSampleFactory.cpp index 9fd8d746a..098efd236 100644 --- a/soh/soh/resource/importer/AudioSampleFactory.cpp +++ b/soh/soh/resource/importer/AudioSampleFactory.cpp @@ -4,9 +4,9 @@ #include "spdlog/spdlog.h" #include "z64.h" #include "z64audio.h" -#include "Context.h" -#include "resource/archive/Archive.h" -#include "resource/ResourceManager.h" +#include +#include +#include #define DR_WAV_IMPLEMENTATION #include diff --git a/soh/soh/resource/importer/AudioSampleFactory.h b/soh/soh/resource/importer/AudioSampleFactory.h index b750da4f1..e48d21be2 100644 --- a/soh/soh/resource/importer/AudioSampleFactory.h +++ b/soh/soh/resource/importer/AudioSampleFactory.h @@ -1,8 +1,8 @@ #pragma once -#include "Resource.h" -#include "ResourceFactoryBinary.h" -#include "ResourceFactoryXML.h" +#include +#include +#include namespace SOH { class ResourceFactoryBinaryAudioSampleV2 final : public Ship::ResourceFactoryBinary { diff --git a/soh/soh/resource/importer/AudioSequenceFactory.cpp b/soh/soh/resource/importer/AudioSequenceFactory.cpp index 850c27c16..313284f6a 100644 --- a/soh/soh/resource/importer/AudioSequenceFactory.cpp +++ b/soh/soh/resource/importer/AudioSequenceFactory.cpp @@ -2,12 +2,12 @@ #include "soh/resource/importer/AudioSoundFontFactory.h" #include "soh/resource/type/AudioSequence.h" #include "spdlog/spdlog.h" -#include "resource/ResourceManager.h" +#include #include -#include "Context.h" -#include "resource/archive/Archive.h" -#include "BinaryWriter.h" +#include +#include +#include #include namespace SOH { diff --git a/soh/soh/resource/importer/AudioSequenceFactory.h b/soh/soh/resource/importer/AudioSequenceFactory.h index 4ae249ec3..897b49c50 100644 --- a/soh/soh/resource/importer/AudioSequenceFactory.h +++ b/soh/soh/resource/importer/AudioSequenceFactory.h @@ -1,8 +1,8 @@ #pragma once -#include "Resource.h" -#include "ResourceFactoryBinary.h" -#include "ResourceFactoryXML.h" +#include +#include +#include namespace SOH { class ResourceFactoryBinaryAudioSequenceV2 final : public Ship::ResourceFactoryBinary { diff --git a/soh/soh/resource/importer/AudioSoundFontFactory.cpp b/soh/soh/resource/importer/AudioSoundFontFactory.cpp index 1150b2b69..f71f31d14 100644 --- a/soh/soh/resource/importer/AudioSoundFontFactory.cpp +++ b/soh/soh/resource/importer/AudioSoundFontFactory.cpp @@ -3,9 +3,9 @@ #include #include #include "z64audio.h" -#include "Context.h" -#include "resource/archive/Archive.h" -#include "resource/ResourceManager.h" +#include +#include +#include namespace SOH { std::shared_ptr diff --git a/soh/soh/resource/importer/AudioSoundFontFactory.h b/soh/soh/resource/importer/AudioSoundFontFactory.h index 0a56769cd..30d3e620f 100644 --- a/soh/soh/resource/importer/AudioSoundFontFactory.h +++ b/soh/soh/resource/importer/AudioSoundFontFactory.h @@ -1,8 +1,8 @@ #pragma once -#include "Resource.h" -#include "ResourceFactoryBinary.h" -#include "ResourceFactoryXML.h" +#include +#include +#include #include "soh/resource/type/AudioSoundFont.h" namespace SOH { diff --git a/soh/soh/resource/importer/BackgroundFactory.h b/soh/soh/resource/importer/BackgroundFactory.h index e9a47a952..645174c69 100644 --- a/soh/soh/resource/importer/BackgroundFactory.h +++ b/soh/soh/resource/importer/BackgroundFactory.h @@ -1,7 +1,7 @@ #pragma once -#include "resource/Resource.h" -#include "resource/ResourceFactoryBinary.h" +#include +#include namespace SOH { class ResourceFactoryBinaryBackgroundV0 final : public Ship::ResourceFactoryBinary { diff --git a/soh/soh/resource/importer/CollisionHeaderFactory.h b/soh/soh/resource/importer/CollisionHeaderFactory.h index 4db21d351..45076f1a6 100644 --- a/soh/soh/resource/importer/CollisionHeaderFactory.h +++ b/soh/soh/resource/importer/CollisionHeaderFactory.h @@ -1,8 +1,8 @@ #pragma once -#include "Resource.h" -#include "ResourceFactoryBinary.h" -#include "ResourceFactoryXML.h" +#include +#include +#include namespace SOH { class ResourceFactoryBinaryCollisionHeaderV0 final : public Ship::ResourceFactoryBinary { diff --git a/soh/soh/resource/importer/CutsceneFactory.h b/soh/soh/resource/importer/CutsceneFactory.h index 95a6f379e..be44c4686 100644 --- a/soh/soh/resource/importer/CutsceneFactory.h +++ b/soh/soh/resource/importer/CutsceneFactory.h @@ -1,7 +1,7 @@ #pragma once -#include "Resource.h" -#include "ResourceFactoryBinary.h" +#include +#include namespace SOH { class ResourceFactoryBinaryCutsceneV0 final : public Ship::ResourceFactoryBinary { diff --git a/soh/soh/resource/importer/PathFactory.h b/soh/soh/resource/importer/PathFactory.h index f94a201c5..9c83f5183 100644 --- a/soh/soh/resource/importer/PathFactory.h +++ b/soh/soh/resource/importer/PathFactory.h @@ -1,8 +1,8 @@ #pragma once -#include "Resource.h" -#include "ResourceFactoryBinary.h" -#include "ResourceFactoryXML.h" +#include +#include +#include namespace SOH { class ResourceFactoryBinaryPathV0 final : public Ship::ResourceFactoryBinary { diff --git a/soh/soh/resource/importer/PlayerAnimationFactory.h b/soh/soh/resource/importer/PlayerAnimationFactory.h index 7761c63b6..09cbb3358 100644 --- a/soh/soh/resource/importer/PlayerAnimationFactory.h +++ b/soh/soh/resource/importer/PlayerAnimationFactory.h @@ -1,7 +1,7 @@ #pragma once -#include "Resource.h" -#include "ResourceFactoryBinary.h" +#include +#include namespace SOH { class ResourceFactoryBinaryPlayerAnimationV0 final : public Ship::ResourceFactoryBinary { diff --git a/soh/soh/resource/importer/SceneFactory.h b/soh/soh/resource/importer/SceneFactory.h index a22291d51..11de07520 100644 --- a/soh/soh/resource/importer/SceneFactory.h +++ b/soh/soh/resource/importer/SceneFactory.h @@ -3,9 +3,9 @@ #include "soh/resource/type/Scene.h" #include "soh/resource/type/scenecommand/SceneCommand.h" #include "soh/resource/importer/scenecommand/SceneCommandFactory.h" -#include "Resource.h" -#include "ResourceFactoryBinary.h" -#include "ResourceFactoryXML.h" +#include +#include +#include namespace SOH { class ResourceFactoryBinarySceneV0 final : public Ship::ResourceFactoryBinary { diff --git a/soh/soh/resource/importer/SkeletonFactory.h b/soh/soh/resource/importer/SkeletonFactory.h index b7c90443f..209e2380d 100644 --- a/soh/soh/resource/importer/SkeletonFactory.h +++ b/soh/soh/resource/importer/SkeletonFactory.h @@ -1,8 +1,8 @@ #pragma once -#include "Resource.h" -#include "ResourceFactoryBinary.h" -#include "ResourceFactoryXML.h" +#include +#include +#include namespace SOH { class ResourceFactoryBinarySkeletonV0 final : public Ship::ResourceFactoryBinary { diff --git a/soh/soh/resource/importer/SkeletonLimbFactory.h b/soh/soh/resource/importer/SkeletonLimbFactory.h index bcf1fd4d5..3f1b76b1c 100644 --- a/soh/soh/resource/importer/SkeletonLimbFactory.h +++ b/soh/soh/resource/importer/SkeletonLimbFactory.h @@ -1,8 +1,8 @@ #pragma once -#include "Resource.h" -#include "ResourceFactoryBinary.h" -#include "ResourceFactoryXML.h" +#include +#include +#include namespace SOH { class ResourceFactoryBinarySkeletonLimbV0 final : public Ship::ResourceFactoryBinary { diff --git a/soh/soh/resource/importer/TextFactory.h b/soh/soh/resource/importer/TextFactory.h index b67f07cbb..502549600 100644 --- a/soh/soh/resource/importer/TextFactory.h +++ b/soh/soh/resource/importer/TextFactory.h @@ -1,8 +1,8 @@ #pragma once -#include "Resource.h" -#include "ResourceFactoryBinary.h" -#include "ResourceFactoryXML.h" +#include +#include +#include namespace SOH { class ResourceFactoryBinaryTextV0 final : public Ship::ResourceFactoryBinary { diff --git a/soh/soh/resource/importer/scenecommand/SceneCommandFactory.h b/soh/soh/resource/importer/scenecommand/SceneCommandFactory.h index b1cd67ae6..6a038fa83 100644 --- a/soh/soh/resource/importer/scenecommand/SceneCommandFactory.h +++ b/soh/soh/resource/importer/scenecommand/SceneCommandFactory.h @@ -1,10 +1,10 @@ #pragma once #include -#include "Resource.h" -#include "ResourceFactory.h" +#include +#include #include "soh/resource/type/scenecommand/SceneCommand.h" -#include "public/bridge/consolevariablebridge.h" +#include namespace SOH { class SceneCommandFactoryBinaryV0 { diff --git a/soh/soh/resource/logging/PathLogger.h b/soh/soh/resource/logging/PathLogger.h index f239d5747..23f4f0d30 100644 --- a/soh/soh/resource/logging/PathLogger.h +++ b/soh/soh/resource/logging/PathLogger.h @@ -1,4 +1,4 @@ -#include "Resource.h" +#include #include "soh/OTRGlobals.h" #include "soh/cvar_prefixes.h" diff --git a/soh/soh/resource/logging/SceneCommandLoggers.h b/soh/soh/resource/logging/SceneCommandLoggers.h index b006b9c0a..64dc1d995 100644 --- a/soh/soh/resource/logging/SceneCommandLoggers.h +++ b/soh/soh/resource/logging/SceneCommandLoggers.h @@ -1,4 +1,4 @@ -#include "Resource.h" +#include #include "soh/OTRGlobals.h" #include "soh/cvar_prefixes.h" diff --git a/soh/soh/resource/type/Animation.h b/soh/soh/resource/type/Animation.h index e4ca4295f..9603e5477 100644 --- a/soh/soh/resource/type/Animation.h +++ b/soh/soh/resource/type/Animation.h @@ -1,6 +1,6 @@ #pragma once -#include "Resource.h" +#include #include namespace SOH { diff --git a/soh/soh/resource/type/Array.cpp b/soh/soh/resource/type/Array.cpp index a4bbc0e5e..8a02faad7 100644 --- a/soh/soh/resource/type/Array.cpp +++ b/soh/soh/resource/type/Array.cpp @@ -1,5 +1,5 @@ #include "Array.h" -#include "graphic/Fast3D/lus_gbi.h" +#include namespace SOH { Array::Array() : Resource(std::shared_ptr()) { } diff --git a/soh/soh/resource/type/Array.h b/soh/soh/resource/type/Array.h index c7d15a22a..23d0b7e53 100644 --- a/soh/soh/resource/type/Array.h +++ b/soh/soh/resource/type/Array.h @@ -1,6 +1,6 @@ #pragma once -#include "resource/Resource.h" +#include namespace Fast { union F3DVtx; diff --git a/soh/soh/resource/type/AudioSample.h b/soh/soh/resource/type/AudioSample.h index 84e623781..eb29bc5bc 100644 --- a/soh/soh/resource/type/AudioSample.h +++ b/soh/soh/resource/type/AudioSample.h @@ -1,7 +1,7 @@ #pragma once #include -#include "Resource.h" +#include #include namespace SOH { diff --git a/soh/soh/resource/type/AudioSequence.h b/soh/soh/resource/type/AudioSequence.h index b76645dee..90d5dd15e 100644 --- a/soh/soh/resource/type/AudioSequence.h +++ b/soh/soh/resource/type/AudioSequence.h @@ -1,7 +1,7 @@ #pragma once #include -#include "Resource.h" +#include namespace SOH { diff --git a/soh/soh/resource/type/AudioSoundFont.h b/soh/soh/resource/type/AudioSoundFont.h index e387ede5f..0e07c0308 100644 --- a/soh/soh/resource/type/AudioSoundFont.h +++ b/soh/soh/resource/type/AudioSoundFont.h @@ -2,7 +2,7 @@ #include #include -#include "Resource.h" +#include #include "soh/resource/type/AudioSample.h" #include diff --git a/soh/soh/resource/type/Background.h b/soh/soh/resource/type/Background.h index 728e0207e..bd14e1509 100644 --- a/soh/soh/resource/type/Background.h +++ b/soh/soh/resource/type/Background.h @@ -1,6 +1,6 @@ #pragma once -#include "resource/Resource.h" +#include namespace SOH { class Background : public Ship::Resource { diff --git a/soh/soh/resource/type/CollisionHeader.h b/soh/soh/resource/type/CollisionHeader.h index 151437442..d6cd3c6fd 100644 --- a/soh/soh/resource/type/CollisionHeader.h +++ b/soh/soh/resource/type/CollisionHeader.h @@ -2,7 +2,7 @@ #include #include -#include "Resource.h" +#include #include #include "z64math.h" diff --git a/soh/soh/resource/type/Cutscene.h b/soh/soh/resource/type/Cutscene.h index e1f786ea5..59475d1cf 100644 --- a/soh/soh/resource/type/Cutscene.h +++ b/soh/soh/resource/type/Cutscene.h @@ -2,7 +2,7 @@ #include #include -#include "Resource.h" +#include namespace SOH { diff --git a/soh/soh/resource/type/Path.h b/soh/soh/resource/type/Path.h index baef6519c..42fc2946f 100644 --- a/soh/soh/resource/type/Path.h +++ b/soh/soh/resource/type/Path.h @@ -2,7 +2,7 @@ #include #include -#include "Resource.h" +#include #include #include "z64math.h" diff --git a/soh/soh/resource/type/PlayerAnimation.h b/soh/soh/resource/type/PlayerAnimation.h index db8e8ccf9..66cac19e0 100644 --- a/soh/soh/resource/type/PlayerAnimation.h +++ b/soh/soh/resource/type/PlayerAnimation.h @@ -2,7 +2,7 @@ #include #include -#include "Resource.h" +#include namespace SOH { class PlayerAnimation : public Ship::Resource { diff --git a/soh/soh/resource/type/Scene.h b/soh/soh/resource/type/Scene.h index 73fcd57a9..371890e76 100644 --- a/soh/soh/resource/type/Scene.h +++ b/soh/soh/resource/type/Scene.h @@ -3,7 +3,7 @@ #include #include #include -#include "Resource.h" +#include #include "scenecommand/SceneCommand.h" #include diff --git a/soh/soh/resource/type/Skeleton.cpp b/soh/soh/resource/type/Skeleton.cpp index 027da1790..f2541dd06 100644 --- a/soh/soh/resource/type/Skeleton.cpp +++ b/soh/soh/resource/type/Skeleton.cpp @@ -1,4 +1,4 @@ -#include "resource/ResourceManager.h" +#include #include "Skeleton.h" #include "soh/OTRGlobals.h" #include "libultraship/libultraship.h" diff --git a/soh/soh/resource/type/Skeleton.h b/soh/soh/resource/type/Skeleton.h index 4d5dc0119..c3fd6f181 100644 --- a/soh/soh/resource/type/Skeleton.h +++ b/soh/soh/resource/type/Skeleton.h @@ -1,7 +1,7 @@ #pragma once #include -#include "Resource.h" +#include #include "SkeletonLimb.h" #include diff --git a/soh/soh/resource/type/SkeletonLimb.h b/soh/soh/resource/type/SkeletonLimb.h index 5ee73b99a..84acd7741 100644 --- a/soh/soh/resource/type/SkeletonLimb.h +++ b/soh/soh/resource/type/SkeletonLimb.h @@ -1,6 +1,6 @@ #pragma once -#include "Resource.h" +#include #include "libultraship/libultra.h" #include "z64math.h" diff --git a/soh/soh/resource/type/Text.h b/soh/soh/resource/type/Text.h index 535203716..ff921e731 100644 --- a/soh/soh/resource/type/Text.h +++ b/soh/soh/resource/type/Text.h @@ -2,7 +2,7 @@ #include #include -#include "Resource.h" +#include #include namespace SOH { diff --git a/soh/soh/resource/type/scenecommand/EndMarker.h b/soh/soh/resource/type/scenecommand/EndMarker.h index 37b06911d..5d3a0f7df 100644 --- a/soh/soh/resource/type/scenecommand/EndMarker.h +++ b/soh/soh/resource/type/scenecommand/EndMarker.h @@ -3,7 +3,7 @@ #include #include #include -#include "Resource.h" +#include #include "SceneCommand.h" #include diff --git a/soh/soh/resource/type/scenecommand/SceneCommand.h b/soh/soh/resource/type/scenecommand/SceneCommand.h index 99234b24a..1e71599dc 100644 --- a/soh/soh/resource/type/scenecommand/SceneCommand.h +++ b/soh/soh/resource/type/scenecommand/SceneCommand.h @@ -3,7 +3,7 @@ #include #include #include -#include "Resource.h" +#include #include namespace SOH { diff --git a/soh/soh/resource/type/scenecommand/SetActorList.h b/soh/soh/resource/type/scenecommand/SetActorList.h index d4ee3a902..b444aadd0 100644 --- a/soh/soh/resource/type/scenecommand/SetActorList.h +++ b/soh/soh/resource/type/scenecommand/SetActorList.h @@ -4,7 +4,7 @@ #include #include #include -#include "Resource.h" +#include #include "SceneCommand.h" // #include #include "z64math.h" diff --git a/soh/soh/resource/type/scenecommand/SetAlternateHeaders.h b/soh/soh/resource/type/scenecommand/SetAlternateHeaders.h index 11dabd31f..38817d1a6 100644 --- a/soh/soh/resource/type/scenecommand/SetAlternateHeaders.h +++ b/soh/soh/resource/type/scenecommand/SetAlternateHeaders.h @@ -4,7 +4,7 @@ #include #include #include -#include "Resource.h" +#include #include "SceneCommand.h" #include "soh/resource/type/Scene.h" #include "RomFile.h" diff --git a/soh/soh/resource/type/scenecommand/SetCameraSettings.h b/soh/soh/resource/type/scenecommand/SetCameraSettings.h index ad674d306..0cc03cfd5 100644 --- a/soh/soh/resource/type/scenecommand/SetCameraSettings.h +++ b/soh/soh/resource/type/scenecommand/SetCameraSettings.h @@ -3,7 +3,7 @@ #include #include #include -#include "Resource.h" +#include #include "SceneCommand.h" #include diff --git a/soh/soh/resource/type/scenecommand/SetCollisionHeader.h b/soh/soh/resource/type/scenecommand/SetCollisionHeader.h index b24673242..283a8bc0a 100644 --- a/soh/soh/resource/type/scenecommand/SetCollisionHeader.h +++ b/soh/soh/resource/type/scenecommand/SetCollisionHeader.h @@ -4,7 +4,7 @@ #include #include #include -#include "Resource.h" +#include #include "soh/resource/type/scenecommand/SceneCommand.h" #include "soh/resource/type/CollisionHeader.h" // #include diff --git a/soh/soh/resource/type/scenecommand/SetCsCamera.h b/soh/soh/resource/type/scenecommand/SetCsCamera.h index fbd51e06c..42db07754 100644 --- a/soh/soh/resource/type/scenecommand/SetCsCamera.h +++ b/soh/soh/resource/type/scenecommand/SetCsCamera.h @@ -3,7 +3,7 @@ #include #include #include -#include "Resource.h" +#include #include "SceneCommand.h" #include diff --git a/soh/soh/resource/type/scenecommand/SetCutscenes.h b/soh/soh/resource/type/scenecommand/SetCutscenes.h index 5ad28d4ae..0988b2027 100644 --- a/soh/soh/resource/type/scenecommand/SetCutscenes.h +++ b/soh/soh/resource/type/scenecommand/SetCutscenes.h @@ -4,7 +4,7 @@ #include #include #include -#include "Resource.h" +#include #include "soh/resource/type/scenecommand/SceneCommand.h" #include "soh/resource/type/Cutscene.h" // #include diff --git a/soh/soh/resource/type/scenecommand/SetEchoSettings.h b/soh/soh/resource/type/scenecommand/SetEchoSettings.h index 2d17a879e..dfa0538a4 100644 --- a/soh/soh/resource/type/scenecommand/SetEchoSettings.h +++ b/soh/soh/resource/type/scenecommand/SetEchoSettings.h @@ -3,7 +3,7 @@ #include #include #include -#include "Resource.h" +#include #include "SceneCommand.h" #include diff --git a/soh/soh/resource/type/scenecommand/SetEntranceList.h b/soh/soh/resource/type/scenecommand/SetEntranceList.h index e41050c87..08fcf9fca 100644 --- a/soh/soh/resource/type/scenecommand/SetEntranceList.h +++ b/soh/soh/resource/type/scenecommand/SetEntranceList.h @@ -4,7 +4,7 @@ #include #include #include -#include "Resource.h" +#include #include "SceneCommand.h" #include diff --git a/soh/soh/resource/type/scenecommand/SetExitList.h b/soh/soh/resource/type/scenecommand/SetExitList.h index 56026075f..d9598c3cd 100644 --- a/soh/soh/resource/type/scenecommand/SetExitList.h +++ b/soh/soh/resource/type/scenecommand/SetExitList.h @@ -3,7 +3,7 @@ #include #include #include -#include "Resource.h" +#include #include "SceneCommand.h" #include diff --git a/soh/soh/resource/type/scenecommand/SetLightList.h b/soh/soh/resource/type/scenecommand/SetLightList.h index d79a73aec..3a95a4f8f 100644 --- a/soh/soh/resource/type/scenecommand/SetLightList.h +++ b/soh/soh/resource/type/scenecommand/SetLightList.h @@ -4,7 +4,7 @@ #include #include #include -#include "Resource.h" +#include #include "SceneCommand.h" #include diff --git a/soh/soh/resource/type/scenecommand/SetLightingSettings.h b/soh/soh/resource/type/scenecommand/SetLightingSettings.h index cb2089517..ca9282225 100644 --- a/soh/soh/resource/type/scenecommand/SetLightingSettings.h +++ b/soh/soh/resource/type/scenecommand/SetLightingSettings.h @@ -3,7 +3,7 @@ #include #include #include -#include "Resource.h" +#include #include "SceneCommand.h" #include diff --git a/soh/soh/resource/type/scenecommand/SetMesh.h b/soh/soh/resource/type/scenecommand/SetMesh.h index d96661c43..1ab86530a 100644 --- a/soh/soh/resource/type/scenecommand/SetMesh.h +++ b/soh/soh/resource/type/scenecommand/SetMesh.h @@ -3,7 +3,7 @@ #include #include #include -#include "Resource.h" +#include #include "SceneCommand.h" #include "libultraship/libultra.h" #include "z64math.h" diff --git a/soh/soh/resource/type/scenecommand/SetObjectList.h b/soh/soh/resource/type/scenecommand/SetObjectList.h index 74081763a..5650f6d94 100644 --- a/soh/soh/resource/type/scenecommand/SetObjectList.h +++ b/soh/soh/resource/type/scenecommand/SetObjectList.h @@ -4,7 +4,7 @@ #include #include #include -#include "Resource.h" +#include #include "SceneCommand.h" #include diff --git a/soh/soh/resource/type/scenecommand/SetPathways.h b/soh/soh/resource/type/scenecommand/SetPathways.h index 377b5923d..ec2011367 100644 --- a/soh/soh/resource/type/scenecommand/SetPathways.h +++ b/soh/soh/resource/type/scenecommand/SetPathways.h @@ -3,7 +3,7 @@ #include #include #include -#include "Resource.h" +#include #include "SceneCommand.h" // #include #include "soh/resource/type/Path.h" diff --git a/soh/soh/resource/type/scenecommand/SetRoomBehavior.h b/soh/soh/resource/type/scenecommand/SetRoomBehavior.h index db59fa76b..8a1c2b832 100644 --- a/soh/soh/resource/type/scenecommand/SetRoomBehavior.h +++ b/soh/soh/resource/type/scenecommand/SetRoomBehavior.h @@ -3,7 +3,7 @@ #include #include #include -#include "Resource.h" +#include #include "SceneCommand.h" #include diff --git a/soh/soh/resource/type/scenecommand/SetRoomList.h b/soh/soh/resource/type/scenecommand/SetRoomList.h index b60a75dbe..6fe6d33ff 100644 --- a/soh/soh/resource/type/scenecommand/SetRoomList.h +++ b/soh/soh/resource/type/scenecommand/SetRoomList.h @@ -4,7 +4,7 @@ #include #include #include -#include "Resource.h" +#include #include "SceneCommand.h" #include "RomFile.h" #include diff --git a/soh/soh/resource/type/scenecommand/SetSkyboxModifier.h b/soh/soh/resource/type/scenecommand/SetSkyboxModifier.h index 7ed86ddc5..189e4ab3d 100644 --- a/soh/soh/resource/type/scenecommand/SetSkyboxModifier.h +++ b/soh/soh/resource/type/scenecommand/SetSkyboxModifier.h @@ -3,7 +3,7 @@ #include #include #include -#include "Resource.h" +#include #include "SceneCommand.h" #include diff --git a/soh/soh/resource/type/scenecommand/SetSkyboxSettings.h b/soh/soh/resource/type/scenecommand/SetSkyboxSettings.h index d3d7b5a4c..cf3bbfbad 100644 --- a/soh/soh/resource/type/scenecommand/SetSkyboxSettings.h +++ b/soh/soh/resource/type/scenecommand/SetSkyboxSettings.h @@ -3,7 +3,7 @@ #include #include #include -#include "Resource.h" +#include #include "SceneCommand.h" #include diff --git a/soh/soh/resource/type/scenecommand/SetSoundSettings.h b/soh/soh/resource/type/scenecommand/SetSoundSettings.h index 57e3beaae..ba180d823 100644 --- a/soh/soh/resource/type/scenecommand/SetSoundSettings.h +++ b/soh/soh/resource/type/scenecommand/SetSoundSettings.h @@ -3,7 +3,7 @@ #include #include #include -#include "Resource.h" +#include #include "SceneCommand.h" #include diff --git a/soh/soh/resource/type/scenecommand/SetSpecialObjects.h b/soh/soh/resource/type/scenecommand/SetSpecialObjects.h index 51a57c599..1e9e44e9f 100644 --- a/soh/soh/resource/type/scenecommand/SetSpecialObjects.h +++ b/soh/soh/resource/type/scenecommand/SetSpecialObjects.h @@ -3,7 +3,7 @@ #include #include #include -#include "Resource.h" +#include #include "SceneCommand.h" #include diff --git a/soh/soh/resource/type/scenecommand/SetStartPositionList.h b/soh/soh/resource/type/scenecommand/SetStartPositionList.h index f2b097b0c..2b1ddce89 100644 --- a/soh/soh/resource/type/scenecommand/SetStartPositionList.h +++ b/soh/soh/resource/type/scenecommand/SetStartPositionList.h @@ -4,7 +4,7 @@ #include #include #include -#include "Resource.h" +#include #include "SceneCommand.h" #include "soh/resource/type/scenecommand/SetActorList.h" // #include diff --git a/soh/soh/resource/type/scenecommand/SetTimeSettings.h b/soh/soh/resource/type/scenecommand/SetTimeSettings.h index ca95841e7..c5b63283b 100644 --- a/soh/soh/resource/type/scenecommand/SetTimeSettings.h +++ b/soh/soh/resource/type/scenecommand/SetTimeSettings.h @@ -3,7 +3,7 @@ #include #include #include -#include "Resource.h" +#include #include "SceneCommand.h" #include diff --git a/soh/soh/resource/type/scenecommand/SetTransitionActorList.h b/soh/soh/resource/type/scenecommand/SetTransitionActorList.h index e740f128a..0b7149fa6 100644 --- a/soh/soh/resource/type/scenecommand/SetTransitionActorList.h +++ b/soh/soh/resource/type/scenecommand/SetTransitionActorList.h @@ -4,7 +4,7 @@ #include #include #include -#include "Resource.h" +#include #include "SceneCommand.h" // #include #include "z64math.h" diff --git a/soh/soh/resource/type/scenecommand/SetWindSettings.h b/soh/soh/resource/type/scenecommand/SetWindSettings.h index 755ad0d0d..87e0a3039 100644 --- a/soh/soh/resource/type/scenecommand/SetWindSettings.h +++ b/soh/soh/resource/type/scenecommand/SetWindSettings.h @@ -3,7 +3,7 @@ #include #include #include -#include "Resource.h" +#include #include "SceneCommand.h" #include diff --git a/soh/soh/z_message_OTR.cpp b/soh/soh/z_message_OTR.cpp index ea849af05..403541948 100644 --- a/soh/soh/z_message_OTR.cpp +++ b/soh/soh/z_message_OTR.cpp @@ -1,7 +1,7 @@ #include "OTRGlobals.h" #include #include "soh/resource/type/Scene.h" -#include +#include #include "global.h" #include "vt.h" #include "soh/resource/type/Text.h" diff --git a/soh/soh/z_play_otr.cpp b/soh/soh/z_play_otr.cpp index 5055b969b..8864351b4 100644 --- a/soh/soh/z_play_otr.cpp +++ b/soh/soh/z_play_otr.cpp @@ -2,11 +2,11 @@ #include "ResourceManagerHelpers.h" #include #include "soh/resource/type/Scene.h" -#include +#include #include "soh/Enhancements/game-interactor/GameInteractor_Hooks.h" #include "global.h" #include "vt.h" -#include +#include extern "C" void Play_InitScene(PlayState* play, s32 spawn); extern "C" void Play_InitEnvironment(PlayState* play, s16 skyboxId); diff --git a/soh/soh/z_scene_otr.cpp b/soh/soh/z_scene_otr.cpp index 1baf6151d..d49367024 100644 --- a/soh/soh/z_scene_otr.cpp +++ b/soh/soh/z_scene_otr.cpp @@ -2,15 +2,15 @@ #include "ResourceManagerHelpers.h" #include #include "soh/resource/type/Scene.h" -#include +#include #include "global.h" #include "vt.h" #include "soh/resource/type/CollisionHeader.h" -#include +#include #include "soh/resource/type/Cutscene.h" #include "soh/resource/type/Path.h" #include "soh/resource/type/Text.h" -#include +#include #include #include #include "soh/resource/type/scenecommand/SetCameraSettings.h" diff --git a/soh/src/code/sys_ucode.c b/soh/src/code/sys_ucode.c index 39bbe3531..678c58c36 100644 --- a/soh/src/code/sys_ucode.c +++ b/soh/src/code/sys_ucode.c @@ -1,6 +1,6 @@ #include "global.h" -#include "public/bridge/gfxbridge.h" +#include UcodeHandlers sDefaultGSPUCodeText = ucode_f3dex2; // u64* sDefaultGSPUCodeData = gspF3DZEX2_NoN_PosLight_fifoDataStart; diff --git a/soh/src/code/z_room.c b/soh/src/code/z_room.c index 493752555..172111b50 100644 --- a/soh/src/code/z_room.c +++ b/soh/src/code/z_room.c @@ -9,7 +9,7 @@ #include #include -#include "public/bridge/gfxbridge.h" +#include #include "soh/OTRGlobals.h" #include "soh/ResourceManagerHelpers.h" diff --git a/soh/src/overlays/misc/ovl_kaleido_scope/z_kaleido_map_PAL.c b/soh/src/overlays/misc/ovl_kaleido_scope/z_kaleido_map_PAL.c index 3e79eb6ad..5b5665dab 100644 --- a/soh/src/overlays/misc/ovl_kaleido_scope/z_kaleido_map_PAL.c +++ b/soh/src/overlays/misc/ovl_kaleido_scope/z_kaleido_map_PAL.c @@ -8,7 +8,7 @@ #include "textures/icon_item_dungeon_static/icon_item_dungeon_static.h" #include "textures/icon_item_nes_static/icon_item_nes_static.h" -#include "public/bridge/gfxbridge.h" +#include void KaleidoScope_DrawDungeonMap(PlayState* play, GraphicsContext* gfxCtx) { static void* dungeonItemTexs[] = {