{"action":"created","comment":{"url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/pulls/comments/59685141","id":59685141,"diff_hunk":"@@ -920,10 +927,12 @@ int sub_98196C(int image_id, sint8 x_offset, sint8 y_offset, sint16 length_x, si\n  * @param z_offset (ah)\n  * @param height (edx)\n  * @param rotation\n- * @return ??\n+ * @param word_52 (0x009DEA52)\n+ * @param word_54 (0x009DEA54)\n+ * @param word_56 (0x009DEA56)\n  */\n-int sub_98197C(int image_id, sint8 x_offset, sint8 y_offset, sint16 length_x, sint16 length_y, sint8 z_offset, int height, uint32 rotation){\n-\tint ebp = z_offset + RCT2_GLOBAL(0x9DEA56, sint16);\n+int sub_98197C(int image_id, sint8 x_offset, sint8 y_offset, sint16 length_x, sint16 length_y, sint8 z_offset, int height, uint32 rotation, sint16 s_unk_x, sint16 s_unk_y, sint16 word_56) {","path":"src/interface/viewport.c","position":29,"original_position":29,"commit_id":"3bb22142351d97105c2234c5270fdf1bbcf5b43c","original_commit_id":"3bb22142351d97105c2234c5270fdf1bbcf5b43c","user":{"login":"marijnvdwerf","id":737603,"avatar_url":"https://avatars.githubusercontent.com/u/737603?v=3","gravatar_id":"","url":"https://api.github.com/users/marijnvdwerf","html_url":"https://github.com/marijnvdwerf","followers_url":"https://api.github.com/users/marijnvdwerf/followers","following_url":"https://api.github.com/users/marijnvdwerf/following{/other_user}","gists_url":"https://api.github.com/users/marijnvdwerf/gists{/gist_id}","starred_url":"https://api.github.com/users/marijnvdwerf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marijnvdwerf/subscriptions","organizations_url":"https://api.github.com/users/marijnvdwerf/orgs","repos_url":"https://api.github.com/users/marijnvdwerf/repos","events_url":"https://api.github.com/users/marijnvdwerf/events{/privacy}","received_events_url":"https://api.github.com/users/marijnvdwerf/received_events","type":"User","site_admin":false},"body":"@IntelOrca @duncanspumpkin Pretty much all assignments are done with `uint16`, but reading is being done with `sint16`. Which one should it be?","created_at":"2016-04-14T09:11:12Z","updated_at":"2016-04-14T09:11:12Z","html_url":"https://github.com/OpenRCT2/OpenRCT2/pull/3299#discussion_r59685141","pull_request_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/pulls/3299","_links":{"self":{"href":"https://api.github.com/repos/OpenRCT2/OpenRCT2/pulls/comments/59685141"},"html":{"href":"https://github.com/OpenRCT2/OpenRCT2/pull/3299#discussion_r59685141"},"pull_request":{"href":"https://api.github.com/repos/OpenRCT2/OpenRCT2/pulls/3299"}}},"pull_request":{"url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/pulls/3299","id":66451181,"html_url":"https://github.com/OpenRCT2/OpenRCT2/pull/3299","diff_url":"https://github.com/OpenRCT2/OpenRCT2/pull/3299.diff","patch_url":"https://github.com/OpenRCT2/OpenRCT2/pull/3299.patch","issue_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/issues/3299","number":3299,"state":"open","locked":false,"title":"WIP Paint setup/cleanup","user":{"login":"marijnvdwerf","id":737603,"avatar_url":"https://avatars.githubusercontent.com/u/737603?v=3","gravatar_id":"","url":"https://api.github.com/users/marijnvdwerf","html_url":"https://github.com/marijnvdwerf","followers_url":"https://api.github.com/users/marijnvdwerf/followers","following_url":"https://api.github.com/users/marijnvdwerf/following{/other_user}","gists_url":"https://api.github.com/users/marijnvdwerf/gists{/gist_id}","starred_url":"https://api.github.com/users/marijnvdwerf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marijnvdwerf/subscriptions","organizations_url":"https://api.github.com/users/marijnvdwerf/orgs","repos_url":"https://api.github.com/users/marijnvdwerf/repos","events_url":"https://api.github.com/users/marijnvdwerf/events{/privacy}","received_events_url":"https://api.github.com/users/marijnvdwerf/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-04-14T09:09:18Z","updated_at":"2016-04-14T09:11:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"989aa2ad37d9d125b28c68659a3df6c30363e773","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/pulls/3299/commits","review_comments_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/pulls/3299/comments","review_comment_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/issues/3299/comments","statuses_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/statuses/3bb22142351d97105c2234c5270fdf1bbcf5b43c","head":{"label":"marijnvdwerf:paint-setup/cleanup","ref":"paint-setup/cleanup","sha":"3bb22142351d97105c2234c5270fdf1bbcf5b43c","user":{"login":"marijnvdwerf","id":737603,"avatar_url":"https://avatars.githubusercontent.com/u/737603?v=3","gravatar_id":"","url":"https://api.github.com/users/marijnvdwerf","html_url":"https://github.com/marijnvdwerf","followers_url":"https://api.github.com/users/marijnvdwerf/followers","following_url":"https://api.github.com/users/marijnvdwerf/following{/other_user}","gists_url":"https://api.github.com/users/marijnvdwerf/gists{/gist_id}","starred_url":"https://api.github.com/users/marijnvdwerf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marijnvdwerf/subscriptions","organizations_url":"https://api.github.com/users/marijnvdwerf/orgs","repos_url":"https://api.github.com/users/marijnvdwerf/repos","events_url":"https://api.github.com/users/marijnvdwerf/events{/privacy}","received_events_url":"https://api.github.com/users/marijnvdwerf/received_events","type":"User","site_admin":false},"repo":{"id":49390041,"name":"OpenRCT2","full_name":"marijnvdwerf/OpenRCT2","owner":{"login":"marijnvdwerf","id":737603,"avatar_url":"https://avatars.githubusercontent.com/u/737603?v=3","gravatar_id":"","url":"https://api.github.com/users/marijnvdwerf","html_url":"https://github.com/marijnvdwerf","followers_url":"https://api.github.com/users/marijnvdwerf/followers","following_url":"https://api.github.com/users/marijnvdwerf/following{/other_user}","gists_url":"https://api.github.com/users/marijnvdwerf/gists{/gist_id}","starred_url":"https://api.github.com/users/marijnvdwerf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marijnvdwerf/subscriptions","organizations_url":"https://api.github.com/users/marijnvdwerf/orgs","repos_url":"https://api.github.com/users/marijnvdwerf/repos","events_url":"https://api.github.com/users/marijnvdwerf/events{/privacy}","received_events_url":"https://api.github.com/users/marijnvdwerf/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/marijnvdwerf/OpenRCT2","description":"An open source re-implementation of Roller Coaster Tycoon 2.","fork":true,"url":"https://api.github.com/repos/marijnvdwerf/OpenRCT2","forks_url":"https://api.github.com/repos/marijnvdwerf/OpenRCT2/forks","keys_url":"https://api.github.com/repos/marijnvdwerf/OpenRCT2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/marijnvdwerf/OpenRCT2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/marijnvdwerf/OpenRCT2/teams","hooks_url":"https://api.github.com/repos/marijnvdwerf/OpenRCT2/hooks","issue_events_url":"https://api.github.com/repos/marijnvdwerf/OpenRCT2/issues/events{/number}","events_url":"https://api.github.com/repos/marijnvdwerf/OpenRCT2/events","assignees_url":"https://api.github.com/repos/marijnvdwerf/OpenRCT2/assignees{/user}","branches_url":"https://api.github.com/repos/marijnvdwerf/OpenRCT2/branches{/branch}","tags_url":"https://api.github.com/repos/marijnvdwerf/OpenRCT2/tags","blobs_url":"https://api.github.com/repos/marijnvdwerf/OpenRCT2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/marijnvdwerf/OpenRCT2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/marijnvdwerf/OpenRCT2/git/refs{/sha}","trees_url":"https://api.github.com/repos/marijnvdwerf/OpenRCT2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/marijnvdwerf/OpenRCT2/statuses/{sha}","languages_url":"https://api.github.com/repos/marijnvdwerf/OpenRCT2/languages","stargazers_url":"https://api.github.com/repos/marijnvdwerf/OpenRCT2/stargazers","contributors_url":"https://api.github.com/repos/marijnvdwerf/OpenRCT2/contributors","subscribers_url":"https://api.github.com/repos/marijnvdwerf/OpenRCT2/subscribers","subscription_url":"https://api.github.com/repos/marijnvdwerf/OpenRCT2/subscription","commits_url":"https://api.github.com/repos/marijnvdwerf/OpenRCT2/commits{/sha}","git_commits_url":"https://api.github.com/repos/marijnvdwerf/OpenRCT2/git/commits{/sha}","comments_url":"https://api.github.com/repos/marijnvdwerf/OpenRCT2/comments{/number}","issue_comment_url":"https://api.github.com/repos/marijnvdwerf/OpenRCT2/issues/comments{/number}","contents_url":"https://api.github.com/repos/marijnvdwerf/OpenRCT2/contents/{+path}","compare_url":"https://api.github.com/repos/marijnvdwerf/OpenRCT2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/marijnvdwerf/OpenRCT2/merges","archive_url":"https://api.github.com/repos/marijnvdwerf/OpenRCT2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/marijnvdwerf/OpenRCT2/downloads","issues_url":"https://api.github.com/repos/marijnvdwerf/OpenRCT2/issues{/number}","pulls_url":"https://api.github.com/repos/marijnvdwerf/OpenRCT2/pulls{/number}","milestones_url":"https://api.github.com/repos/marijnvdwerf/OpenRCT2/milestones{/number}","notifications_url":"https://api.github.com/repos/marijnvdwerf/OpenRCT2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/marijnvdwerf/OpenRCT2/labels{/name}","releases_url":"https://api.github.com/repos/marijnvdwerf/OpenRCT2/releases{/id}","deployments_url":"https://api.github.com/repos/marijnvdwerf/OpenRCT2/deployments","created_at":"2016-01-10T23:14:37Z","updated_at":"2016-01-10T23:14:39Z","pushed_at":"2016-04-14T09:07:49Z","git_url":"git://github.com/marijnvdwerf/OpenRCT2.git","ssh_url":"git@github.com:marijnvdwerf/OpenRCT2.git","clone_url":"https://github.com/marijnvdwerf/OpenRCT2.git","svn_url":"https://github.com/marijnvdwerf/OpenRCT2","homepage":"http://openrct2.website","size":27835,"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":"1237bcab264402dc69e95d03a9b1d3074798ba79","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}","deployments_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/deployments","created_at":"2014-04-01T23:32:25Z","updated_at":"2016-04-14T08:01:15Z","pushed_at":"2016-04-14T09:09:18Z","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":53425,"stargazers_count":1699,"watchers_count":1699,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":316,"mirror_url":null,"open_issues_count":462,"forks":316,"open_issues":462,"watchers":1699,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/OpenRCT2/OpenRCT2/pulls/3299"},"html":{"href":"https://github.com/OpenRCT2/OpenRCT2/pull/3299"},"issue":{"href":"https://api.github.com/repos/OpenRCT2/OpenRCT2/issues/3299"},"comments":{"href":"https://api.github.com/repos/OpenRCT2/OpenRCT2/issues/3299/comments"},"review_comments":{"href":"https://api.github.com/repos/OpenRCT2/OpenRCT2/pulls/3299/comments"},"review_comment":{"href":"https://api.github.com/repos/OpenRCT2/OpenRCT2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OpenRCT2/OpenRCT2/pulls/3299/commits"},"statuses":{"href":"https://api.github.com/repos/OpenRCT2/OpenRCT2/statuses/3bb22142351d97105c2234c5270fdf1bbcf5b43c"}}}}