{"action":"closed","number":2556,"pull_request":{"url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/pulls/2556","id":54599815,"html_url":"https://github.com/OpenRCT2/OpenRCT2/pull/2556","diff_url":"https://github.com/OpenRCT2/OpenRCT2/pull/2556.diff","patch_url":"https://github.com/OpenRCT2/OpenRCT2/pull/2556.patch","issue_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/issues/2556","number":2556,"state":"closed","locked":false,"title":"Refactoring: replace several magic numbers with named equivalents","user":{"login":"AaronVanGeffen","id":604665,"avatar_url":"https://avatars.githubusercontent.com/u/604665?v=3","gravatar_id":"","url":"https://api.github.com/users/AaronVanGeffen","html_url":"https://github.com/AaronVanGeffen","followers_url":"https://api.github.com/users/AaronVanGeffen/followers","following_url":"https://api.github.com/users/AaronVanGeffen/following{/other_user}","gists_url":"https://api.github.com/users/AaronVanGeffen/gists{/gist_id}","starred_url":"https://api.github.com/users/AaronVanGeffen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AaronVanGeffen/subscriptions","organizations_url":"https://api.github.com/users/AaronVanGeffen/orgs","repos_url":"https://api.github.com/users/AaronVanGeffen/repos","events_url":"https://api.github.com/users/AaronVanGeffen/events{/privacy}","received_events_url":"https://api.github.com/users/AaronVanGeffen/received_events","type":"User","site_admin":false},"body":"This PR addresses three things:\r\n* Names the `RCT2_ADDRESS_COMMON_FORMAT_ARGS` address where used.\r\n* Names `var_494` in the `rct_window` struct as `highlighted_item`.\r\n* Names the `enabled_widgets` flags used on scenario select screen.","created_at":"2015-12-26T09:38:39Z","updated_at":"2015-12-26T10:28:08Z","closed_at":"2015-12-26T10:28:08Z","merged_at":"2015-12-26T10:28:08Z","merge_commit_sha":"143da32a1a95e3bc73b896e5be316dcc285c17ca","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/pulls/2556/commits","review_comments_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/pulls/2556/comments","review_comment_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/issues/2556/comments","statuses_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/statuses/3d99b73ae13f54889bae437f4784edb95880a014","head":{"label":"AaronVanGeffen:minor_refactor","ref":"minor_refactor","sha":"3d99b73ae13f54889bae437f4784edb95880a014","user":{"login":"AaronVanGeffen","id":604665,"avatar_url":"https://avatars.githubusercontent.com/u/604665?v=3","gravatar_id":"","url":"https://api.github.com/users/AaronVanGeffen","html_url":"https://github.com/AaronVanGeffen","followers_url":"https://api.github.com/users/AaronVanGeffen/followers","following_url":"https://api.github.com/users/AaronVanGeffen/following{/other_user}","gists_url":"https://api.github.com/users/AaronVanGeffen/gists{/gist_id}","starred_url":"https://api.github.com/users/AaronVanGeffen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AaronVanGeffen/subscriptions","organizations_url":"https://api.github.com/users/AaronVanGeffen/orgs","repos_url":"https://api.github.com/users/AaronVanGeffen/repos","events_url":"https://api.github.com/users/AaronVanGeffen/events{/privacy}","received_events_url":"https://api.github.com/users/AaronVanGeffen/received_events","type":"User","site_admin":false},"repo":{"id":43478022,"name":"OpenRCT2","full_name":"AaronVanGeffen/OpenRCT2","owner":{"login":"AaronVanGeffen","id":604665,"avatar_url":"https://avatars.githubusercontent.com/u/604665?v=3","gravatar_id":"","url":"https://api.github.com/users/AaronVanGeffen","html_url":"https://github.com/AaronVanGeffen","followers_url":"https://api.github.com/users/AaronVanGeffen/followers","following_url":"https://api.github.com/users/AaronVanGeffen/following{/other_user}","gists_url":"https://api.github.com/users/AaronVanGeffen/gists{/gist_id}","starred_url":"https://api.github.com/users/AaronVanGeffen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AaronVanGeffen/subscriptions","organizations_url":"https://api.github.com/users/AaronVanGeffen/orgs","repos_url":"https://api.github.com/users/AaronVanGeffen/repos","events_url":"https://api.github.com/users/AaronVanGeffen/events{/privacy}","received_events_url":"https://api.github.com/users/AaronVanGeffen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/AaronVanGeffen/OpenRCT2","description":"An open source re-implementation of Roller Coaster Tycoon 2.","fork":true,"url":"https://api.github.com/repos/AaronVanGeffen/OpenRCT2","forks_url":"https://api.github.com/repos/AaronVanGeffen/OpenRCT2/forks","keys_url":"https://api.github.com/repos/AaronVanGeffen/OpenRCT2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AaronVanGeffen/OpenRCT2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AaronVanGeffen/OpenRCT2/teams","hooks_url":"https://api.github.com/repos/AaronVanGeffen/OpenRCT2/hooks","issue_events_url":"https://api.github.com/repos/AaronVanGeffen/OpenRCT2/issues/events{/number}","events_url":"https://api.github.com/repos/AaronVanGeffen/OpenRCT2/events","assignees_url":"https://api.github.com/repos/AaronVanGeffen/OpenRCT2/assignees{/user}","branches_url":"https://api.github.com/repos/AaronVanGeffen/OpenRCT2/branches{/branch}","tags_url":"https://api.github.com/repos/AaronVanGeffen/OpenRCT2/tags","blobs_url":"https://api.github.com/repos/AaronVanGeffen/OpenRCT2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AaronVanGeffen/OpenRCT2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AaronVanGeffen/OpenRCT2/git/refs{/sha}","trees_url":"https://api.github.com/repos/AaronVanGeffen/OpenRCT2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AaronVanGeffen/OpenRCT2/statuses/{sha}","languages_url":"https://api.github.com/repos/AaronVanGeffen/OpenRCT2/languages","stargazers_url":"https://api.github.com/repos/AaronVanGeffen/OpenRCT2/stargazers","contributors_url":"https://api.github.com/repos/AaronVanGeffen/OpenRCT2/contributors","subscribers_url":"https://api.github.com/repos/AaronVanGeffen/OpenRCT2/subscribers","subscription_url":"https://api.github.com/repos/AaronVanGeffen/OpenRCT2/subscription","commits_url":"https://api.github.com/repos/AaronVanGeffen/OpenRCT2/commits{/sha}","git_commits_url":"https://api.github.com/repos/AaronVanGeffen/OpenRCT2/git/commits{/sha}","comments_url":"https://api.github.com/repos/AaronVanGeffen/OpenRCT2/comments{/number}","issue_comment_url":"https://api.github.com/repos/AaronVanGeffen/OpenRCT2/issues/comments{/number}","contents_url":"https://api.github.com/repos/AaronVanGeffen/OpenRCT2/contents/{+path}","compare_url":"https://api.github.com/repos/AaronVanGeffen/OpenRCT2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AaronVanGeffen/OpenRCT2/merges","archive_url":"https://api.github.com/repos/AaronVanGeffen/OpenRCT2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AaronVanGeffen/OpenRCT2/downloads","issues_url":"https://api.github.com/repos/AaronVanGeffen/OpenRCT2/issues{/number}","pulls_url":"https://api.github.com/repos/AaronVanGeffen/OpenRCT2/pulls{/number}","milestones_url":"https://api.github.com/repos/AaronVanGeffen/OpenRCT2/milestones{/number}","notifications_url":"https://api.github.com/repos/AaronVanGeffen/OpenRCT2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AaronVanGeffen/OpenRCT2/labels{/name}","releases_url":"https://api.github.com/repos/AaronVanGeffen/OpenRCT2/releases{/id}","created_at":"2015-10-01T04:16:29Z","updated_at":"2015-10-01T04:16:34Z","pushed_at":"2015-12-26T10:07:04Z","git_url":"git://github.com/AaronVanGeffen/OpenRCT2.git","ssh_url":"git@github.com:AaronVanGeffen/OpenRCT2.git","clone_url":"https://github.com/AaronVanGeffen/OpenRCT2.git","svn_url":"https://github.com/AaronVanGeffen/OpenRCT2","homepage":"http://openrct2.website","size":31913,"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":"develop"}},"base":{"label":"OpenRCT2:develop","ref":"develop","sha":"799d377d900d21d0e59da4f48f370ba2d3881a17","user":{"login":"OpenRCT2","id":8473908,"avatar_url":"https://avatars.githubusercontent.com/u/8473908?v=3","gravatar_id":"","url":"https://api.github.com/users/OpenRCT2","html_url":"https://github.com/OpenRCT2","followers_url":"https://api.github.com/users/OpenRCT2/followers","following_url":"https://api.github.com/users/OpenRCT2/following{/other_user}","gists_url":"https://api.github.com/users/OpenRCT2/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenRCT2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenRCT2/subscriptions","organizations_url":"https://api.github.com/users/OpenRCT2/orgs","repos_url":"https://api.github.com/users/OpenRCT2/repos","events_url":"https://api.github.com/users/OpenRCT2/events{/privacy}","received_events_url":"https://api.github.com/users/OpenRCT2/received_events","type":"Organization","site_admin":false},"repo":{"id":18348651,"name":"OpenRCT2","full_name":"OpenRCT2/OpenRCT2","owner":{"login":"OpenRCT2","id":8473908,"avatar_url":"https://avatars.githubusercontent.com/u/8473908?v=3","gravatar_id":"","url":"https://api.github.com/users/OpenRCT2","html_url":"https://github.com/OpenRCT2","followers_url":"https://api.github.com/users/OpenRCT2/followers","following_url":"https://api.github.com/users/OpenRCT2/following{/other_user}","gists_url":"https://api.github.com/users/OpenRCT2/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenRCT2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenRCT2/subscriptions","organizations_url":"https://api.github.com/users/OpenRCT2/orgs","repos_url":"https://api.github.com/users/OpenRCT2/repos","events_url":"https://api.github.com/users/OpenRCT2/events{/privacy}","received_events_url":"https://api.github.com/users/OpenRCT2/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OpenRCT2/OpenRCT2","description":"An open source re-implementation of Roller Coaster Tycoon 2.","fork":false,"url":"https://api.github.com/repos/OpenRCT2/OpenRCT2","forks_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/forks","keys_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/teams","hooks_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/hooks","issue_events_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/issues/events{/number}","events_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/events","assignees_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/assignees{/user}","branches_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/branches{/branch}","tags_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/tags","blobs_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/git/refs{/sha}","trees_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/statuses/{sha}","languages_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/languages","stargazers_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/stargazers","contributors_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/contributors","subscribers_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/subscribers","subscription_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/subscription","commits_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/commits{/sha}","git_commits_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/git/commits{/sha}","comments_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/comments{/number}","issue_comment_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/issues/comments{/number}","contents_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/contents/{+path}","compare_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/merges","archive_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/downloads","issues_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/issues{/number}","pulls_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/pulls{/number}","milestones_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/milestones{/number}","notifications_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/labels{/name}","releases_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/releases{/id}","created_at":"2014-04-01T23:32:25Z","updated_at":"2015-12-26T00:46:37Z","pushed_at":"2015-12-26T10:28:08Z","git_url":"git://github.com/OpenRCT2/OpenRCT2.git","ssh_url":"git@github.com:OpenRCT2/OpenRCT2.git","clone_url":"https://github.com/OpenRCT2/OpenRCT2.git","svn_url":"https://github.com/OpenRCT2/OpenRCT2","homepage":"http://openrct2.website","size":42672,"stargazers_count":1372,"watchers_count":1372,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":245,"mirror_url":null,"open_issues_count":328,"forks":245,"open_issues":328,"watchers":1372,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/OpenRCT2/OpenRCT2/pulls/2556"},"html":{"href":"https://github.com/OpenRCT2/OpenRCT2/pull/2556"},"issue":{"href":"https://api.github.com/repos/OpenRCT2/OpenRCT2/issues/2556"},"comments":{"href":"https://api.github.com/repos/OpenRCT2/OpenRCT2/issues/2556/comments"},"review_comments":{"href":"https://api.github.com/repos/OpenRCT2/OpenRCT2/pulls/2556/comments"},"review_comment":{"href":"https://api.github.com/repos/OpenRCT2/OpenRCT2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OpenRCT2/OpenRCT2/pulls/2556/commits"},"statuses":{"href":"https://api.github.com/repos/OpenRCT2/OpenRCT2/statuses/3d99b73ae13f54889bae437f4784edb95880a014"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"IntelOrca","id":1482259,"avatar_url":"https://avatars.githubusercontent.com/u/1482259?v=3","gravatar_id":"","url":"https://api.github.com/users/IntelOrca","html_url":"https://github.com/IntelOrca","followers_url":"https://api.github.com/users/IntelOrca/followers","following_url":"https://api.github.com/users/IntelOrca/following{/other_user}","gists_url":"https://api.github.com/users/IntelOrca/gists{/gist_id}","starred_url":"https://api.github.com/users/IntelOrca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IntelOrca/subscriptions","organizations_url":"https://api.github.com/users/IntelOrca/orgs","repos_url":"https://api.github.com/users/IntelOrca/repos","events_url":"https://api.github.com/users/IntelOrca/events{/privacy}","received_events_url":"https://api.github.com/users/IntelOrca/received_events","type":"User","site_admin":false},"comments":2,"review_comments":0,"commits":3,"additions":243,"deletions":240,"changed_files":32}}