{"action":"created","comment":{"url":"https://api.github.com/repos/OpenRA/OpenRA/pulls/comments/27709960","id":27709960,"diff_hunk":"@@ -46,20 +79,77 @@ public override void Tick()\n \t\t\t}).ToArray();\n \t\t}\n \n-\t\tpublic override void Draw()\n+\t\tpublic int DrawAllies(int y)","path":"OpenRA.Mods.Common/Widgets/SupportPowerTimerWidget.cs","position":66,"original_position":66,"commit_id":"d9e16aecedc273b282d1285bb6e1547cfbc68fe0","original_commit_id":"d9e16aecedc273b282d1285bb6e1547cfbc68fe0","user":{"login":"ScottNZ","id":1712619,"avatar_url":"https://avatars.githubusercontent.com/u/1712619?v=3","gravatar_id":"","url":"https://api.github.com/users/ScottNZ","html_url":"https://github.com/ScottNZ","followers_url":"https://api.github.com/users/ScottNZ/followers","following_url":"https://api.github.com/users/ScottNZ/following{/other_user}","gists_url":"https://api.github.com/users/ScottNZ/gists{/gist_id}","starred_url":"https://api.github.com/users/ScottNZ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ScottNZ/subscriptions","organizations_url":"https://api.github.com/users/ScottNZ/orgs","repos_url":"https://api.github.com/users/ScottNZ/repos","events_url":"https://api.github.com/users/ScottNZ/events{/privacy}","received_events_url":"https://api.github.com/users/ScottNZ/received_events","type":"User","site_admin":false},"body":"There's a bit too much repetition across this method and DrawEnemies for my liking.","created_at":"2015-04-03T00:47:41Z","updated_at":"2015-04-03T00:47:41Z","html_url":"https://github.com/OpenRA/OpenRA/pull/7737#discussion_r27709960","pull_request_url":"https://api.github.com/repos/OpenRA/OpenRA/pulls/7737","_links":{"self":{"href":"https://api.github.com/repos/OpenRA/OpenRA/pulls/comments/27709960"},"html":{"href":"https://github.com/OpenRA/OpenRA/pull/7737#discussion_r27709960"},"pull_request":{"href":"https://api.github.com/repos/OpenRA/OpenRA/pulls/7737"}}},"pull_request":{"url":"https://api.github.com/repos/OpenRA/OpenRA/pulls/7737","id":31947368,"html_url":"https://github.com/OpenRA/OpenRA/pull/7737","diff_url":"https://github.com/OpenRA/OpenRA/pull/7737.diff","patch_url":"https://github.com/OpenRA/OpenRA/pull/7737.patch","issue_url":"https://api.github.com/repos/OpenRA/OpenRA/issues/7737","number":7737,"state":"open","locked":false,"title":"Improve support power timer display.","user":{"login":"deniz1a","id":6599106,"avatar_url":"https://avatars.githubusercontent.com/u/6599106?v=3","gravatar_id":"","url":"https://api.github.com/users/deniz1a","html_url":"https://github.com/deniz1a","followers_url":"https://api.github.com/users/deniz1a/followers","following_url":"https://api.github.com/users/deniz1a/following{/other_user}","gists_url":"https://api.github.com/users/deniz1a/gists{/gist_id}","starred_url":"https://api.github.com/users/deniz1a/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deniz1a/subscriptions","organizations_url":"https://api.github.com/users/deniz1a/orgs","repos_url":"https://api.github.com/users/deniz1a/repos","events_url":"https://api.github.com/users/deniz1a/events{/privacy}","received_events_url":"https://api.github.com/users/deniz1a/received_events","type":"User","site_admin":false},"body":"Improves support power countdown timer text display on top left of the screen. Fixes #4798. Also see #6282.\r\n\r\nThis commit will change the following:\r\n1) Player's own countdown timers aren't shown in the text. This is redundant since it is already shown in the icons.\r\n2) Timers are divided into two groups: Allies and Enemies.\r\n3) Each group has a header which can be configured in ingame.yaml under SupportPowerTimer@SUPPORT_POWER_TIMER:.\r\n4) The old Order parameter in ingame.yaml is repurposed to configure which group will be shown on top. Default is EnemiesFirst, I thought enemy timers would be more important. Old Order parameter wasn't working for Ascending value.\r\n5) Player names are also shown in front of timer text. When the timer is zero, only the description text flashes white and not the player name.\r\n\r\nHere's what it looks like:\r\n![timer](https://cloud.githubusercontent.com/assets/6599106/6831126/0582ab3c-d327-11e4-9999-5eaed3efd253.png)\r\n\r\nI tested this and seems to work.","created_at":"2015-03-25T17:43:55Z","updated_at":"2015-04-03T00:47:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":"33e05600cb94694ca2d8c0b49d879c3a20cbbc65","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/OpenRA/OpenRA/pulls/7737/commits","review_comments_url":"https://api.github.com/repos/OpenRA/OpenRA/pulls/7737/comments","review_comment_url":"https://api.github.com/repos/OpenRA/OpenRA/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OpenRA/OpenRA/issues/7737/comments","statuses_url":"https://api.github.com/repos/OpenRA/OpenRA/statuses/d9e16aecedc273b282d1285bb6e1547cfbc68fe0","head":{"label":"deniz1a:countdown","ref":"countdown","sha":"d9e16aecedc273b282d1285bb6e1547cfbc68fe0","user":{"login":"deniz1a","id":6599106,"avatar_url":"https://avatars.githubusercontent.com/u/6599106?v=3","gravatar_id":"","url":"https://api.github.com/users/deniz1a","html_url":"https://github.com/deniz1a","followers_url":"https://api.github.com/users/deniz1a/followers","following_url":"https://api.github.com/users/deniz1a/following{/other_user}","gists_url":"https://api.github.com/users/deniz1a/gists{/gist_id}","starred_url":"https://api.github.com/users/deniz1a/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deniz1a/subscriptions","organizations_url":"https://api.github.com/users/deniz1a/orgs","repos_url":"https://api.github.com/users/deniz1a/repos","events_url":"https://api.github.com/users/deniz1a/events{/privacy}","received_events_url":"https://api.github.com/users/deniz1a/received_events","type":"User","site_admin":false},"repo":{"id":32151339,"name":"OpenRA","full_name":"deniz1a/OpenRA","owner":{"login":"deniz1a","id":6599106,"avatar_url":"https://avatars.githubusercontent.com/u/6599106?v=3","gravatar_id":"","url":"https://api.github.com/users/deniz1a","html_url":"https://github.com/deniz1a","followers_url":"https://api.github.com/users/deniz1a/followers","following_url":"https://api.github.com/users/deniz1a/following{/other_user}","gists_url":"https://api.github.com/users/deniz1a/gists{/gist_id}","starred_url":"https://api.github.com/users/deniz1a/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deniz1a/subscriptions","organizations_url":"https://api.github.com/users/deniz1a/orgs","repos_url":"https://api.github.com/users/deniz1a/repos","events_url":"https://api.github.com/users/deniz1a/events{/privacy}","received_events_url":"https://api.github.com/users/deniz1a/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/deniz1a/OpenRA","description":"An open-source implementation of the Command & Conquer: Red Alert engine using .NET/Mono and OpenGL. Runs on Windows, Linux and Mac OS X.","fork":true,"url":"https://api.github.com/repos/deniz1a/OpenRA","forks_url":"https://api.github.com/repos/deniz1a/OpenRA/forks","keys_url":"https://api.github.com/repos/deniz1a/OpenRA/keys{/key_id}","collaborators_url":"https://api.github.com/repos/deniz1a/OpenRA/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/deniz1a/OpenRA/teams","hooks_url":"https://api.github.com/repos/deniz1a/OpenRA/hooks","issue_events_url":"https://api.github.com/repos/deniz1a/OpenRA/issues/events{/number}","events_url":"https://api.github.com/repos/deniz1a/OpenRA/events","assignees_url":"https://api.github.com/repos/deniz1a/OpenRA/assignees{/user}","branches_url":"https://api.github.com/repos/deniz1a/OpenRA/branches{/branch}","tags_url":"https://api.github.com/repos/deniz1a/OpenRA/tags","blobs_url":"https://api.github.com/repos/deniz1a/OpenRA/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/deniz1a/OpenRA/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/deniz1a/OpenRA/git/refs{/sha}","trees_url":"https://api.github.com/repos/deniz1a/OpenRA/git/trees{/sha}","statuses_url":"https://api.github.com/repos/deniz1a/OpenRA/statuses/{sha}","languages_url":"https://api.github.com/repos/deniz1a/OpenRA/languages","stargazers_url":"https://api.github.com/repos/deniz1a/OpenRA/stargazers","contributors_url":"https://api.github.com/repos/deniz1a/OpenRA/contributors","subscribers_url":"https://api.github.com/repos/deniz1a/OpenRA/subscribers","subscription_url":"https://api.github.com/repos/deniz1a/OpenRA/subscription","commits_url":"https://api.github.com/repos/deniz1a/OpenRA/commits{/sha}","git_commits_url":"https://api.github.com/repos/deniz1a/OpenRA/git/commits{/sha}","comments_url":"https://api.github.com/repos/deniz1a/OpenRA/comments{/number}","issue_comment_url":"https://api.github.com/repos/deniz1a/OpenRA/issues/comments{/number}","contents_url":"https://api.github.com/repos/deniz1a/OpenRA/contents/{+path}","compare_url":"https://api.github.com/repos/deniz1a/OpenRA/compare/{base}...{head}","merges_url":"https://api.github.com/repos/deniz1a/OpenRA/merges","archive_url":"https://api.github.com/repos/deniz1a/OpenRA/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/deniz1a/OpenRA/downloads","issues_url":"https://api.github.com/repos/deniz1a/OpenRA/issues{/number}","pulls_url":"https://api.github.com/repos/deniz1a/OpenRA/pulls{/number}","milestones_url":"https://api.github.com/repos/deniz1a/OpenRA/milestones{/number}","notifications_url":"https://api.github.com/repos/deniz1a/OpenRA/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/deniz1a/OpenRA/labels{/name}","releases_url":"https://api.github.com/repos/deniz1a/OpenRA/releases{/id}","created_at":"2015-03-13T11:03:09Z","updated_at":"2015-03-16T04:45:57Z","pushed_at":"2015-03-28T07:31:25Z","git_url":"git://github.com/deniz1a/OpenRA.git","ssh_url":"git@github.com:deniz1a/OpenRA.git","clone_url":"https://github.com/deniz1a/OpenRA.git","svn_url":"https://github.com/deniz1a/OpenRA","homepage":"http://www.openra.net","size":84702,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"bleed"}},"base":{"label":"OpenRA:bleed","ref":"bleed","sha":"fe09cef825b959dc3549c85e875dbd080142232c","user":{"login":"OpenRA","id":409046,"avatar_url":"https://avatars.githubusercontent.com/u/409046?v=3","gravatar_id":"","url":"https://api.github.com/users/OpenRA","html_url":"https://github.com/OpenRA","followers_url":"https://api.github.com/users/OpenRA/followers","following_url":"https://api.github.com/users/OpenRA/following{/other_user}","gists_url":"https://api.github.com/users/OpenRA/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenRA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenRA/subscriptions","organizations_url":"https://api.github.com/users/OpenRA/orgs","repos_url":"https://api.github.com/users/OpenRA/repos","events_url":"https://api.github.com/users/OpenRA/events{/privacy}","received_events_url":"https://api.github.com/users/OpenRA/received_events","type":"Organization","site_admin":false},"repo":{"id":959908,"name":"OpenRA","full_name":"OpenRA/OpenRA","owner":{"login":"OpenRA","id":409046,"avatar_url":"https://avatars.githubusercontent.com/u/409046?v=3","gravatar_id":"","url":"https://api.github.com/users/OpenRA","html_url":"https://github.com/OpenRA","followers_url":"https://api.github.com/users/OpenRA/followers","following_url":"https://api.github.com/users/OpenRA/following{/other_user}","gists_url":"https://api.github.com/users/OpenRA/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenRA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenRA/subscriptions","organizations_url":"https://api.github.com/users/OpenRA/orgs","repos_url":"https://api.github.com/users/OpenRA/repos","events_url":"https://api.github.com/users/OpenRA/events{/privacy}","received_events_url":"https://api.github.com/users/OpenRA/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OpenRA/OpenRA","description":"An open-source implementation of the Command & Conquer: Red Alert engine using .NET/Mono and OpenGL. Runs on Windows, Linux and Mac OS X.","fork":false,"url":"https://api.github.com/repos/OpenRA/OpenRA","forks_url":"https://api.github.com/repos/OpenRA/OpenRA/forks","keys_url":"https://api.github.com/repos/OpenRA/OpenRA/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OpenRA/OpenRA/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OpenRA/OpenRA/teams","hooks_url":"https://api.github.com/repos/OpenRA/OpenRA/hooks","issue_events_url":"https://api.github.com/repos/OpenRA/OpenRA/issues/events{/number}","events_url":"https://api.github.com/repos/OpenRA/OpenRA/events","assignees_url":"https://api.github.com/repos/OpenRA/OpenRA/assignees{/user}","branches_url":"https://api.github.com/repos/OpenRA/OpenRA/branches{/branch}","tags_url":"https://api.github.com/repos/OpenRA/OpenRA/tags","blobs_url":"https://api.github.com/repos/OpenRA/OpenRA/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OpenRA/OpenRA/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OpenRA/OpenRA/git/refs{/sha}","trees_url":"https://api.github.com/repos/OpenRA/OpenRA/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OpenRA/OpenRA/statuses/{sha}","languages_url":"https://api.github.com/repos/OpenRA/OpenRA/languages","stargazers_url":"https://api.github.com/repos/OpenRA/OpenRA/stargazers","contributors_url":"https://api.github.com/repos/OpenRA/OpenRA/contributors","subscribers_url":"https://api.github.com/repos/OpenRA/OpenRA/subscribers","subscription_url":"https://api.github.com/repos/OpenRA/OpenRA/subscription","commits_url":"https://api.github.com/repos/OpenRA/OpenRA/commits{/sha}","git_commits_url":"https://api.github.com/repos/OpenRA/OpenRA/git/commits{/sha}","comments_url":"https://api.github.com/repos/OpenRA/OpenRA/comments{/number}","issue_comment_url":"https://api.github.com/repos/OpenRA/OpenRA/issues/comments{/number}","contents_url":"https://api.github.com/repos/OpenRA/OpenRA/contents/{+path}","compare_url":"https://api.github.com/repos/OpenRA/OpenRA/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OpenRA/OpenRA/merges","archive_url":"https://api.github.com/repos/OpenRA/OpenRA/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OpenRA/OpenRA/downloads","issues_url":"https://api.github.com/repos/OpenRA/OpenRA/issues{/number}","pulls_url":"https://api.github.com/repos/OpenRA/OpenRA/pulls{/number}","milestones_url":"https://api.github.com/repos/OpenRA/OpenRA/milestones{/number}","notifications_url":"https://api.github.com/repos/OpenRA/OpenRA/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OpenRA/OpenRA/labels{/name}","releases_url":"https://api.github.com/repos/OpenRA/OpenRA/releases{/id}","created_at":"2010-10-04T07:38:05Z","updated_at":"2015-04-03T00:13:04Z","pushed_at":"2015-04-03T00:13:04Z","git_url":"git://github.com/OpenRA/OpenRA.git","ssh_url":"git@github.com:OpenRA/OpenRA.git","clone_url":"https://github.com/OpenRA/OpenRA.git","svn_url":"https://github.com/OpenRA/OpenRA","homepage":"http://www.openra.net","size":164025,"stargazers_count":1825,"watchers_count":1825,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":660,"mirror_url":null,"open_issues_count":756,"forks":660,"open_issues":756,"watchers":1825,"default_branch":"bleed"}},"_links":{"self":{"href":"https://api.github.com/repos/OpenRA/OpenRA/pulls/7737"},"html":{"href":"https://github.com/OpenRA/OpenRA/pull/7737"},"issue":{"href":"https://api.github.com/repos/OpenRA/OpenRA/issues/7737"},"comments":{"href":"https://api.github.com/repos/OpenRA/OpenRA/issues/7737/comments"},"review_comments":{"href":"https://api.github.com/repos/OpenRA/OpenRA/pulls/7737/comments"},"review_comment":{"href":"https://api.github.com/repos/OpenRA/OpenRA/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OpenRA/OpenRA/pulls/7737/commits"},"statuses":{"href":"https://api.github.com/repos/OpenRA/OpenRA/statuses/d9e16aecedc273b282d1285bb6e1547cfbc68fe0"}}}}