Release v1.2.0.0

- QuickAccess Integration: Added clickable icon in Nexus toolbar for easy UI access
- Updated project settings: Disabled precompiled headers for ImGui source files
This commit is contained in:
Azrub 2025-07-16 10:16:24 +02:00
parent 21ce30fc68
commit c82d032a23
5 changed files with 865 additions and 817 deletions

47
.gitignore vendored
View file

@ -1,41 +1,70 @@
# Prerequisites
*.d
# Compiled Object files
*.slo
*.lo
*.o
*.obj
# Precompiled Headers
*.gch
*.pch
# Linker files
*.ilk
# Debugger Files
*.pdb
# Compiled Dynamic libraries
*.so
*.dylib
*.dll
# Fortran module files
*.mod
*.smod
# Compiled Static libraries
*.lai
*.la
*.a
*.lib
# Executables
*.exe
*.out
*.app
# debug information files
*.dwo
# Visual Studio specific files
.vs/
*.suo
*.user
*.userosscache
*.sln.docstates
*.vsidx
*.vspscc
*.vssscc
.builds/
*.pidb
*.svclog
*.scc
# Build folders
[Dd]ebug/
[Dd]ebugPublic/
[Rr]elease/
[Rr]eleases/
x64/
x86/
build/
bld/
[Bb]in/
[Oo]bj/
[Ll]og/
# MSBuild
*.log
*.wrn
*.err
*.unsuccessfulbuild
*.lastbuildstate
*.command.*
*.read.*
*.write.*
link-*

View file

@ -141,7 +141,6 @@
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClInclude Include="Definitions\Nexus.h" />
<ClInclude Include="Dependencies\imgui\imconfig.h" />
<ClInclude Include="Dependencies\imgui\imgui.h" />
<ClInclude Include="Dependencies\imgui\imgui_internal.h" />
@ -149,6 +148,7 @@
<ClInclude Include="Dependencies\imgui\imstb_textedit.h" />
<ClInclude Include="Dependencies\imgui\imstb_truetype.h" />
<ClInclude Include="Dependencies\mumble\Mumble.h" />
<ClInclude Include="Dependencies\nexus\Nexus.h" />
<ClInclude Include="framework.h" />
<ClInclude Include="pch.h" />
</ItemGroup>
@ -183,7 +183,12 @@
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">NotUsing</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">NotUsing</PrecompiledHeader>
</ClCompile>
<ClCompile Include="dllmain.cpp" />
<ClCompile Include="dllmain.cpp">
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">NotUsing</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">NotUsing</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">NotUsing</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">NotUsing</PrecompiledHeader>
</ClCompile>
<ClCompile Include="pch.cpp">
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Create</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>

View file

@ -13,9 +13,6 @@
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
</Filter>
<Filter Include="Definitions">
<UniqueIdentifier>{076f83a5-9043-4392-bb42-102eb54d65fb}</UniqueIdentifier>
</Filter>
<Filter Include="Dependencies">
<UniqueIdentifier>{27275069-8d0e-4c32-a745-abf5ae2384a5}</UniqueIdentifier>
</Filter>
@ -25,6 +22,9 @@
<Filter Include="Dependencies\mumble">
<UniqueIdentifier>{f98a3cf3-1848-4f30-ae62-50d10c81cf6f}</UniqueIdentifier>
</Filter>
<Filter Include="Dependencies\nexus">
<UniqueIdentifier>{9474c716-f028-4778-8cd0-b5d8292d1586}</UniqueIdentifier>
</Filter>
</ItemGroup>
<ItemGroup>
<ClInclude Include="framework.h">
@ -33,9 +33,6 @@
<ClInclude Include="pch.h">
<Filter>File di intestazione</Filter>
</ClInclude>
<ClInclude Include="Definitions\Nexus.h">
<Filter>Definitions</Filter>
</ClInclude>
<ClInclude Include="Dependencies\imgui\imconfig.h">
<Filter>Dependencies\imgui</Filter>
</ClInclude>
@ -57,6 +54,9 @@
<ClInclude Include="Dependencies\mumble\Mumble.h">
<Filter>Dependencies\mumble</Filter>
</ClInclude>
<ClInclude Include="Dependencies\nexus\Nexus.h">
<Filter>Dependencies\nexus</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<ClCompile Include="dllmain.cpp">

View file

@ -6,7 +6,7 @@
#include <sstream>
#include "Dependencies/imgui/imgui.h"
#include "Definitions/Nexus.h"
#include "Dependencies/nexus/Nexus.h"
#include "Dependencies/mumble/Mumble.h"
AddonAPI* g_api = nullptr;
@ -201,7 +201,7 @@ void RenderUI() {
if (ImGui::Begin("GolemHelper", &g_state.showUI, ImGuiWindowFlags_AlwaysAutoResize)) {
ImGui::TextColored(ImVec4(0.2f, 0.8f, 1.0f, 1.0f), "GolemHelper v1.1.0.0");
ImGui::TextColored(ImVec4(0.2f, 0.8f, 1.0f, 1.0f), "GolemHelper v1.2.0.0");
ImGui::Separator();
ImGui::Text("Status:");
@ -837,12 +837,26 @@ void Load(AddonAPI* aApi) {
g_api->InputBinds.RegisterWithStruct("GolemHelper.ToggleUI", HandleUIToggleKeybind, kb_empty);
g_api->InputBinds.RegisterWithStruct("GolemHelper.DebugMouse", HandleDebugKeybind, kb_empty);
g_api->Log(ELogLevel_INFO, "GolemHelper", "=== GolemHelper v1.1.0.0 Loaded ===");
/* COMMENTO IN ATTESA DI CUSTOM ICON
g_api->Textures.GetOrCreateFromFile("GOLEM_HELPER_ICON", "addons/GolemHelper/GOLEM_HELPER_ICON.png");
g_api->Textures.GetOrCreateFromFile("GOLEM_HELPER_ICON_HOVER", "addons/GolemHelper/GOLEM_HELPER_ICON_HOVER.png");
*/
g_api->QuickAccess.Add(
"GolemHelper.ToggleUI",
"GOLEM_HELPER_ICON",
"GOLEM_HELPER_ICON_HOVER",
"GolemHelper.ToggleUI",
"Toggle GolemHelper UI"
);
g_api->Log(ELogLevel_INFO, "GolemHelper", "=== GolemHelper v1.2.0.0 Loaded ===");
g_api->Log(ELogLevel_INFO, "GolemHelper", "<c=#00ff00>GolemHelper addon</c> loaded successfully!");
}
void Unload() {
if (g_api) {
g_api->QuickAccess.Remove("GolemHelper.ToggleUI");
g_api->Renderer.Deregister(RenderUI);
g_api->Renderer.Deregister(RenderOptions);
g_api->InputBinds.Deregister("GolemHelper.ApplyBoons");
@ -865,9 +879,9 @@ extern "C" __declspec(dllexport) AddonDefinition* GetAddonDef() {
def.Signature = -424248;
def.APIVersion = NEXUS_API_VERSION;
def.Name = "GolemHelper";
def.Version = { 1, 1, 0, 0 };
def.Version = { 1, 2, 0, 0 };
def.Author = "Azrub";
def.Description = "Automatically applies boons and golem settings in the training area";
def.Description = "Automates the process of setting optimal boon and golem configurations in the training area";
def.Load = Load;
def.Unload = Unload;
def.Flags = EAddonFlags_None;