diff --git a/DLL_README.md b/DLL_README.md index 0cf702e..eeabd8a 100644 --- a/DLL_README.md +++ b/DLL_README.md @@ -11,7 +11,7 @@ On Turtle WoW, place your chosen DLLs next to your `WoW.exe` and add them to you ### World Markers -Place up to 5 animated colored markers at any position in the world, useful for raid positioning, pull planning, or route marking. Requires party/raid leader or raid assist. +Place up to 5 animated colored markers (Cataclysm style) at any position in the world, useful for raid positioning, pull planning, or route marking. Requires party/raid leader or raid assist. - `/worldmarker 1` through `/worldmarker 5` (or `/wm 1`) -- place a marker where your cursor is pointing - `/worldmarker 1 target` -- place a marker on a unit (player, target, mouseover, etc.) @@ -73,7 +73,7 @@ Controlled via the `screenshotQuality` CVar (saved to config.wtf): - `/script SetCVar("screenshotQuality", "6")` -- set compression level (1 = fast, 9 = smallest, default 6) - `/script SetCVar("screenshotQuality", "0")` -- disable PNG, use original TGA format -**DLL:** `pngscreenshot.dll` +**DLL:** `pngscreenshots.dll` --- @@ -109,7 +109,7 @@ No configuration needed, install and forget. ### Utility Minimap Trackings -Adds custom minimap icons for NPC types (vendors, trainers, innkeepers, etc.) and game objects (mailboxes). +Adds TBC-style minimap tracking icons for NPC types (vendors, trainers, innkeepers, etc.) and game objects (mailboxes). Replaces the native tracking dropdown with a combined menu showing both spell tracking and NPC category tracking. Can be disabled easily from normal AddOn menu. @@ -197,11 +197,11 @@ WeirdUtils exports three functions for querying and disabling modules at runtime | `WeirdUtils_DisableModule` | `int __cdecl (const char *name)` | Unhooks the named module. Returns 1 if found, 0 otherwise | | `WeirdUtils_DisableAll` | `int __cdecl (void)` | Unhooks all modules and core hooks. Returns count of modules disabled | -Module names are case-insensitive and match the build option names: +Module names are case-insensitive and match the released dll names: -`customassets`, `framecrash`, `logsessions`, `transmogfix`, `minimapicons`, `healtextfix`, `bigcursor`, `worldmarkers`, `interact`, `outline`, `pngscreenshot` +`customassets`, `framecrash`, `logsessions`, `transmogfix`, `minimapicons`, `healtextfix`, `bigcursor`, `worldmarkers`, `interact`, `outline`, `pngscreenshots` -There is no re-enable API - re-hooking after unhook is unsafe. +There is no re-enable API. #### C/C++ Header diff --git a/build.zig b/build.zig index 061befa..13520c4 100644 --- a/build.zig +++ b/build.zig @@ -13,7 +13,7 @@ const ModuleDesc = struct { /// Single source of truth for all modules. Adding a module here is enough /// to wire up the build option, build_options passthrough, and DLL variant. const module_list = [_]ModuleDesc{ - .{ .name = "pngscreenshot", .desc = "Enable screenshot module", .src_dir = "screenshot" }, + .{ .name = "pngscreenshots", .desc = "Enable screenshot module", .src_dir = "screenshot" }, .{ .name = "interact", .desc = "Enable interact module", .addon_name = "Interact" }, .{ .name = "outline", .desc = "Enable outline module", .default = false, .addon_name = "Outline" }, .{ .name = "worldmarkers", .desc = "Enable world markers module", .src_dir = "markers", .addon_name = "WorldMarkers" }, diff --git a/include/weirdutils_api.h b/include/weirdutils_api.h index 4c6a074..ae2aa1c 100644 --- a/include/weirdutils_api.h +++ b/include/weirdutils_api.h @@ -34,7 +34,7 @@ static const char *const WeirdUtils__DllNames[] = { "worldmarkers.dll", "outline.dll", "interact.dll", - "pngscreenshot.dll", + "pngscreenshots.dll", "framecrash.dll", "transmogfix.dll", "customassets.dll", diff --git a/src/main.zig b/src/main.zig index c2b4e52..ac43fe7 100644 --- a/src/main.zig +++ b/src/main.zig @@ -4,7 +4,7 @@ pub const con = @import("console.zig"); // Build options for conditional module compilation const build_opts = struct { - const screenshot = @import("build_options").enable_pngscreenshot; + const screenshot = @import("build_options").enable_pngscreenshots; const interact = @import("build_options").enable_interact; const outline = @import("build_options").enable_outline; const worldmarkers = @import("build_options").enable_worldmarkers; diff --git a/src/screenshot/screenshot.zig b/src/screenshot/screenshot.zig index 469bbb7..c043b05 100644 --- a/src/screenshot/screenshot.zig +++ b/src/screenshot/screenshot.zig @@ -98,7 +98,7 @@ var mutex: std.atomic.Mutex = .unlocked; var worker_running: bool = false; const mod_mutex = @import("../mutex.zig"); -pub const module_name: [*:0]const u8 = "pngscreenshot"; +pub const module_name: [*:0]const u8 = "pngscreenshots"; var g_mutex: ?HANDLE = null; var g_is_hook_owner: bool = false;