benilla-re systems structs docs

s_macroIconNames

global · ui

Address
0xbdcc20 · 4 bytes, up to 0xbdcc23
Type
char **
Meaning
Holds the macro icon basenames, sorted without case
Confidence
verified, proof one
Finding
ui/macros#macro-icons

Finding: Macro icons in ui: macros

GetNumMacroIcons builds the list on first use and returns its size. GetMacroIconInfo(index) returns the icon directory plus the stored basename for a 1-based index and the empty string, not nil, for an index outside the list; it never builds. The list is the sorted, deduplicated (without case) union of the extension-stripped names of: every (listfile) line of the patch archives and interface.MPQ that starts with Interface\Icons\ and whose name starts with Ability_ or Spell_ and ends .blp or .tga; the loose files of the base path's Interface\Icons\ with the same name rule (a .bz suffix removed first); and the loose .blp and .tga files of a working-directory Interface\Icons\, any name. The spell icon table is not a source.

The derivation is in the doc.