Changeset 70

User picture

Author: Pilus

(2010/09/10 19:28) Over 1 year ago

Added GHP GHU project file for Ultra Edit

Affected files

Updated GHI/changelog.txt Download diff

6970
1
Changelog
1
Changelog
2
GHI - v.1.0
2
GHI - v.1.0
3
- Introducing a Equipment Display system. You can use this to describe what items your character wears.
3
- Introducing a Equipment Display system. You can use this to describe what items your character wears.
4
- It is not possible to play sounds within a given range, so nearby players will be able to hear it aswell.	
5
- The Buff system have been rewritten. It should remove a lot of problems with other addons. It currently does not display GHI buffs for most Unit Frame addons
4
- The Buff system have been rewritten. It should remove a lot of problems with other addons. It currently does not display GHI buffs for most Unit Frame addons
6
- It is now possible to tag your items as editable by others.
5
- It is now possible to tag your items as editable by others.
7
- SimpleHTML Image tags can now be used in books to insert picures.  
6
- SimpleHTML Image tags can now be used in books to insert picures.  
...
...
17
- Blocked BN related functions.
16
- Blocked BN related functions.
18
- Uptimized the filters to catch more "No player named X is currently playing" messages.
17
- Uptimized the filters to catch more "No player named X is currently playing" messages.
19
- Added amount and delay arguments to buffs
18
- Added amount and delay arguments to buffs
19
- Implemented Area sounds and area buffs. You can enter a range on buffs / sounds and make it effect other GHI users within the range.
20
20
21
v.0.99.7 -> 0.99.x
22
- Included new icons
23
- AddOns sending data in non whisper channels no longer cause lua errors.
24
25
21
GHI - v.0.27
26
GHI - v.0.27
22
- The tooltip for an item link is now displayed correctly.
27
- The tooltip for an item link is now displayed correctly.
23
- The bandwidth monitor is now displayed in the tooltip of the game menu shortcut, as intented.
28
- The bandwidth monitor is now displayed in the tooltip of the game menu shortcut, as intented.

Updated GHI/ghi.lua Download diff

6970
1
GHI_Version = GetAddOnMetadata("GHI", "Version");
1
GHI_Version = GetAddOnMetadata("GHI", "Version");
2
2
3
3
4
5
6
7
if GHI_ContainerData == nil then
4
if GHI_ContainerData == nil then
8
	GHI_ContainerData = {{}};
5
	GHI_ContainerData = {{}};
9
end
6
end

Updated GHI/ghi.toc Download diff

6970
1
## Interface: 30300
1
## Interface: 30300
2
## Title: Gryphonheart Items
2
## Title: Gryphonheart Items
3
## Version: 0.99.6
3
## Version: 0.99.7
4
## Notes: Gryphonheart Items can create custom made items for roleplaying.
4
## Notes: Gryphonheart Items can create custom made items for roleplaying.
5
## Dependencies: GHM, GHU
5
## Dependencies: GHM, GHU
6
## SavedVariablesPerCharacter: GHI_ContainerData, GHI_ItemData, GHI_CooldownData, GHI_MiscData, GHI_ActionBarData, GHI_ChatData, GHI_EquipmentDisplayData
6
## SavedVariablesPerCharacter: GHI_ContainerData, GHI_ItemData, GHI_CooldownData, GHI_MiscData, GHI_ActionBarData, GHI_ChatData, GHI_EquipmentDisplayData

Updated GHI/ghi_communication.lua Download diff

6970
891
			end
891
			end
892
		else
892
		else
893
			if not(path == "dummy") and path then
893
			if not(path == "dummy") and path then
894
				GHI_Message("Could not find General - "..comzone.." Channel, which is required to send GHI area sound.");
894
				GHI_Message("Could not find General - "..comzone.." Channel, which is required to send GHI area sound. Path: "..(path or "nil"));
895
			end
895
			end
896
896
897
		end
897
		end
...
...
1021
1021
1022
1022
1023
function GHI_SendAddonMessage(prefix, text, Type, target)
1023
function GHI_SendAddonMessage(prefix, text, Type, target)
1024
	GHI_MessageErrorsExpected_A[target] = 1;
1024
	if target then 
1025
		GHI_MessageErrorsExpected_A[target] = 1;
1026
	end
1025
	GHI_OrigSendAddonMessage(prefix, text, Type, target)
1027
	GHI_OrigSendAddonMessage(prefix, text, Type, target)
1026
end
1028
end
1027
1029

Updated GHI/ghi_display.lua Download diff

