mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-14 02:27:21 -07:00
bump lus (#5500)
This commit is contained in:
parent
4f0ed2949e
commit
b418db7792
7 changed files with 14 additions and 14 deletions
|
@ -1,7 +1,5 @@
|
|||
set(CVAR_VSYNC_ENABLED "${CVAR_PREFIX_SETTING}.VsyncEnabled" CACHE STRING "")
|
||||
set(CVAR_Z_FIGHTING_MODE "${CVAR_PREFIX_SETTING}.ZFightingMode" CACHE STRING "")
|
||||
set(CVAR_NEW_FILE_DROPPED "${CVAR_PREFIX_GENERAL}.NewFileDropped" CACHE STRING "")
|
||||
set(CVAR_DROPPED_FILE "${CVAR_PREFIX_GENERAL}.DroppedFile" CACHE STRING "")
|
||||
set(CVAR_INTERNAL_RESOLUTION "${CVAR_PREFIX_SETTING}.InternalResolution" CACHE STRING "")
|
||||
set(CVAR_MSAA_VALUE "${CVAR_PREFIX_SETTING}.MSAAValue" CACHE STRING "")
|
||||
set(CVAR_SDL_WINDOWED_FULLSCREEN "${CVAR_PREFIX_SETTING}.SdlWindowedFullscreen" CACHE STRING "")
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit ce38cb6883ca030e61749eae584b6d9a7cb7bca5
|
||||
Subproject commit 7135d1494e74c38aa7fca734b92ec50bba543b44
|
|
@ -40,6 +40,7 @@
|
|||
#include "z64.h"
|
||||
#include "macros.h"
|
||||
#include "Fonts.h"
|
||||
#include "window/FileDropMgr.h"
|
||||
#include "window/gui/resource/Font.h"
|
||||
#include <utils/StringHelper.h>
|
||||
#include "Enhancements/custom-message/CustomMessageManager.h"
|
||||
|
@ -307,6 +308,7 @@ OTRGlobals::OTRGlobals() {
|
|||
context->InitGfxDebugger();
|
||||
context->InitConfiguration();
|
||||
context->InitConsoleVariables();
|
||||
context->InitFileDropMgr();
|
||||
|
||||
// tell LUS to reserve 3 SoH specific threads (Game, Audio, Save)
|
||||
context->InitResourceManager(OTRFiles, {}, 3);
|
||||
|
@ -1434,13 +1436,13 @@ extern "C" void Graph_StartFrame() {
|
|||
}
|
||||
#endif
|
||||
|
||||
if (CVarGetInteger(CVAR_NEW_FILE_DROPPED, 0)) {
|
||||
std::string filePath = SohUtils::Sanitize(CVarGetString(CVAR_DROPPED_FILE, ""));
|
||||
auto dropMgr = Ship::Context::GetInstance()->GetFileDropMgr();
|
||||
if (dropMgr->FileDropped()) {
|
||||
std::string filePath = dropMgr->GetDroppedFile();
|
||||
if (!filePath.empty()) {
|
||||
GameInteractor::Instance->ExecuteHooks<GameInteractor::OnFileDropped>(filePath);
|
||||
}
|
||||
CVarClear(CVAR_NEW_FILE_DROPPED);
|
||||
CVarClear(CVAR_DROPPED_FILE);
|
||||
dropMgr->ClearDroppedFile();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
#define MENU_H
|
||||
|
||||
#include <libultraship/libultraship.h>
|
||||
#include "graphic/Fast3D/gfx_rendering_api.h"
|
||||
#include "graphic/Fast3D/backends/gfx_rendering_api.h"
|
||||
#include "MenuTypes.h"
|
||||
|
||||
namespace Ship {
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
#include <libultraship/libultraship.h>
|
||||
|
||||
#ifdef __APPLE__
|
||||
#include "graphic/Fast3D/gfx_metal.h"
|
||||
#include "graphic/Fast3D/backends/gfx_metal.h"
|
||||
#endif
|
||||
|
||||
#ifdef __SWITCH__
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
#include <libultraship/libultraship.h>
|
||||
#include "UIWidgets.hpp"
|
||||
#include "Menu.h"
|
||||
#include "graphic/Fast3D/gfx_rendering_api.h"
|
||||
#include "graphic/Fast3D/backends/gfx_rendering_api.h"
|
||||
#include "soh/cvar_prefixes.h"
|
||||
#include "soh/Enhancements/enhancementTypes.h"
|
||||
#include "soh/Enhancements/Presets/Presets.h"
|
||||
|
@ -53,9 +53,9 @@ static const std::unordered_map<int32_t, const char*> menuThemeOptions = {
|
|||
};
|
||||
|
||||
static const std::unordered_map<int32_t, const char*> textureFilteringMap = {
|
||||
{ FILTER_THREE_POINT, "Three-Point" },
|
||||
{ FILTER_LINEAR, "Linear" },
|
||||
{ FILTER_NONE, "None" },
|
||||
{ Fast::FILTER_THREE_POINT, "Three-Point" },
|
||||
{ Fast::FILTER_LINEAR, "Linear" },
|
||||
{ Fast::FILTER_NONE, "None" },
|
||||
};
|
||||
|
||||
static const std::unordered_map<int32_t, const char*> logLevels = {
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
#include <libultraship/libultraship.h>
|
||||
#include "UIWidgets.hpp"
|
||||
#include "include/z64audio.h"
|
||||
#include "graphic/Fast3D/gfx_rendering_api.h"
|
||||
#include "graphic/Fast3D/backends/gfx_rendering_api.h"
|
||||
#include "soh/OTRGlobals.h"
|
||||
#include "soh/SaveManager.h"
|
||||
#include "z64.h"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue