Compare commits
2 Commits
7188ff4e85
...
e6d6d91744
Author | SHA1 | Date | |
---|---|---|---|
e6d6d91744 | |||
b51838ab2b |
Binary file not shown.
@ -6,7 +6,7 @@ message("Using toolchain file ${CMAKE_TOOLCHAIN_FILE}.")
|
||||
########################################################################################################################
|
||||
project(
|
||||
EnderalSE
|
||||
VERSION 2.1.2
|
||||
VERSION 2.1.3
|
||||
DESCRIPTION "Enderal SE DLL"
|
||||
LANGUAGES CXX)
|
||||
set(CMAKE_CXX_STANDARD 23)
|
||||
|
@ -60,8 +60,6 @@ auto EventListener::ProcessEvent(
|
||||
} else {
|
||||
if (a_event->menuName == RE::DialogueMenu::MENU_NAME) {
|
||||
DialogueMenuPatch::BlockTab(false);
|
||||
} else if (a_event->menuName == RE::MainMenu::MENU_NAME) {
|
||||
CheckScriptVersions();
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -135,6 +135,9 @@ namespace {
|
||||
});
|
||||
} else if ((message->type == MessagingInterface::kPostLoadGame && message->data) || message->type == MessagingInterface::kNewGame) {
|
||||
NewGameCount(true);
|
||||
if (NewGameCount() == 1) {
|
||||
CheckScriptVersions();
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
@ -82,7 +82,7 @@ inline void CheckScriptVersions()
|
||||
expectedVersion(a_version)
|
||||
{
|
||||
const auto vm = RE::BSScript::Internal::VirtualMachine::GetSingleton();
|
||||
|
||||
|
||||
if (vm->TypeIsValid(scriptName) && PapyrusGlobalFunctionExists(scriptName.c_str(), funcName.c_str())) {
|
||||
auto callbackPtr = RE::BSTSmartPointer<RE::BSScript::IStackCallbackFunctor>(this);
|
||||
vm->DispatchStaticCall(scriptName, funcName, RE::MakeFunctionArguments(), callbackPtr);
|
||||
@ -113,7 +113,7 @@ inline void CheckScriptVersions()
|
||||
scripts["_00E_Phasmalist_NewApparitionAlias"] = 1;
|
||||
scripts["_FS_Phasmalist_ControlQuest"] = 1;
|
||||
scripts["_00E_Phasmalist_Workbench"] = 1;
|
||||
scripts["_00E_Theriantrophist_PlayerAsWerewolf"] = 1;
|
||||
scripts["_00E_Theriantrophist_PlayerAsWerewolf"] = 2;
|
||||
scripts["_00E_Theriantrophist_AlchemyControl"] = 1;
|
||||
scripts["_00E_PlayerhousingMaster"] = 1;
|
||||
scripts["_00E_ContainerBonusControl"] = 2;
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"$schema": "https://raw.githubusercontent.com/microsoft/vcpkg/master/scripts/vcpkg.schema.json",
|
||||
"name": "enderal-se",
|
||||
"version-string": "2.1.0",
|
||||
"version-string": "2.1.3",
|
||||
"port-version": 0,
|
||||
"description": "Enderal SE Helper",
|
||||
"homepage": "https://mod.pub/enderal-se/38-enderal-se",
|
||||
|
@ -86,7 +86,7 @@ _00E_Theriantrophist_Chymikum[] RegisteredChymikums
|
||||
bool Sneaking = false
|
||||
|
||||
int function _GetScriptVersion() Global
|
||||
return 1
|
||||
return 2
|
||||
endFunction
|
||||
|
||||
Function Transform(_00E_Theriantrophist_TransformSC aTransformEffect = None, int duration = 0)
|
||||
|
Loading…
Reference in New Issue
Block a user