diff --git a/src/App/Application.cpp b/src/App/Application.cpp index c003b31..1829ec3 100644 --- a/src/App/Application.cpp +++ b/src/App/Application.cpp @@ -1,5 +1,6 @@ #include "Application.hpp" #include "App/Environment.hpp" +#include "App/Project.hpp" #include "App/Stats/StatService.hpp" #include "App/Tweaks/TweakService.hpp" #include "Core/Foundation/RuntimeProvider.hpp" @@ -18,3 +19,8 @@ App::Application::Application(HMODULE aHandle, const RED4ext::Sdk*) Register(Env::GameDir(), Env::TweaksDir()); Register(); } + +void App::Application::OnStarting() +{ + LogInfo("{} {} is starting...", Project::Name, Project::Version.to_string()); +} diff --git a/src/App/Application.hpp b/src/App/Application.hpp index 14b31e3..f07dfad 100644 --- a/src/App/Application.hpp +++ b/src/App/Application.hpp @@ -1,7 +1,6 @@ #pragma once #include "Core/Foundation/Application.hpp" -#include "Core/Hooking/HookingAgent.hpp" #include "Core/Logging/LoggingAgent.hpp" namespace App @@ -9,9 +8,11 @@ namespace App class Application : public Core::Application , public Core::LoggingAgent - , public Core::HookingAgent { public: explicit Application(HMODULE aHandle, const RED4ext::Sdk* aSdk = nullptr); + +protected: + void OnStarting() override; }; } diff --git a/vendor/RED4ext.SDK b/vendor/RED4ext.SDK index 046877f..2d5ba32 160000 --- a/vendor/RED4ext.SDK +++ b/vendor/RED4ext.SDK @@ -1 +1 @@ -Subproject commit 046877f9d9e31662033307dec9d6e5b9c055adb6 +Subproject commit 2d5ba320a7c7e83a88328fa6de32173ac1637739