6970
106
StdSlots["Dwarf-Female"] 		=
{head={0.06,0.03,0.26,1},leg_right_side={0.07,-0.08,-0.36,0.75},chest={0.11,0.02,0.03,1},face={0.09,0.02,0.28,0.7},right_foot={0.081,-0.05,-0.59,0.8},leg_left_s
ide={0.11,0.13,-0.35,0.75},back={-0.12,-0.01,0.03,1},belt={0.001,0,-0.14,0.75},left_foot={0.09,0.15,-0.58,0.75},left_ring={0.01,0.28,-0.21,0.75},right_ring={0.0
2,-0.24,-0.23,0.75},};
106
StdSlots["Dwarf-Female"] 		=
{head={0.06,0.03,0.26,1},leg_right_side={0.07,-0.08,-0.36,0.75},chest={0.11,0.02,0.03,1},face={0.09,0.02,0.28,0.7},right_foot={0.081,-0.05,-0.59,0.8},leg_left_s
ide={0.11,0.13,-0.35,0.75},back={-0.12,-0.01,0.03,1},belt={0.001,0,-0.14,0.75},left_foot={0.09,0.15,-0.58,0.75},left_ring={0.01,0.28,-0.21,0.75},right_ring={0.0
2,-0.24,-0.23,0.75},};
107
107
108
StdSlots["Gnome-Male"] 			=
{head={0.12,0.01,0.26,1},leg_right_side={0.07,-0.08,-0.36,0.75},chest={0.11,0.02,0.03,1},face={0.09,0.02,0.28,0.7},right_foot={0.081,-0.15,-0.59,0.8},leg_left_s
ide={0.11,0.13,-0.35,0.75},right_ring={0.02,-0.24,-0.23,0.75},back={-0.12,-0.01,0.03,1},left_foot={0.09,0.15,-0.58,0.75},left_ring={0.01,0.28,-0.21,0.75},belt={
0.001,0,-0.14,0.75},};
108
StdSlots["Gnome-Male"] 			=
{head={0.12,0.01,0.26,1},leg_right_side={0.07,-0.08,-0.36,0.75},chest={0.11,0.02,0.03,1},face={0.09,0.02,0.28,0.7},right_foot={0.081,-0.15,-0.59,0.8},leg_left_s
ide={0.11,0.13,-0.35,0.75},right_ring={0.02,-0.24,-0.23,0.75},back={-0.12,-0.01,0.03,1},left_foot={0.09,0.15,-0.58,0.75},left_ring={0.01,0.28,-0.21,0.75},belt={
0.001,0,-0.14,0.75},};
109
StdSlots["Gnome-Female"] 		= {head={0.12,0.01,0.34,0.75},leg_right_side={0.07,-0.08,-0.36,0.75},chest={0.11,0,0.03,0.75},face={0.09,0,0.22,0.7},right_foot={0.081,-0.15,-0.33,0.8},leg_left_side={0.01,0.07,-0.21,0.75},right_ring={0.01,-0.2,-0.12,0.75},belt={0.001,0,-0.06,0.75},left_foot={0.03,0.15,-0.32,0.75},left_ring={0.01,0.22,-0.12,0.75},back={-0.12,-0.01,0.03,1},};
109
StdSlots["Gnome-Female"] 		= {head={0.12,0.01,0.34,0.75},leg_right_side={0.07,-0.08,-0.21,0.75},chest={0.11,0,0.03,0.75},face={0.09,0,0.22,0.7},right_foot={0.081,-0.15,-0.33,0.8},leg_left_side={0.01,0.07,-0.21,0.75},right_ring={0.01,-0.2,-0.12,0.75},belt={0.001,0,-0.06,0.75},left_foot={0.03,0.15,-0.32,0.75},left_ring={0.01,0.22,-0.12,0.75},back={-0.12,-0.01,0.03,1},};
110
110
111
GH_Display_BG_List = {
111
GH_Display_BG_List = {
112
	{p="Interface\\AddOns\\GHI\\texture\\Alliance.tga",x=128,y=256},
112
	{p="Interface\\AddOns\\GHI\\texture\\Alliance.tga",x=128,y=256},

Added GHP.txt

Show contents

Updated GHP/ghp_skillList.lua Download diff

6970
71
end
71
end
72
72
73
function GHP_SkillList:SetPoolSize(size) --API
73
function GHP_SkillList:SetPoolSize(size) --API
74
	assert(self.type == 1,"Skill list must be official to have a limited point pool.");
74
	assert(self.type == 1,"Skill List must be official to have a limited point pool.");
75
	assert(type(size)=="number","Size must be a number.");
75
	assert(type(size)=="number","Size must be a number.");
76
	self.poolSize = size;
76
	self.poolSize = size;
77
end
77
end

Updated GHP/ghp_skillList.lua.bak Download diff

6970
47
		
47
		
48
	end
48
	end
49
	
49
	
50
end 
50
end
51
51
52
function GHP_SkillList:UpdateSkill(skill) 
52
function GHP_SkillList:UpdateSkill(skill) 
53
	
53
	
...
...
71
end
71
end
72
72
73
function GHP_SkillList:SetPoolSize(size) --API
73
function GHP_SkillList:SetPoolSize(size) --API
74
	assert(self.type == 1,"Skill list must be official to have a limited point pool.");
74
	assert(self.type == 1,"Skill lList must be official to have a limited point pool.");
75
	assert(type(size)=="number","Size must be a number.");
75
	assert(type(size)=="number","Size must be a number.");
76
	self.poolSize = size;
76
	self.poolSize = size;
77
end
77
end

Added GHP_project.prj

Show contents

Updated GHU/ghu.lua Download diff

6970
1

1
-- test
2
-- test
3
2
4
local timersSetup;
3
local timersSetup;
5
local timers = {};
4
local timers = {};

Updated GHU/ghu.toc Download diff

6970
1
## Interface: 30300
1
## Interface: 30300
2
## Title: Gryphonheart UI
2
## Title: Gryphonheart UI
3
## Version: 0.3
3
## Version: 0.4
4
## Notes: Hooking of the Blizzard frames for other addons
4
## Notes: Hooking of the Blizzard frames for other addons
5
## SavedVariablesPerCharacter: GHU_MiscData
5
## SavedVariablesPerCharacter: GHU_MiscData
6
6
...
...
25
ghu_talk.xml
25
ghu_talk.xml
26
ghu_buff.lua
26
ghu_buff.lua
27
ghu_target.lua
27
ghu_target.lua
28
ghu_map.lua
29
ghu_document.lua
28
30
29
ghu_test.lua
31
ghu_test.lua

Updated GHU/ghu_buff.lua Download diff

6970
1
1
2
2
local supportedUnits = {"player","target"};
3
local supportedUnits = {"player","target"};
3
4
4
GHU_BuffDisplay = CreateFrame("frame");
5
GHU_BuffDisplay = CreateFrame("frame");
6
GHU_BuffDisplay.buffs = {};
7
GHU_BuffDisplay.buffObjs = {};
8
GHU_BuffDisplay.debuffs = {};
9
GHU_BuffDisplay.nextUpdate = {};
5
10
11
6
function GHU_BuffDisplay:OnEvent(event,arg1,arg2)
12
function GHU_BuffDisplay:OnEvent(event,arg1,arg2)
7
	if event == "PLAYER_TARGET_CHANGED" then
13
	if event == "PLAYER_TARGET_CHANGED" then
8
		self:UpdateDB("target");
14
		self:UpdateDB("target");
...
...
59
	local guid = UnitGUID(unit);
65
	local guid = UnitGUID(unit);
60
	local nextUp
66
	local nextUp
61
	--print("Update buff db for",unit);
67
	--print("Update buff db for",unit);
68
	
69
	self.buffs = self.buffs or {};
70
	
62
	-- update buffs
71
	-- update buffs
63
	self.buffs[unit] = {};
72
	self.buffs[unit] = {};
64
	--print(#(self.buffObjs),"buff objs");
73
	--print(#(self.buffObjs),"buff objs");
...
...
238
end
247
end
239
248
240
function GHU_BuffFrame_Update()
249
function GHU_BuffFrame_Update()
241
	for _,unit in pairs(supportedUnits) do
250
	for _,unit in pairs(supportedUnits) do if Get then
242
		-- Create new frames
251
		-- Create new frames
243
		if not(GHU_BuffFrames[unit]) then 
252
		if not(GHU_BuffFrames[unit]) then 
244
			local f = CreateFrame("Button",nil,UIParent);
253
			local f = CreateFrame("Button",nil,UIParent);
...
...
350
		end
359
		end
351
		
360
		
352
		GHU_BuffFrame_UpdateAllDebuffAnchors(unit);
361
		GHU_BuffFrame_UpdateAllDebuffAnchors(unit);
353
	end
362
	end end
354
end
363
end
355
364
356
function GHU_AuraButton_Update(buttonName, index, filter,unit)
365
function GHU_AuraButton_Update(buttonName, index, filter,unit)

Updated GHU/ghu_tabs.lua Download diff

6970
1
1
GHU_Tabs = CreateFrame("Frame");
2
GHU_Tabs = CreateFrame("Frame");
2
GHU_Tabs.hooked ={};
3
GHU_Tabs.hooked ={};
3
4

Updated GHU/ghu_talent.lua Download diff

6970
1
GHU_Talent = {}
1

2
GHU_Talent = {}
2
GHU_Talent.__index = GHU_Talent;
3
GHU_Talent.__index = GHU_Talent;
3
GHU_Talent.hooked ={};
4
GHU_Talent.hooked ={};
4
5

Updated GHU/ghu_test.lua Download diff

6970
1
1
2
3
local debug = -1 --  -1 = none, 0 = all, 1..+ = a specific one of the tests
2
local debug = -1 --  -1 = none, 0 = all, 1..+ = a specific one of the tests
4
--[[					UNIT TEST FOR GHU MODULES
3
--[[					UNIT TEST FOR GHU MODULES
5
	This file is unit tests for the ghu modules. Debug should be set to -1 at public releases, 
4
	This file is unit tests for the ghu modules. Debug should be set to -1 at public releases,