equal
deleted
inserted
replaced
295 end |
295 end |
296 |
296 |
297 function DrawClanPowerTag() |
297 function DrawClanPowerTag() |
298 |
298 |
299 local zoomL = 1.1 |
299 local zoomL = 1.1 |
300 local xOffset = 45 |
300 local xOffset, yOffset |
301 local yOffset = 70 |
301 if INTERFACE == "touch" then |
|
302 xOffset = 126 |
|
303 yOffset = ScreenHeight - 32 |
|
304 else |
|
305 xOffset = 45 |
|
306 yOffset = 70 |
|
307 end |
302 local tValue = clanPower[GetHogClan(CurrentHedgehog)] |
308 local tValue = clanPower[GetHogClan(CurrentHedgehog)] |
303 local tCol = GetClanColor(GetHogClan(CurrentHedgehog)) |
309 local tCol = GetClanColor(GetHogClan(CurrentHedgehog)) |
304 |
310 |
305 DeleteVisualGear(clanPowerTag) |
311 DeleteVisualGear(clanPowerTag) |
306 clanPowerTag = AddVisualGear(-div(ScreenWidth, 2) + xOffset, ScreenHeight - yOffset, vgtHealthTag, tValue, false) |
312 clanPowerTag = AddVisualGear(-div(ScreenWidth, 2) + xOffset, ScreenHeight - yOffset, vgtHealthTag, tValue, false) |