Gatherer.lua

  •  
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
moved trunk to branches/2.x
moved trunk to branches/2.x
  1. … 173 more files in changeset.
rolled back changes from revision 280 because of the nightmare of merge conflicts the changes were causing when merging changes into the dbclean branch
rolled back changes from revision 280 because of the nightmare of merge conflicts the changes were causing when merging changes into the dbclean branch
  1. … 11 more files in changeset.
-moved the code for handling SV into a Gatherer_Config.lua file and setup SV to make use of PerCharacter SavedVariables files…
-moved the code for handling SV into a Gatherer_Config.lua file and setup SV to make use of PerCharacter SavedVariables files

-which variables are saved PerCharacter are configurable via the Gatherer_Configuration,PerCharacter table that is defined in Gatherer_Config.lua

-one result of these changes is wiping all settings a resetting the back to defaults the first time this code is run on a user's client

-added Gatherer_Debug which is a debugging print function that only outputs if Gatherer_DebugFrame is defined and is a pointer to a ScrollingMessage frame, at which point it outputs to the frame defined by Gatherer_DebugFrame

  1. … 5 more files in changeset.
Ran all the Gatherer files through Notepad++'s "Trim Trailing and Save" macro.
Ran all the Gatherer files through Notepad++'s "Trim Trailing and Save" macro.
  1. … 12 more files in changeset.
removed leftover debug chat print.
removed leftover debug chat print.
Tooltip record method for 1.12
Tooltip record method for 1.12
-improved some event handling code to take advantage of changes in the event system…
-improved some event handling code to take advantage of changes in the event system

-various code improvements

-changed Minimap note anchoring to anchor directly to the Minimap

- moved the Gatherer_AddGatherToBase function as a local function inside the Gather_AddGatherHere function.…
- moved the Gatherer_AddGatherToBase function as a local function inside the Gather_AddGatherHere function.

- removed world map buttons, these are now generated dynamically.

- forced overlay frame identifier to integer values when computing these dynamically for world map buttons

Changed Minimap note anchoring to anchor directly to the Minimap.
Changed Minimap note anchoring to anchor directly to the Minimap.
-updated some event handling code to account for changes in the event system…
-updated some event handling code to account for changes in the event system

-various code improvements

fixed zone order change for german version appearing on english version
fixed zone order change for german version appearing on english version
Added login warning for German users not running a DB matched to the 1.11 zone order.
Added login warning for German users not running a DB matched to the 1.11 zone order.
Fixed fishing recording not to occur if an unit is under the cursor.…
Fixed fishing recording not to occur if an unit is under the cursor.

Removed forced delay processing world map overlays.

Fixed Map Minder setting initialization.

Code reorganization and cleanup.…
Code reorganization and cleanup.

Support for new tooltip scheme.

Made addon recognition while processing ADDON_LOADED case insensitive.…
Made addon recognition while processing ADDON_LOADED case insensitive.

Unregister relevant events when zoning.

Added code to handle fishing nodes.…
Added code to handle fishing nodes.

Added check for GetEffectiveScale method on minimap before calling it.

added missing check for non-existant data in zone for minimap update
added missing check for non-existant data in zone for minimap update

added iconshade theme;…
added iconshade theme;

max distance set to 20 by default;

hiding under min distance fixed for scaling;

displayable items set at 600;

workaround for huge database, minimap display restricted to current zone.

call to force herb gather name format for german version called, fade under min icon distance scaling added
call to force herb gather name format for german version called, fade under min icon distance scaling added

update for scale functions
update for scale functions

  1. … 3 more files in changeset.
multiple items tooltips support, init fixed, world map behaviour changed, old trade workaround re-added, MetaMap support, scaling for min icon distance, recording in pre-instance fixed (not to occur)…
multiple items tooltips support, init fixed, world map behaviour changed, old trade workaround re-added, MetaMap support, scaling for min icon distance, recording in pre-instance fixed (not to occur)

brought back number of items to display on World Map to 600
brought back number of items to display on World Map to 600

Fixed small error handling parameters for gather loginfo command,…
Fixed small error handling parameters for gather loginfo command,

Added extra check for changing map,

Changed Init to rely on ADDON_LOADED, coupled UNIT_NAME_UPDATE with VARIABLES_LOADED for character init,

Changed recording so that only real gathering will increase the count.

updated version string
updated version string

Modified for new World Map filter menu
Modified for new World Map filter menu

Added type dropdown function for Node Editor and included type in Node editor modification function
Added type dropdown function for Node Editor and included type in Node editor modification function

modified Gatherer_GetSkills to fix skills not updating at startup (process SKILL_LINES_CHANGED event and unregister it after initial call to function).
modified Gatherer_GetSkills to fix skills not updating at startup (process SKILL_LINES_CHANGED event and unregister it after initial call to function).

small fix to new Gatherer_GetSkills to get the info line before checking it's content.
small fix to new Gatherer_GetSkills to get the info line before checking it's content.

handling Transparency/Fade For Shaded Icons (RFE #1253159)
handling Transparency/Fade For Shaded Icons (RFE #1253159)

Added SPELL_LEARNED_IN_TAB event handling to make the tampering with the skill tree happens only when needed,…
Added SPELL_LEARNED_IN_TAB event handling to make the tampering with the skill tree happens only when needed,

rework skill tree lookup to restore previous expanded/collapsed state after looking through it.