Added Starfield. Removed the need of ASI loader.

This commit is contained in:
2025-07-25 15:03:35 +02:00
parent c4e1f130d8
commit 731218faa7
15 changed files with 623 additions and 97 deletions

View File

@@ -45,7 +45,7 @@ const char* DONATION_URL = "https://www.paypal.com/donate/?business=W92C47N3WZZZ
static void LoadFixDLL()
{
if (fixLib) return;
fixLib = GetModuleHandleA("EmpireOfTheAntsCore.asi"); // ou EmpireOfTheAntsCore.dll si tu gardes le .dll
fixLib = LoadLibraryA("EmpireOfTheAntsCore.dll"); // ou EmpireOfTheAntsCore.dll si tu gardes le .dll
if (!fixLib) {
// Optionnel: message d'erreur ou fallback
@@ -205,8 +205,12 @@ static void on_overlay_draw(reshade::api::effect_runtime* runtime)
// Fix status
ImGui::SetCursorPos(ImVec2(10, 200));
ImGui::Text("=============== Fix informations ===============");
ImGui::Text("FOV In: %.2f, Compensated : %.2f, Out : %.2f", GetFOVIn(), GetCompensadedFOV(), GetFOVOut());
ImGui::BeginChild("INFOSHeader", ImVec2(480, 80), true); // true = border
if (ImGui::CollapsingHeader("Fix informations", ImGuiTreeNodeFlags_DefaultOpen)) {
ImGui::SetCursorPos(ImVec2(5, 30));
ImGui::Text("FOV In: %.2f, Compensated : %.2f, Out : %.2f", GetFOVIn(), GetCompensadedFOV(), GetFOVOut());
}
ImGui::EndChild();
}
// Main dll intrance