--=============================================
---
--- GoldCounter (Races.lua) by Hexiatröhm
--- Links to races and factions files
---
--=============================================


--==========================================================================
--- Custom Factions Icons
--==========================================================================
GC_FactionIconAlliance 	= "Interface\\FriendsFrame\\PlusManz-Alliance"
GC_FactionIconHorde 	= "Interface\\FriendsFrame\\PlusManz-Horde"
GC_FactionIconNeutral 	= "Interface\\AddOns\\GoldCounter\\Icons\\Icon_Neutral_Big.tga"
--==========================================================================

--==========================================================================
--- Races and Gender textures
--==========================================================================
local GC_RACE_ICON_TEXTURES = {
	HUMAN_MALE     	= "Interface\\AddOns\\GoldCounter\\Icons\\Races\\Human-male.png",
	HUMAN_FEMALE   	= "Interface\\AddOns\\GoldCounter\\Icons\\Races\\Human-female.png",
	DWARF_MALE     	= "Interface\\AddOns\\GoldCounter\\Icons\\Races\\Dwarf-male.png",
	DWARF_FEMALE   	= "Interface\\AddOns\\GoldCounter\\Icons\\Races\\Dwarf-female.png",
	NIGHTELF_MALE	= "Interface\\AddOns\\GoldCounter\\Icons\\Races\\Nightelf-male.png",
	NIGHTELF_FEMALE	= "Interface\\AddOns\\GoldCounter\\Icons\\Races\\Nightelf-female.png",
	GNOME_MALE   	= "Interface\\AddOns\\GoldCounter\\Icons\\Races\\Gnome-male.png",
	GNOME_FEMALE   	= "Interface\\AddOns\\GoldCounter\\Icons\\Races\\Gnome-female.png",
	TAUREN_MALE  	= "Interface\\AddOns\\GoldCounter\\Icons\\Races\\Tauren-male.png",
	TAUREN_FEMALE  	= "Interface\\AddOns\\GoldCounter\\Icons\\Races\\Tauren-female.png",
	UNDEAD_MALE  	= "Interface\\AddOns\\GoldCounter\\Icons\\Races\\Undead-male.png",
	UNDEAD_FEMALE  	= "Interface\\AddOns\\GoldCounter\\Icons\\Races\\Undead-female.png",
	SCOURGE_MALE  	= "Interface\\AddOns\\GoldCounter\\Icons\\Races\\Undead-male.png",
	SCOURGE_FEMALE  = "Interface\\AddOns\\GoldCounter\\Icons\\Races\\Undead-female.png",
	ORC_MALE		= "Interface\\AddOns\\GoldCounter\\Icons\\Races\\Orc-male.png",
	ORC_FEMALE		= "Interface\\AddOns\\GoldCounter\\Icons\\Races\\Orc-female.png",
	TROLL_MALE     	= "Interface\\AddOns\\GoldCounter\\Icons\\Races\\Troll-male.png",
	TROLL_FEMALE   	= "Interface\\AddOns\\GoldCounter\\Icons\\Races\\Troll-female.png",

	BLOODELF_MALE	= "Interface\\AddOns\\GoldCounter\\Icons\\Races\\Bloodelf-male.png",
	BLOODELF_FEMALE	= "Interface\\AddOns\\GoldCounter\\Icons\\Races\\Bloodelf-female.png",
	DRAENEI_MALE	= "Interface\\AddOns\\GoldCounter\\Icons\\Races\\Draenei-male.png",
	DRAENEI_FEMALE	= "Interface\\AddOns\\GoldCounter\\Icons\\Races\\Draenei-female.png",

	GOBLIN_MALE		= "Interface\\AddOns\\GoldCounter\\Icons\\Races\\Goblin-male.png",
	GOBLIN_FEMALE	= "Interface\\AddOns\\GoldCounter\\Icons\\Races\\Goblin-female.png",
	WORGEN_MALE		= "Interface\\AddOns\\GoldCounter\\Icons\\Races\\Worgen-male.png",
	WORGEN_FEMALE	= "Interface\\AddOns\\GoldCounter\\Icons\\Races\\Worgen-female.png",

	PANDAREN_MALE	= "Interface\\AddOns\\GoldCounter\\Icons\\Races\\Pandaren-male.png",
	PANDAREN_FEMALE	= "Interface\\AddOns\\GoldCounter\\Icons\\Races\\Pandaren-female.png",

	NIGHTBORNE_MALE				= "Interface\\AddOns\\GoldCounter\\Icons\\Races\\Nightborne-male.png",
	NIGHTBORNE_FEMALE			= "Interface\\AddOns\\GoldCounter\\Icons\\Races\\Nightborne-female.png",
	HIGHMOUNTAINTAUREN_MALE		= "Interface\\AddOns\\GoldCounter\\Icons\\Races\\Highmountain-male.png",
	HIGHMOUNTAINTAUREN_FEMALE	= "Interface\\AddOns\\GoldCounter\\Icons\\Races\\Highmountain-female.png",
	VOIDELF_MALE				= "Interface\\AddOns\\GoldCounter\\Icons\\Races\\Voidelf-male.png",
	VOIDELF_FEMALE				= "Interface\\AddOns\\GoldCounter\\Icons\\Races\\Voidelf-female.png",
	LIGHTFORGEDDRAENEI_MALE		= "Interface\\AddOns\\GoldCounter\\Icons\\Races\\Lightforged-male.png",
	LIGHTFORGEDDRAENEI_FEMALE	= "Interface\\AddOns\\GoldCounter\\Icons\\Races\\Lightforged-female.png",
	ZANDALARITROLL_MALE			= "Interface\\AddOns\\GoldCounter\\Icons\\Races\\ZandalariTroll-male.png",
	ZANDALARITROLL_FEMALE		= "Interface\\AddOns\\GoldCounter\\Icons\\Races\\ZandalariTroll-female.png",
	KULTIRAN_MALE				= "Interface\\AddOns\\GoldCounter\\Icons\\Races\\Kultiranhuman-male.png",
	KULTIRAN_FEMALE				= "Interface\\AddOns\\GoldCounter\\Icons\\Races\\Kultiranhuman-female.png",
	DARKIRONDWARF_MALE			= "Interface\\AddOns\\GoldCounter\\Icons\\Races\\Darkirondwarf-male.png",
	DARKIRONDWARF_FEMALE		= "Interface\\AddOns\\GoldCounter\\Icons\\Races\\Darkirondwarf-female.png",
	VULPERA_MALE				= "Interface\\AddOns\\GoldCounter\\Icons\\Races\\Vulpera-male.png",
	VULPERA_FEMALE				= "Interface\\AddOns\\GoldCounter\\Icons\\Races\\Vulpera-female.png",
	MAGHARORC_MALE				= "Interface\\AddOns\\GoldCounter\\Icons\\Races\\Maghar-male.png",
	MAGHARORC_FEMALE			= "Interface\\AddOns\\GoldCounter\\Icons\\Races\\Maghar-female.png",
	MECHAGNOME_MALE				= "Interface\\AddOns\\GoldCounter\\Icons\\Races\\Mechagnome-male.png",
	MECHAGNOME_FEMALE			= "Interface\\AddOns\\GoldCounter\\Icons\\Races\\Mechagnome-female.png",
	DRACTHYR_MALE				= "Interface\\AddOns\\GoldCounter\\Icons\\Races\\Dracthyr-male.png",
	DRACTHYR_FEMALE				= "Interface\\AddOns\\GoldCounter\\Icons\\Races\\Dracthyr-female.png",
	EARTHENDWARF_MALE			= "Interface\\AddOns\\GoldCounter\\Icons\\Races\\Earthen-male.png",
	EARTHENDWARF_FEMALE			= "Interface\\AddOns\\GoldCounter\\Icons\\Races\\Earthen-female.png",

	HARRONIR_MALE				= "Interface\\AddOns\\GoldCounter\\Icons\\Races\\Harronir_male.png",
	HARRONIR_FEMALE				= "Interface\\AddOns\\GoldCounter\\Icons\\Races\\Harronir_female.png",
}
--==========================================================================

function GC_CharRaceGender( RACE, GenderNum )

	local GENDER = ""

	if GenderNum == 3 then GENDER = "FEMALE" else GENDER = "MALE" end

	local Key = RACE .. "_" .. GENDER
	
	return GC_RACE_ICON_TEXTURES[Key]

end
