-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
not_alphanine
committed
Jun 26, 2024
1 parent
412b9f2
commit fd12dc7
Showing
45 changed files
with
806 additions
and
129 deletions.
There are no files selected for viewing
Submodule archivexl
updated
34 files
Submodule lz4
updated
5 files
+0 −1 | .cirrus.yml | |
+43 −42 | .github/workflows/ci.yml | |
+1 −1 | .github/workflows/scorecard.yml | |
+5 −8 | build/cmake/CMakeLists.txt | |
+5 −0 | tests/cmake/CMakeLists.txt |
Submodule redlib
updated
5 files
+1 −0 | include/Red/Engine.hpp | |
+2 −2 | include/Red/Engine/LogChannel.hpp | |
+1 −0 | include/Red/TypeInfo.hpp | |
+66 −37 | include/Red/TypeInfo/Invocation.hpp | |
+24 −13 | include/Red/TypeInfo/Parameters.hpp |
Submodule simdjson
updated
20 files
Submodule tweakxl
updated
62 files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
module NGPlus.Q101StartHelper | ||
|
||
import NGPlus.DifficultyConfig.* | ||
|
||
// Hacky way to do this, but no real other way... | ||
public class NGPlusQ101Helper extends ScriptableSystem { | ||
private let m_questsSystem: ref<QuestsSystem>; | ||
private let m_ngPlusSystem: ref<NewGamePlusSystem>; | ||
private let m_newQ101ListenerId: Uint32; | ||
private final func OnAttach() -> Void { | ||
this.m_questsSystem = GameInstance.GetQuestsSystem(GetGameInstance()); | ||
this.m_ngPlusSystem = GameInstance.GetNewGamePlusSystem(); | ||
this.m_newQ101ListenerId = this.m_questsSystem.RegisterListener(n"ngplus_use_new_q101", this, n"OnFactChange"); | ||
} | ||
public final func OnFactChange(newValue: Int32) -> Void { | ||
if newValue != 1 || !GetShouldFastForwardQ101Start() { | ||
return; | ||
} | ||
if this.m_questsSystem.GetFactStr("ngplus_active") == 0 { | ||
this.m_ngPlusSystem.Spew("NGPlusQ101Helper::OnFactChange, NG+ inactive..."); | ||
return; | ||
} | ||
let isQ101Start = this.m_questsSystem.GetFactStr("ngplus_q001_start") == 0; | ||
if isQ101Start { | ||
this.m_ngPlusSystem.Spew("NGPlusQ101Helper::OnFactChange, should fast-forward to V's room..."); | ||
this.m_questsSystem.SetFactStr("ngplus_use_new_q101", 0); | ||
} | ||
} | ||
private final func OnDetach() -> Void { | ||
this.m_questsSystem.UnregisterListener(n"ngplus_use_new_q101", this.m_newQ101ListenerId); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.