mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-07-01 16:53:28 +00:00
Update hecl-gui and amuse, just boot right into the game always
This commit is contained in:
parent
0781307c49
commit
a7c61573bd
@ -364,12 +364,12 @@ add_subdirectory(visigen)
|
|||||||
add_dependencies(hecl visigen)
|
add_dependencies(hecl visigen)
|
||||||
|
|
||||||
if (NOT WINDOWS_STORE AND NOT NX)
|
if (NOT WINDOWS_STORE AND NOT NX)
|
||||||
find_package(Qt5Widgets PATHS /usr/local/opt/qt)
|
find_package(Qt6Widgets PATHS /usr/local/opt/qt)
|
||||||
if (Qt5Widgets_FOUND)
|
if (Qt5Widgets_FOUND)
|
||||||
message(STATUS "Qt5 found, hecl-gui will be built")
|
message(STATUS "Qt6 found, hecl-gui will be built")
|
||||||
add_subdirectory(hecl-gui)
|
add_subdirectory(hecl-gui)
|
||||||
else()
|
else()
|
||||||
message(STATUS "Qt5 not found, hecl-gui will not be built")
|
message(STATUS "Qt6 not found, hecl-gui will not be built")
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
@ -87,9 +87,8 @@ void ViewManager::TestGameView::think() {
|
|||||||
double currentRoomTime = igt - m_currentRoomStart;
|
double currentRoomTime = igt - m_currentRoomStart;
|
||||||
u32 curFrames = std::round(u32(currentRoomTime * 60));
|
u32 curFrames = std::round(u32(currentRoomTime * 60));
|
||||||
u32 lastFrames = std::round(u32(m_lastRoomTime * 60));
|
u32 lastFrames = std::round(u32(m_lastRoomTime * 60));
|
||||||
overlayText += fmt::format(FMT_STRING("Room Time:{:8.3f}/{:6d}| Last Room:{:8.3f}/{:6d}\n"),
|
overlayText += fmt::format(FMT_STRING("Room Time:{:8.3f}/{:6d}| Last Room:{:8.3f}/{:6d}\n"), currentRoomTime,
|
||||||
currentRoomTime, curFrames,
|
curFrames, m_lastRoomTime, lastFrames);
|
||||||
m_lastRoomTime, lastFrames);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (g_StateManager->Player() && m_cvarCommons.m_debugOverlayPlayerInfo->toBoolean()) {
|
if (g_StateManager->Player() && m_cvarCommons.m_debugOverlayPlayerInfo->toBoolean()) {
|
||||||
@ -316,8 +315,13 @@ void ViewManager::init(boo::IApplication* app) {
|
|||||||
m_amuseAllocWrapper.emplace(*m_voiceEngine);
|
m_amuseAllocWrapper.emplace(*m_voiceEngine);
|
||||||
|
|
||||||
for (const auto& arg : app->getArgs()) {
|
for (const auto& arg : app->getArgs()) {
|
||||||
|
hecl::Sstat theStat;
|
||||||
|
if (!hecl::Stat((arg + _SYS_STR("/out")).c_str(), &theStat) && S_ISDIR(theStat.st_mode)) {
|
||||||
|
hecl::ProjectRootPath rootPath(arg);
|
||||||
|
hecl::Database::Project tmp(rootPath); // Force project creation
|
||||||
|
}
|
||||||
if (m_deferedProject.empty() && hecl::SearchForProject(arg))
|
if (m_deferedProject.empty() && hecl::SearchForProject(arg))
|
||||||
m_deferedProject = arg;
|
m_deferedProject = arg + _SYS_STR("/out");
|
||||||
if (arg == _SYS_STR("--no-shader-warmup"))
|
if (arg == _SYS_STR("--no-shader-warmup"))
|
||||||
m_noShaderWarmup = true;
|
m_noShaderWarmup = true;
|
||||||
else if (arg == _SYS_STR("--no-sound"))
|
else if (arg == _SYS_STR("--no-sound"))
|
||||||
|
2
amuse
2
amuse
@ -1 +1 @@
|
|||||||
Subproject commit d3c4f568bbe3dc5d74bd0e5d323b1450e651802c
|
Subproject commit 2ec749e6c7d69ce85bf2fad09339eeead02f209f
|
2
hecl-gui
2
hecl-gui
@ -1 +1 @@
|
|||||||
Subproject commit 6d0a738e1bf93b47c38e8042086b836142ca48e8
|
Subproject commit ab0d15f73988175bce5b5bf1aa80a2c4faa12c9f
|
Loading…
x
Reference in New Issue
Block a user