Skip to content

Commit

Permalink
Update for AE 1.6.640, 1.6.659.
Browse files Browse the repository at this point in the history
  • Loading branch information
miere43 committed Oct 25, 2022
1 parent d6b1bbd commit d1403ce
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 8 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
vcpkg_installed/
out/
.vs/
src/Plugin.h
src/Plugin.h
test/test.zip
3 changes: 1 addition & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.22)

project(
NotificationFilter
VERSION 1.2.0
VERSION 1.2.1
LANGUAGES CXX
DESCRIPTION "SKSE plugin that allows hiding notifications based on customizable rules."
)
Expand Down Expand Up @@ -30,7 +30,6 @@ add_library(
${CMAKE_CURRENT_BINARY_DIR}/version.rc
)

find_package(binary_io CONFIG REQUIRED)
find_package(CommonLibSSE CONFIG REQUIRED)
find_package(xbyak CONFIG REQUIRED)
find_path(SIMPLEINI_INCLUDE_DIRS "ConvertUTF.c")
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ More information can be found at [Nexus Mods mod page](https://www.nexusmods.com
* [CMake](https://cmake.org/)
* Add this to your `PATH`
* [The Elder Scrolls V: Skyrim Special Edition](https://store.steampowered.com/app/489830)
* Supports game version 1.6.353 (Anniversary Edition) and 1.5.97 (Special Edition)
* Supports game version 1.6.640 (Anniversary Edition) and 1.5.97 (Special Edition)
* [Vcpkg](https://github.com/microsoft/vcpkg)
* Add the environment variable `VCPKG_ROOT` with the value as the path to the folder containing vcpkg
* [Visual Studio Community 2022](https://visualstudio.microsoft.com/)
Expand Down
14 changes: 12 additions & 2 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -357,14 +357,24 @@ namespace
}

extern "C" [[maybe_unused]] __declspec(dllexport) constinit auto SKSEPlugin_Version = []() noexcept {
// @TODO: update CommonLibSSE and use constant from there.
constexpr REL::Version RUNTIME_SSE_1_6_640(1, 6, 640, 0);
constexpr REL::Version RUNTIME_SSE_1_6_659(1, 6, 659, 0); // GOG version, not tested

SKSE::PluginVersionData v;

v.PluginVersion(Plugin::VERSION);
v.PluginName(Plugin::NAME);
v.AuthorName("miere"sv);
v.UsesAddressLibrary(true);
v.CompatibleVersions({ SKSE::RUNTIME_LATEST });

v.UsesStructsPost629(true);
v.HasNoStructUse(true);

v.CompatibleVersions({
SKSE::RUNTIME_SSE_1_6_629,
RUNTIME_SSE_1_6_640,
RUNTIME_SSE_1_6_659,
});
return v;
}();

Expand Down
2 changes: 1 addition & 1 deletion vcpkg-configuration.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{
"kind": "git",
"repository": "https://gitlab.com/colorglass/vcpkg-colorglass",
"baseline": "108a8b1a979f1fa4446cb5756af6b583d8491934",
"baseline": "1b279b20c7e0db1c9d549ff3b64e024c01317b55",
"packages": [
"commonlibsse-ng",
"commonlibsse-ng-prebuilt",
Expand Down
2 changes: 1 addition & 1 deletion vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://raw.githubusercontent.com/microsoft/vcpkg/master/scripts/vcpkg.schema.json",
"name": "notification-filter",
"version": "1.1.0",
"version": "1.2.1",
"dependencies": [
"commonlibsse-ng",
"simpleini",
Expand Down

0 comments on commit d1403ce

Please sign in to comment.