UrbinRange - A range help addon
-------------------------------

History
-------
There used to be an addon called RangeHelp which showed the range
as a coloured frame in which it indicated, if the player was
out of range, in range for ranged attacks, in the dead zone (when it
still existed) or in range for melee attack.

It was very useful especially for hunters but really for any character
with a ranged attack.

It came with a graphical configuration frame and originally even
supported bar switching (though that had been broken in some patch).

With patch 2.4.0 RangeHelp broke the new Combat Log filtering
mechanism (at least it seemed to be the culprit as far as I could
tell). As it seems to no longer be maintained and as I could not
isolate which part of it broke the combat log, I decided to do a
semi-re-write of it.

I took its core code, threw out everything to do with the config UI
and bar switching to have a minimal code base that would work and
did not break the new combat log.

This was fairly easy and worked quickly. I then took it from there
to re-add some slash command config options etc.

All credit for the code core goes to <todo>

Urbin, Dun-Morogh (EU)


Features
--------
Pretty much as described above, this addon shows a coloured frame on
screen, indicating in what range to your target you are. It knows
the following four ranges:
  Out of range	You can't attack
  Ranged	You can attack with ranged spells/attacks
  Dead Zone	You can attack neither with ranged or melee attacks
		(only used to apply to hunters, now does not apply to
		any class)
  Melee		You can attack with melee spells/attacks


Thanks
------
To the members of <Hter des weien Feuers> and to Galadril of
EU-Dun Morogh for their help on localising the faction names.


Slash commands
--------------
/rh help			Show supported slash commands
/rh about			Show version info
/rh urbin			List all addons by Urbin
/rh status			Show configuration status
/rh enable | disable | toggle	Enable/Disable/Toggle showing range frame
/rh melee <spell>		Set (and check) melee spell to use for
				range checks
/rh range <spell>		Set (and check) ranged spell to use for
				range check
/rh resize | move | both | lock | reset
				Make frame movable/resizable, lock into
				position, restore default size
/rh colour		Show current colours
/rh colour [default]	Set default colour values
/rh colour { bg | border | font } { melee | ranged | dead | out } <colour>
				Set background/border/font colour of the
				range frame for each of the four supported
				ranges. <colour> is either of the format
				"xaarrggbb" where aa, rr, gg, bb are two
				digit hex values between 00 and ff defining
				the alpha, red, green and blue parts

				--[[ not yet implemented (see todo below)
				 or
				"r,g,b,a" where r, g, b, a are decimal
				values between 0 and 1 defining the red,
				green, blue and alpha value. The alpha
				value is ignored for the font colours
				]]--


Todo list
---------
- colour configuration using 4 values between 0 and 1 as alternative to
  xAARRGGBB string

Version history
---------------
20400.4
- added german localisation for default spells (thanks to Hter des
  Weissen Feuers and Galadril on Dun Morogh-EU)
- fixed alpha settings to work for background and border (reported by
  RHFan)

20400.3
- checking now uses linkable spell names

20400.2
- prepared code for localisation
- added german localisation of texts (spell names still missing)
- added slash commands to match other addons by Urbin
- added config options for spells and colours
- loading configuration of other characters

20400.1
- skipped because TOC for 20400.0_alpha already stated it was 20400.1

20400.0_alpha
- first version
- core functionality worked, but no config, lots of loose ends, no localisation
