Mercurial > wow > turok
comparison Turok/Modules/Timer/Timer.xml @ 9:9400a0ff8540
Ugh
Timer:
- container update directionality
- talent update iterates over a non-volatile table to carry out updates
- index management steps organized
- talentRow status implemented, returns the spell associated with the talent chosen from that row
CombatLog:
- sort out font controls and unbork arguments
| author | Nenue |
|---|---|
| date | Sun, 21 Feb 2016 13:08:30 -0500 |
| parents | a9b8b0866ece |
| children |
comparison
equal
deleted
inserted
replaced
| 8:7790dff0fe13 | 9:9400a0ff8540 |
|---|---|
| 48 local g = self:GetParent() | 48 local g = self:GetParent() |
| 49 g.collected = nil | 49 g.collected = nil |
| 50 g.add = true | 50 g.add = true |
| 51 g:Report() | 51 g:Report() |
| 52 --@debug@ | 52 --@debug@ |
| 53 print('Layout', g.cvars.type, 'Intro |cFFFFFF00START', g:GetName())--@end-debug@ | 53 --print('Layout', g.cvars.type, 'Intro |cFFFFFF00START', g:GetName())--@end-debug@ |
| 54 g:Show() | 54 g:Show() |
| 55 if g.cvars.sound_active then | 55 if g.cvars.sound_active then |
| 56 PlaySoundFile(g.cvars.sound_active) | 56 PlaySoundFile(g.cvars.sound_active) |
| 57 end | 57 end |
| 58 if g.icon then | 58 if g.icon then |
| 60 end | 60 end |
| 61 </OnPlay> | 61 </OnPlay> |
| 62 <OnStop> | 62 <OnStop> |
| 63 local g = self:GetParent() | 63 local g = self:GetParent() |
| 64 --@debug@ | 64 --@debug@ |
| 65 print('Layout', g.cvars.type, 'Intro |cFFFF4400STOP', g:GetName())--@end-debug@ | 65 --print('Layout', g.cvars.type, 'Intro |cFFFF4400STOP', g:GetName())--@end-debug@ |
| 66 if g.enableIcon then | 66 if g.enableIcon then |
| 67 g.iconIntro:Stop() | 67 g.iconIntro:Stop() |
| 68 end | 68 end |
| 69 </OnStop> | 69 </OnStop> |
| 70 <OnFinished> | 70 <OnFinished> |
| 71 local g = self:GetParent() | 71 local g = self:GetParent() |
| 72 --@debug@ | 72 --@debug@ |
| 73 print('Layout', g.cvars.type, 'Intro |cFF00FF00FINISH', g:GetName())--@end-debug@ | 73 --print('Layout', g.cvars.type, 'Intro |cFF00FF00FINISH', g:GetName())--@end-debug@ |
| 74 if g.enableIcon then | 74 if g.enableIcon then |
| 75 g.iconIntro:Stop() | 75 g.iconIntro:Stop() |
| 76 end | 76 end |
| 77 g:UpdateAlpha(Turok.inCombat, g.displayState, g.fillState) | 77 g:UpdateAlpha(Turok.inCombat, g.displayState, g.fillState) |
| 78 </OnFinished> | 78 </OnFinished> |
| 89 local g = self:GetParent() | 89 local g = self:GetParent() |
| 90 g.collected = nil | 90 g.collected = nil |
| 91 g.trash = true | 91 g.trash = true |
| 92 g:Report() | 92 g:Report() |
| 93 --@debug@ | 93 --@debug@ |
| 94 print('Layout', g.cvars.type, '|cFF0088FFOutro |cFFFFFF00START', g:GetName())--@end-debug@ | 94 --print('Layout', g.cvars.type, '|cFF0088FFOutro |cFFFFFF00START', g:GetName())--@end-debug@ |
| 95 if g.spiral then | 95 if g.spiral then |
| 96 g.spiral:StopAnimating() | 96 g.spiral:StopAnimating() |
| 97 g.spiral:Hide() | 97 g.spiral:Hide() |
| 98 end | 98 end |
| 99 if g.cvars.sound_hidden then | 99 if g.cvars.sound_hidden then |
| 104 end | 104 end |
| 105 </OnPlay> | 105 </OnPlay> |
| 106 <OnStop> | 106 <OnStop> |
| 107 local g = self:GetParent() | 107 local g = self:GetParent() |
| 108 --@debug@ | 108 --@debug@ |
| 109 print('Layout', g.cvars.type, '|cFF0088FFOutro |cFFFF4400STOP', g:GetName())--@end-debug@ | 109 --print('Layout', g.cvars.type, '|cFF0088FFOutro |cFFFF4400STOP', g:GetName())--@end-debug@ |
| 110 if g.enableIcon then | 110 if g.enableIcon then |
| 111 g.iconOutro:Stop() | 111 g.iconOutro:Stop() |
| 112 end | 112 end |
| 113 </OnStop> | 113 </OnStop> |
| 114 <OnFinished> | 114 <OnFinished> |
| 115 local g = self:GetParent() | 115 local g = self:GetParent() |
| 116 g.trash = false | 116 g.trash = false |
| 117 --@debug@ | 117 --@debug@ |
| 118 print('Layout', g.cvars.type, '|cFF0088FFOutro |cFF00FF00Finish', g:GetName())--@end-debug@ | 118 --print('Layout', g.cvars.type, '|cFF0088FFOutro |cFF00FF00Finish', g:GetName())--@end-debug@ |
| 119 if g.enableIcon then | 119 if g.enableIcon then |
| 120 g.iconOutro:Stop() | 120 g.iconOutro:Stop() |
| 121 end | 121 end |
| 122 g:Hide() | 122 g:Hide() |
| 123 </OnFinished> | 123 </OnFinished> |
| 128 <Alpha childKey="iconFlash" fromAlpha=".7" toAlpha="0" duration="0.15" order="2" /> | 128 <Alpha childKey="iconFlash" fromAlpha=".7" toAlpha="0" duration="0.15" order="2" /> |
| 129 <Scripts> | 129 <Scripts> |
| 130 <OnPlay> | 130 <OnPlay> |
| 131 local g = self:GetParent() | 131 local g = self:GetParent() |
| 132 --@debug@ | 132 --@debug@ |
| 133 print('Layout', g.cvars.type, '|cFFFFFF00Retro |cFFFFFF00START', g:GetName())--@end-debug@ | 133 --print('Layout', g.cvars.type, '|cFFFFFF00Retro |cFFFFFF00START', g:GetName())--@end-debug@ |
| 134 if g.iconFlash then | 134 if g.iconFlash then |
| 135 g.iconFlash:Show() | 135 g.iconFlash:Show() |
| 136 end | 136 end |
| 137 </OnPlay> | 137 </OnPlay> |
| 138 <OnStop> | 138 <OnStop> |
| 139 local g = self:GetParent() | 139 local g = self:GetParent() |
| 140 --@debug@ | 140 --@debug@ |
| 141 print('Layout',g.cvars.type, '|cFFFFFF00Retro |cFFFF4400STOP', self:GetParent():GetName())--@end-debug@ | 141 --print('Layout',g.cvars.type, '|cFFFFFF00Retro |cFFFF4400STOP', self:GetParent():GetName())--@end-debug@ |
| 142 </OnStop> | 142 </OnStop> |
| 143 <OnFinished> | 143 <OnFinished> |
| 144 local g = self:GetParent() | 144 local g = self:GetParent() |
| 145 --@debug@ | 145 --@debug@ |
| 146 print('Layout',g.cvars.type, '|cFFFFFF00Retro |cFF00FF00FINISH', g:GetName())--@end-debug@ | 146 --print('Layout',g.cvars.type, '|cFFFFFF00Retro |cFF00FF00FINISH', g:GetName())--@end-debug@ |
| 147 if g.iconFlash then | 147 if g.iconFlash then |
| 148 g.iconFlash:Hide() | 148 g.iconFlash:Hide() |
| 149 end | 149 end |
| 150 g:UpdateAlpha(Turok.inCombat, g.displayState, g.fillState) | 150 g:UpdateAlpha(Turok.inCombat, g.displayState, g.fillState) |
| 151 </OnFinished> | 151 </OnFinished> |
| 195 } | 195 } |
| 196 </OnLoad> | 196 </OnLoad> |
| 197 </Scripts> | 197 </Scripts> |
| 198 <Frames> | 198 <Frames> |
| 199 <Cooldown name="$parentCooldownSpiral" parentKey="spiral" inherits="CooldownFrameTemplate"> | 199 <Cooldown name="$parentCooldownSpiral" parentKey="spiral" inherits="CooldownFrameTemplate"> |
| 200 <EdgeTexture file=""> | |
| 201 <Color r="1" g="0" b="1" a="0" /> | |
| 202 </EdgeTexture> | |
| 203 <BlingTexture file=""> | |
| 204 <Color r="0" g="1" b="1" a="0" /> | |
| 205 </BlingTexture> | |
| 200 <SwipeTexture parentKey="spiralTex"> | 206 <SwipeTexture parentKey="spiralTex"> |
| 201 <Color r="0" g="0" b="0" a="0.6" /> | 207 <Color r="0" g="0" b="0" a="0.8" /> |
| 202 </SwipeTexture> | 208 </SwipeTexture> |
| 203 <Anchors> | 209 <Anchors> |
| 204 <Anchor relativeKey="$parent.icon" point="TOPLEFT" relativePoint="TOPLEFT" x="0" y="0" /> | 210 <Anchor relativeKey="$parent.icon" point="TOPLEFT" relativePoint="TOPLEFT" x="0" y="0" /> |
| 205 <Anchor relativeKey="$parent.icon" point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT" x="0" y="0" /> | 211 <Anchor relativeKey="$parent.icon" point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT" x="0" y="0" /> |
| 206 </Anchors> | 212 </Anchors> |
| 207 <Layers> | 213 <Layers> |
| 208 <Layer level="OVERLAY"> | 214 <Layer level="OVERLAY"> |
| 209 <FontString inherits="TurokFontMed" name="$parentCounter" parentKey="counter" justifyH="RIGHT" justifyV="BOTTOM"> | 215 <FontString inherits="TurokFontMed" name="$parentCounter" parentKey="counter" justifyH="CENTER" justifyV="MIDDLE"> |
| 216 <!-- [1] below 6 seconds remaining | |
| 210 <KeyValues> | 217 <KeyValues> |
| 211 <!-- [1] below 6 seconds remaining --> | |
| 212 <KeyValue key="anchor1" value="TOP" /> | 218 <KeyValue key="anchor1" value="TOP" /> |
| 213 <KeyValue key="anchor1_rel" value="TOP" /> | 219 <KeyValue key="anchor1_rel" value="TOP" /> |
| 214 <!-- [2] default --> | |
| 215 <KeyValue key="anchor2" value="TOP" /> | 220 <KeyValue key="anchor2" value="TOP" /> |
| 216 <KeyValue key="anchor2_rel" value="TOP" /> | 221 <KeyValue key="anchor2_rel" value="TOP" /> |
| 217 <!-- [3] > 100 sec remaining --> | |
| 218 <KeyValue key="anchor3" value="TOPRIGHT" /> | 222 <KeyValue key="anchor3" value="TOPRIGHT" /> |
| 219 <KeyValue key="anchor3_rel" value="TOP" /> | 223 <KeyValue key="anchor3_rel" value="TOP" /> |
| 220 </KeyValues> | 224 </KeyValues> --> |
| 221 <Size x="40" y="40" /> | |
| 222 <Anchors> | 225 <Anchors> |
| 223 <Anchor point="TOPRIGHT" relativePoint="TOP" relativeKey="$parent.$parent.icon" x="0" y="4" /> | 226 <Anchor point="CENTER" relativePoint="CENTER" relativeKey="$parent.$parent.icon" x="0" y="0" /> |
| 224 </Anchors> | 227 </Anchors> |
| 225 </FontString> | 228 </FontString> |
| 226 <FontString inherits="TurokFontDetail" name="$parentSubCounter" parentKey="subCounter" justifyH="LEFT" text="subtext" justifyV="BOTTOM"> | 229 <FontString inherits="TurokFontDetail" name="$parentSubCounter" parentKey="subCounter" justifyH="LEFT" text="subtext" justifyV="BOTTOM"> |
| 230 <!-- | |
| 227 <KeyValues> | 231 <KeyValues> |
| 228 <KeyValue key="anchor1" value="LEFT" /> | 232 <KeyValue key="anchor1" value="LEFT" /> |
| 229 <KeyValue key="anchor1_rel" value="RIGHT" /> | 233 <KeyValue key="anchor1_rel" value="RIGHT" /> |
| 230 <KeyValue key="anchor2" value="LEFT" /> | 234 <KeyValue key="anchor2" value="LEFT" /> |
| 231 <KeyValue key="anchor2_rel" value="RIGHT" /> | 235 <KeyValue key="anchor2_rel" value="RIGHT" /> |
| 232 <KeyValue key="anchor3" value="LEFT" /> | 236 <KeyValue key="anchor3" value="LEFT" /> |
| 233 <KeyValue key="anchor3_rel" value="RIGHT" /> | 237 <KeyValue key="anchor3_rel" value="RIGHT" /> |
| 234 </KeyValues> | 238 </KeyValues> |
| 239 --> | |
| 235 <Size x="40" y="40" /> | 240 <Size x="40" y="40" /> |
| 236 <Color r="1" g="1" b="0" a="1" /> | 241 <Color r="1" g="1" b="0" a="1" /> |
| 237 <Anchors> | 242 <Anchors> |
| 238 <Anchor point="LEFT" relativePoint="RIGHT" relativeKey="$parent.counter" x="0" y="1" /> | 243 <Anchor point="LEFT" relativePoint="RIGHT" relativeKey="$parent.counter" x="0" y="0" /> |
| 239 </Anchors> | 244 </Anchors> |
| 240 </FontString> | 245 </FontString> |
| 241 <FontString inherits="TurokFontDetail" name="$parentCharges" parentKey="charges" justifyH="RIGHT" justifyV="BOTTOM" text="charges"> | 246 <FontString inherits="TurokFontDetail" name="$parentCharges" parentKey="charges" justifyH="RIGHT" justifyV="BOTTOM" text="charges"> |
| 242 <Size x="80" y="30" /> | 247 <Size x="80" y="30" /> |
| 243 <Color a="1" r="1" g="1" b="0" /> | 248 <Color a="1" r="1" g="1" b="0" /> |
