Added configuration options for form type collisions and force-loading plugins
This commit is contained in:
parent
461405836d
commit
3fe7fb62ac
@ -1,3 +1,4 @@
|
|||||||
|
ForceLoadEnderalPlugins = true
|
||||||
FlatMapMarkers = true
|
FlatMapMarkers = true
|
||||||
StayAtSystemPage = true
|
StayAtSystemPage = true
|
||||||
MapMarkerPlacementFixes = true
|
MapMarkerPlacementFixes = true
|
||||||
@ -6,3 +7,4 @@ VideoInterruptPatch = true
|
|||||||
ForceBorderless = true
|
ForceBorderless = true
|
||||||
AttachLightHitEffectCrashFix = true
|
AttachLightHitEffectCrashFix = true
|
||||||
AutoScaleHeroMenu = true
|
AutoScaleHeroMenu = true
|
||||||
|
WarnFormTypeCollisions = true
|
||||||
|
|||||||
@ -1 +1 @@
|
|||||||
version = 2.1.4
|
version = 2.1.4.1
|
||||||
|
|||||||
BIN
source/Enderal DLL/cmake/version.rc.in
(Stored with Git LFS)
BIN
source/Enderal DLL/cmake/version.rc.in
(Stored with Git LFS)
Binary file not shown.
@ -19,6 +19,8 @@
|
|||||||
using namespace SKSE;
|
using namespace SKSE;
|
||||||
|
|
||||||
static std::map<std::string, bool> g_settings{
|
static std::map<std::string, bool> g_settings{
|
||||||
|
{ "ForceLoadEnderalPlugins", true },
|
||||||
|
{ "WarnFormTypeCollisions", true },
|
||||||
{ "FlatMapMarkers", true },
|
{ "FlatMapMarkers", true },
|
||||||
{ "StayAtSystemPage", true },
|
{ "StayAtSystemPage", true },
|
||||||
{ "MapMarkerPlacementFixes", true },
|
{ "MapMarkerPlacementFixes", true },
|
||||||
@ -190,8 +192,14 @@ SKSEPluginLoad(const LoadInterface* skse) {
|
|||||||
|
|
||||||
Init(skse);
|
Init(skse);
|
||||||
InitializeMessaging();
|
InitializeMessaging();
|
||||||
FormTypeCollisionDetector::Install();
|
|
||||||
PluginsTxtPatch::Install();
|
if (g_settings.at("WarnFormTypeCollisions")) {
|
||||||
|
FormTypeCollisionDetector::Install();
|
||||||
|
}
|
||||||
|
|
||||||
|
if (g_settings.at("ForceLoadEnderalPlugins")) {
|
||||||
|
PluginsTxtPatch::Install();
|
||||||
|
}
|
||||||
|
|
||||||
RE::INISettingCollection::GetSingleton()->GetSetting("sIntroSequence:General")->data.s = nullptr;
|
RE::INISettingCollection::GetSingleton()->GetSetting("sIntroSequence:General")->data.s = nullptr;
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user