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:
parent
21ce30fc68
commit
c82d032a23
5 changed files with 865 additions and 817 deletions
47
.gitignore
vendored
47
.gitignore
vendored
|
|
@ -1,41 +1,70 @@
|
||||||
# Prerequisites
|
# Prerequisites
|
||||||
*.d
|
*.d
|
||||||
|
|
||||||
# Compiled Object files
|
# Compiled Object files
|
||||||
*.slo
|
*.slo
|
||||||
*.lo
|
*.lo
|
||||||
*.o
|
*.o
|
||||||
*.obj
|
*.obj
|
||||||
|
|
||||||
# Precompiled Headers
|
# Precompiled Headers
|
||||||
*.gch
|
*.gch
|
||||||
*.pch
|
*.pch
|
||||||
|
|
||||||
# Linker files
|
# Linker files
|
||||||
*.ilk
|
*.ilk
|
||||||
|
|
||||||
# Debugger Files
|
# Debugger Files
|
||||||
*.pdb
|
*.pdb
|
||||||
|
|
||||||
# Compiled Dynamic libraries
|
# Compiled Dynamic libraries
|
||||||
*.so
|
*.so
|
||||||
*.dylib
|
*.dylib
|
||||||
*.dll
|
*.dll
|
||||||
|
|
||||||
# Fortran module files
|
# Fortran module files
|
||||||
*.mod
|
*.mod
|
||||||
*.smod
|
*.smod
|
||||||
|
|
||||||
# Compiled Static libraries
|
# Compiled Static libraries
|
||||||
*.lai
|
*.lai
|
||||||
*.la
|
*.la
|
||||||
*.a
|
*.a
|
||||||
*.lib
|
*.lib
|
||||||
|
|
||||||
# Executables
|
# Executables
|
||||||
*.exe
|
*.exe
|
||||||
*.out
|
*.out
|
||||||
*.app
|
*.app
|
||||||
|
|
||||||
# debug information files
|
# debug information files
|
||||||
*.dwo
|
*.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-*
|
||||||
File diff suppressed because it is too large
Load diff
|
|
@ -141,7 +141,6 @@
|
||||||
</Link>
|
</Link>
|
||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ClInclude Include="Definitions\Nexus.h" />
|
|
||||||
<ClInclude Include="Dependencies\imgui\imconfig.h" />
|
<ClInclude Include="Dependencies\imgui\imconfig.h" />
|
||||||
<ClInclude Include="Dependencies\imgui\imgui.h" />
|
<ClInclude Include="Dependencies\imgui\imgui.h" />
|
||||||
<ClInclude Include="Dependencies\imgui\imgui_internal.h" />
|
<ClInclude Include="Dependencies\imgui\imgui_internal.h" />
|
||||||
|
|
@ -149,6 +148,7 @@
|
||||||
<ClInclude Include="Dependencies\imgui\imstb_textedit.h" />
|
<ClInclude Include="Dependencies\imgui\imstb_textedit.h" />
|
||||||
<ClInclude Include="Dependencies\imgui\imstb_truetype.h" />
|
<ClInclude Include="Dependencies\imgui\imstb_truetype.h" />
|
||||||
<ClInclude Include="Dependencies\mumble\Mumble.h" />
|
<ClInclude Include="Dependencies\mumble\Mumble.h" />
|
||||||
|
<ClInclude Include="Dependencies\nexus\Nexus.h" />
|
||||||
<ClInclude Include="framework.h" />
|
<ClInclude Include="framework.h" />
|
||||||
<ClInclude Include="pch.h" />
|
<ClInclude Include="pch.h" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
@ -183,7 +183,12 @@
|
||||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">NotUsing</PrecompiledHeader>
|
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">NotUsing</PrecompiledHeader>
|
||||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">NotUsing</PrecompiledHeader>
|
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">NotUsing</PrecompiledHeader>
|
||||||
</ClCompile>
|
</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">
|
<ClCompile Include="pch.cpp">
|
||||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Create</PrecompiledHeader>
|
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Create</PrecompiledHeader>
|
||||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>
|
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>
|
||||||
|
|
|
||||||
|
|
@ -13,9 +13,6 @@
|
||||||
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
|
<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>
|
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
|
||||||
</Filter>
|
</Filter>
|
||||||
<Filter Include="Definitions">
|
|
||||||
<UniqueIdentifier>{076f83a5-9043-4392-bb42-102eb54d65fb}</UniqueIdentifier>
|
|
||||||
</Filter>
|
|
||||||
<Filter Include="Dependencies">
|
<Filter Include="Dependencies">
|
||||||
<UniqueIdentifier>{27275069-8d0e-4c32-a745-abf5ae2384a5}</UniqueIdentifier>
|
<UniqueIdentifier>{27275069-8d0e-4c32-a745-abf5ae2384a5}</UniqueIdentifier>
|
||||||
</Filter>
|
</Filter>
|
||||||
|
|
@ -25,6 +22,9 @@
|
||||||
<Filter Include="Dependencies\mumble">
|
<Filter Include="Dependencies\mumble">
|
||||||
<UniqueIdentifier>{f98a3cf3-1848-4f30-ae62-50d10c81cf6f}</UniqueIdentifier>
|
<UniqueIdentifier>{f98a3cf3-1848-4f30-ae62-50d10c81cf6f}</UniqueIdentifier>
|
||||||
</Filter>
|
</Filter>
|
||||||
|
<Filter Include="Dependencies\nexus">
|
||||||
|
<UniqueIdentifier>{9474c716-f028-4778-8cd0-b5d8292d1586}</UniqueIdentifier>
|
||||||
|
</Filter>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ClInclude Include="framework.h">
|
<ClInclude Include="framework.h">
|
||||||
|
|
@ -33,9 +33,6 @@
|
||||||
<ClInclude Include="pch.h">
|
<ClInclude Include="pch.h">
|
||||||
<Filter>File di intestazione</Filter>
|
<Filter>File di intestazione</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
<ClInclude Include="Definitions\Nexus.h">
|
|
||||||
<Filter>Definitions</Filter>
|
|
||||||
</ClInclude>
|
|
||||||
<ClInclude Include="Dependencies\imgui\imconfig.h">
|
<ClInclude Include="Dependencies\imgui\imconfig.h">
|
||||||
<Filter>Dependencies\imgui</Filter>
|
<Filter>Dependencies\imgui</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
|
|
@ -57,6 +54,9 @@
|
||||||
<ClInclude Include="Dependencies\mumble\Mumble.h">
|
<ClInclude Include="Dependencies\mumble\Mumble.h">
|
||||||
<Filter>Dependencies\mumble</Filter>
|
<Filter>Dependencies\mumble</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
|
<ClInclude Include="Dependencies\nexus\Nexus.h">
|
||||||
|
<Filter>Dependencies\nexus</Filter>
|
||||||
|
</ClInclude>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ClCompile Include="dllmain.cpp">
|
<ClCompile Include="dllmain.cpp">
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
|
|
||||||
#include "Dependencies/imgui/imgui.h"
|
#include "Dependencies/imgui/imgui.h"
|
||||||
#include "Definitions/Nexus.h"
|
#include "Dependencies/nexus/Nexus.h"
|
||||||
#include "Dependencies/mumble/Mumble.h"
|
#include "Dependencies/mumble/Mumble.h"
|
||||||
|
|
||||||
AddonAPI* g_api = nullptr;
|
AddonAPI* g_api = nullptr;
|
||||||
|
|
@ -201,7 +201,7 @@ void RenderUI() {
|
||||||
|
|
||||||
if (ImGui::Begin("GolemHelper", &g_state.showUI, ImGuiWindowFlags_AlwaysAutoResize)) {
|
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::Separator();
|
||||||
|
|
||||||
ImGui::Text("Status:");
|
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.ToggleUI", HandleUIToggleKeybind, kb_empty);
|
||||||
g_api->InputBinds.RegisterWithStruct("GolemHelper.DebugMouse", HandleDebugKeybind, 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!");
|
g_api->Log(ELogLevel_INFO, "GolemHelper", "<c=#00ff00>GolemHelper addon</c> loaded successfully!");
|
||||||
}
|
}
|
||||||
|
|
||||||
void Unload() {
|
void Unload() {
|
||||||
if (g_api) {
|
if (g_api) {
|
||||||
|
g_api->QuickAccess.Remove("GolemHelper.ToggleUI");
|
||||||
g_api->Renderer.Deregister(RenderUI);
|
g_api->Renderer.Deregister(RenderUI);
|
||||||
g_api->Renderer.Deregister(RenderOptions);
|
g_api->Renderer.Deregister(RenderOptions);
|
||||||
g_api->InputBinds.Deregister("GolemHelper.ApplyBoons");
|
g_api->InputBinds.Deregister("GolemHelper.ApplyBoons");
|
||||||
|
|
@ -865,9 +879,9 @@ extern "C" __declspec(dllexport) AddonDefinition* GetAddonDef() {
|
||||||
def.Signature = -424248;
|
def.Signature = -424248;
|
||||||
def.APIVersion = NEXUS_API_VERSION;
|
def.APIVersion = NEXUS_API_VERSION;
|
||||||
def.Name = "GolemHelper";
|
def.Name = "GolemHelper";
|
||||||
def.Version = { 1, 1, 0, 0 };
|
def.Version = { 1, 2, 0, 0 };
|
||||||
def.Author = "Azrub";
|
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.Load = Load;
|
||||||
def.Unload = Unload;
|
def.Unload = Unload;
|
||||||
def.Flags = EAddonFlags_None;
|
def.Flags = EAddonFlags_None;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue