{"action":"created","comment":{"url":"https://api.github.com/repos/IntelOrca/OpenRCT2/pulls/comments/30721514","id":30721514,"diff_hunk":"@@ -412,6 +412,75 @@ int cmdline_for_sprite(const char **argv, int argc)\n \t\t\treturn -1;\n \n \t\treturn 1;\n+\t}\n+\telse if (_strcmpi(argv[0], \"build\") == 0) {\n+\t\t/*if (argc < 3) {\n+\t\t\tfprintf(stderr, \"usage: sprite build [spritefile] [resources]\\n\");\n+\t\t\treturn -1;\n+\t\t}*/\n+\n+\t\tconst char *spriteFilePath = \"../../data/g2.dat\";\n+\t\tconst char *resourcePath = \"../../resources/g2/\";","path":"src/cmdline_sprite.c","position":12,"original_position":12,"commit_id":"c7e3639663643855f130ec64a219ef0cb44eb2ad","original_commit_id":"c7e3639663643855f130ec64a219ef0cb44eb2ad","user":{"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},"body":"These should be taken from command line arguments rather than be fixed.","created_at":"2015-05-20T16:34:44Z","updated_at":"2015-05-20T16:34:44Z","html_url":"https://github.com/IntelOrca/OpenRCT2/pull/1112#discussion_r30721514","pull_request_url":"https://api.github.com/repos/IntelOrca/OpenRCT2/pulls/1112","_links":{"self":{"href":"https://api.github.com/repos/IntelOrca/OpenRCT2/pulls/comments/30721514"},"html":{"href":"https://github.com/IntelOrca/OpenRCT2/pull/1112#discussion_r30721514"},"pull_request":{"href":"https://api.github.com/repos/IntelOrca/OpenRCT2/pulls/1112"}}},"pull_request":{"url":"https://api.github.com/repos/IntelOrca/OpenRCT2/pulls/1112","id":35846949,"html_url":"https://github.com/IntelOrca/OpenRCT2/pull/1112","diff_url":"https://github.com/IntelOrca/OpenRCT2/pull/1112.diff","patch_url":"https://github.com/IntelOrca/OpenRCT2/pull/1112.patch","issue_url":"https://api.github.com/repos/IntelOrca/OpenRCT2/issues/1112","number":1112,"state":"open","locked":false,"title":"Sprite build command","user":{"login":"trigger-death","id":9752430,"avatar_url":"https://avatars.githubusercontent.com/u/9752430?v=3","gravatar_id":"","url":"https://api.github.com/users/trigger-death","html_url":"https://github.com/trigger-death","followers_url":"https://api.github.com/users/trigger-death/followers","following_url":"https://api.github.com/users/trigger-death/following{/other_user}","gists_url":"https://api.github.com/users/trigger-death/gists{/gist_id}","starred_url":"https://api.github.com/users/trigger-death/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trigger-death/subscriptions","organizations_url":"https://api.github.com/users/trigger-death/orgs","repos_url":"https://api.github.com/users/trigger-death/repos","events_url":"https://api.github.com/users/trigger-death/events{/privacy}","received_events_url":"https://api.github.com/users/trigger-death/received_events","type":"User","site_admin":false},"body":"build uses ../../data/g2.dat and all numbered images in\r\n../../resources/g2/.\r\nNo other parameters needed.\r\nAlso changed speed button hyper arrows to support game speeds inbetween\r\n4 and 8.","created_at":"2015-05-20T15:53:01Z","updated_at":"2015-05-20T16:34:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"722758f30b18bcf3181259976dfce2bf8e76e770","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/IntelOrca/OpenRCT2/pulls/1112/commits","review_comments_url":"https://api.github.com/repos/IntelOrca/OpenRCT2/pulls/1112/comments","review_comment_url":"https://api.github.com/repos/IntelOrca/OpenRCT2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/IntelOrca/OpenRCT2/issues/1112/comments","statuses_url":"https://api.github.com/repos/IntelOrca/OpenRCT2/statuses/c7e3639663643855f130ec64a219ef0cb44eb2ad","head":{"label":"trigger-death:sprite-build-command","ref":"sprite-build-command","sha":"c7e3639663643855f130ec64a219ef0cb44eb2ad","user":{"login":"trigger-death","id":9752430,"avatar_url":"https://avatars.githubusercontent.com/u/9752430?v=3","gravatar_id":"","url":"https://api.github.com/users/trigger-death","html_url":"https://github.com/trigger-death","followers_url":"https://api.github.com/users/trigger-death/followers","following_url":"https://api.github.com/users/trigger-death/following{/other_user}","gists_url":"https://api.github.com/users/trigger-death/gists{/gist_id}","starred_url":"https://api.github.com/users/trigger-death/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trigger-death/subscriptions","organizations_url":"https://api.github.com/users/trigger-death/orgs","repos_url":"https://api.github.com/users/trigger-death/repos","events_url":"https://api.github.com/users/trigger-death/events{/privacy}","received_events_url":"https://api.github.com/users/trigger-death/received_events","type":"User","site_admin":false},"repo":{"id":35773318,"name":"OpenRCT2","full_name":"trigger-death/OpenRCT2","owner":{"login":"trigger-death","id":9752430,"avatar_url":"https://avatars.githubusercontent.com/u/9752430?v=3","gravatar_id":"","url":"https://api.github.com/users/trigger-death","html_url":"https://github.com/trigger-death","followers_url":"https://api.github.com/users/trigger-death/followers","following_url":"https://api.github.com/users/trigger-death/following{/other_user}","gists_url":"https://api.github.com/users/trigger-death/gists{/gist_id}","starred_url":"https://api.github.com/users/trigger-death/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trigger-death/subscriptions","organizations_url":"https://api.github.com/users/trigger-death/orgs","repos_url":"https://api.github.com/users/trigger-death/repos","events_url":"https://api.github.com/users/trigger-death/events{/privacy}","received_events_url":"https://api.github.com/users/trigger-death/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/trigger-death/OpenRCT2","description":"An open source clone of Roller Coaster Tycoon 2 built by decompiling the original game one bit at a time.","fork":true,"url":"https://api.github.com/repos/trigger-death/OpenRCT2","forks_url":"https://api.github.com/repos/trigger-death/OpenRCT2/forks","keys_url":"https://api.github.com/repos/trigger-death/OpenRCT2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/trigger-death/OpenRCT2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/trigger-death/OpenRCT2/teams","hooks_url":"https://api.github.com/repos/trigger-death/OpenRCT2/hooks","issue_events_url":"https://api.github.com/repos/trigger-death/OpenRCT2/issues/events{/number}","events_url":"https://api.github.com/repos/trigger-death/OpenRCT2/events","assignees_url":"https://api.github.com/repos/trigger-death/OpenRCT2/assignees{/user}","branches_url":"https://api.github.com/repos/trigger-death/OpenRCT2/branches{/branch}","tags_url":"https://api.github.com/repos/trigger-death/OpenRCT2/tags","blobs_url":"https://api.github.com/repos/trigger-death/OpenRCT2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/trigger-death/OpenRCT2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/trigger-death/OpenRCT2/git/refs{/sha}","trees_url":"https://api.github.com/repos/trigger-death/OpenRCT2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/trigger-death/OpenRCT2/statuses/{sha}","languages_url":"https://api.github.com/repos/trigger-death/OpenRCT2/languages","stargazers_url":"https://api.github.com/repos/trigger-death/OpenRCT2/stargazers","contributors_url":"https://api.github.com/repos/trigger-death/OpenRCT2/contributors","subscribers_url":"https://api.github.com/repos/trigger-death/OpenRCT2/subscribers","subscription_url":"https://api.github.com/repos/trigger-death/OpenRCT2/subscription","commits_url":"https://api.github.com/repos/trigger-death/OpenRCT2/commits{/sha}","git_commits_url":"https://api.github.com/repos/trigger-death/OpenRCT2/git/commits{/sha}","comments_url":"https://api.github.com/repos/trigger-death/OpenRCT2/comments{/number}","issue_comment_url":"https://api.github.com/repos/trigger-death/OpenRCT2/issues/comments{/number}","contents_url":"https://api.github.com/repos/trigger-death/OpenRCT2/contents/{+path}","compare_url":"https://api.github.com/repos/trigger-death/OpenRCT2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/trigger-death/OpenRCT2/merges","archive_url":"https://api.github.com/repos/trigger-death/OpenRCT2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/trigger-death/OpenRCT2/downloads","issues_url":"https://api.github.com/repos/trigger-death/OpenRCT2/issues{/number}","pulls_url":"https://api.github.com/repos/trigger-death/OpenRCT2/pulls{/number}","milestones_url":"https://api.github.com/repos/trigger-death/OpenRCT2/milestones{/number}","notifications_url":"https://api.github.com/repos/trigger-death/OpenRCT2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/trigger-death/OpenRCT2/labels{/name}","releases_url":"https://api.github.com/repos/trigger-death/OpenRCT2/releases{/id}","created_at":"2015-05-17T16:23:28Z","updated_at":"2015-05-17T16:23:29Z","pushed_at":"2015-05-20T15:58:52Z","git_url":"git://github.com/trigger-death/OpenRCT2.git","ssh_url":"git@github.com:trigger-death/OpenRCT2.git","clone_url":"https://github.com/trigger-death/OpenRCT2.git","svn_url":"https://github.com/trigger-death/OpenRCT2","homepage":null,"size":17746,"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":"IntelOrca:develop","ref":"develop","sha":"86a1ba39946eff98d2d7db3c7af8e8847b1def84","user":{"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},"repo":{"id":18348651,"name":"OpenRCT2","full_name":"IntelOrca/OpenRCT2","owner":{"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},"private":false,"html_url":"https://github.com/IntelOrca/OpenRCT2","description":"An open source clone of Roller Coaster Tycoon 2 built by decompiling the original game one bit at a time.","fork":false,"url":"https://api.github.com/repos/IntelOrca/OpenRCT2","forks_url":"https://api.github.com/repos/IntelOrca/OpenRCT2/forks","keys_url":"https://api.github.com/repos/IntelOrca/OpenRCT2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/IntelOrca/OpenRCT2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/IntelOrca/OpenRCT2/teams","hooks_url":"https://api.github.com/repos/IntelOrca/OpenRCT2/hooks","issue_events_url":"https://api.github.com/repos/IntelOrca/OpenRCT2/issues/events{/number}","events_url":"https://api.github.com/repos/IntelOrca/OpenRCT2/events","assignees_url":"https://api.github.com/repos/IntelOrca/OpenRCT2/assignees{/user}","branches_url":"https://api.github.com/repos/IntelOrca/OpenRCT2/branches{/branch}","tags_url":"https://api.github.com/repos/IntelOrca/OpenRCT2/tags","blobs_url":"https://api.github.com/repos/IntelOrca/OpenRCT2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/IntelOrca/OpenRCT2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/IntelOrca/OpenRCT2/git/refs{/sha}","trees_url":"https://api.github.com/repos/IntelOrca/OpenRCT2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/IntelOrca/OpenRCT2/statuses/{sha}","languages_url":"https://api.github.com/repos/IntelOrca/OpenRCT2/languages","stargazers_url":"https://api.github.com/repos/IntelOrca/OpenRCT2/stargazers","contributors_url":"https://api.github.com/repos/IntelOrca/OpenRCT2/contributors","subscribers_url":"https://api.github.com/repos/IntelOrca/OpenRCT2/subscribers","subscription_url":"https://api.github.com/repos/IntelOrca/OpenRCT2/subscription","commits_url":"https://api.github.com/repos/IntelOrca/OpenRCT2/commits{/sha}","git_commits_url":"https://api.github.com/repos/IntelOrca/OpenRCT2/git/commits{/sha}","comments_url":"https://api.github.com/repos/IntelOrca/OpenRCT2/comments{/number}","issue_comment_url":"https://api.github.com/repos/IntelOrca/OpenRCT2/issues/comments{/number}","contents_url":"https://api.github.com/repos/IntelOrca/OpenRCT2/contents/{+path}","compare_url":"https://api.github.com/repos/IntelOrca/OpenRCT2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/IntelOrca/OpenRCT2/merges","archive_url":"https://api.github.com/repos/IntelOrca/OpenRCT2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/IntelOrca/OpenRCT2/downloads","issues_url":"https://api.github.com/repos/IntelOrca/OpenRCT2/issues{/number}","pulls_url":"https://api.github.com/repos/IntelOrca/OpenRCT2/pulls{/number}","milestones_url":"https://api.github.com/repos/IntelOrca/OpenRCT2/milestones{/number}","notifications_url":"https://api.github.com/repos/IntelOrca/OpenRCT2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/IntelOrca/OpenRCT2/labels{/name}","releases_url":"https://api.github.com/repos/IntelOrca/OpenRCT2/releases{/id}","created_at":"2014-04-01T23:32:25Z","updated_at":"2015-05-19T21:08:59Z","pushed_at":"2015-05-20T16:33:04Z","git_url":"git://github.com/IntelOrca/OpenRCT2.git","ssh_url":"git@github.com:IntelOrca/OpenRCT2.git","clone_url":"https://github.com/IntelOrca/OpenRCT2.git","svn_url":"https://github.com/IntelOrca/OpenRCT2","homepage":null,"size":26641,"stargazers_count":876,"watchers_count":876,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":125,"mirror_url":null,"open_issues_count":128,"forks":125,"open_issues":128,"watchers":876,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/IntelOrca/OpenRCT2/pulls/1112"},"html":{"href":"https://github.com/IntelOrca/OpenRCT2/pull/1112"},"issue":{"href":"https://api.github.com/repos/IntelOrca/OpenRCT2/issues/1112"},"comments":{"href":"https://api.github.com/repos/IntelOrca/OpenRCT2/issues/1112/comments"},"review_comments":{"href":"https://api.github.com/repos/IntelOrca/OpenRCT2/pulls/1112/comments"},"review_comment":{"href":"https://api.github.com/repos/IntelOrca/OpenRCT2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/IntelOrca/OpenRCT2/pulls/1112/commits"},"statuses":{"href":"https://api.github.com/repos/IntelOrca/OpenRCT2/statuses/c7e3639663643855f130ec64a219ef0cb44eb2ad"}}}}