Rename screenshot module to pngscreenshot
Less generic DLL name for distribution.
This commit is contained in:
+5
-4
@@ -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:** `screenshot.dll`
|
||||
**DLL:** `pngscreenshot.dll`
|
||||
|
||||
---
|
||||
|
||||
@@ -111,13 +111,14 @@ No configuration needed, install and forget.
|
||||
|
||||
Adds custom minimap 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.
|
||||
|
||||
- Click the minimap tracking icon to open the dropdown
|
||||
- Check/uncheck NPC categories to toggle their minimap icons
|
||||
- Spell tracking (Hunter tracking, Find Herbs, etc.) remains available alongside NPC tracking
|
||||
|
||||
Supports many NPC types such as Auctioneer, Banker, Flightmaster, Repair, Reagents, Poisons, and more
|
||||
Supported game objects: Mailbox, Brainwasher
|
||||
Supports many NPC types such as Auctioneer, Banker, Flightmaster, Repair, Reagents, Poisons, and more
|
||||
Supported game objects: Mailbox, Brainwasher
|
||||
|
||||
**DLL:** `minimapicons.dll`
|
||||
|
||||
@@ -198,7 +199,7 @@ WeirdUtils exports three functions for querying and disabling modules at runtime
|
||||
|
||||
Module names are case-insensitive and match the build option names:
|
||||
|
||||
`customassets`, `framecrash`, `logsessions`, `transmogfix`, `minimapicons`, `healtextfix`, `bigcursor`, `worldmarkers`, `interact`, `outline`, `screenshot`
|
||||
`customassets`, `framecrash`, `logsessions`, `transmogfix`, `minimapicons`, `healtextfix`, `bigcursor`, `worldmarkers`, `interact`, `outline`, `pngscreenshot`
|
||||
|
||||
There is no re-enable API - re-hooking after unhook is unsafe.
|
||||
|
||||
|
||||
@@ -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 = "screenshot", .desc = "Enable screenshot module" },
|
||||
.{ .name = "pngscreenshot", .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" },
|
||||
|
||||
@@ -34,7 +34,7 @@ static const char *const WeirdUtils__DllNames[] = {
|
||||
"worldmarkers.dll",
|
||||
"outline.dll",
|
||||
"interact.dll",
|
||||
"screenshot.dll",
|
||||
"pngscreenshot.dll",
|
||||
"framecrash.dll",
|
||||
"transmogfix.dll",
|
||||
"customassets.dll",
|
||||
|
||||
+1
-1
@@ -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_screenshot;
|
||||
const screenshot = @import("build_options").enable_pngscreenshot;
|
||||
const interact = @import("build_options").enable_interact;
|
||||
const outline = @import("build_options").enable_outline;
|
||||
const worldmarkers = @import("build_options").enable_worldmarkers;
|
||||
|
||||
@@ -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 = "screenshot";
|
||||
pub const module_name: [*:0]const u8 = "pngscreenshot";
|
||||
|
||||
var g_mutex: ?HANDLE = null;
|
||||
var g_is_hook_owner: bool = false;
|
||||
|
||||
Reference in New Issue
Block a user