{"action":"opened","number":144,"pull_request":{"url":"https://api.github.com/repos/recastnavigation/recastnavigation/pulls/144","id":55005956,"html_url":"https://github.com/recastnavigation/recastnavigation/pull/144","diff_url":"https://github.com/recastnavigation/recastnavigation/pull/144.diff","patch_url":"https://github.com/recastnavigation/recastnavigation/pull/144.patch","issue_url":"https://api.github.com/repos/recastnavigation/recastnavigation/issues/144","number":144,"state":"open","locked":false,"title":"Updated RecastDemo to SDL2","user":{"login":"grahamboree","id":1139220,"avatar_url":"https://avatars.githubusercontent.com/u/1139220?v=3","gravatar_id":"","url":"https://api.github.com/users/grahamboree","html_url":"https://github.com/grahamboree","followers_url":"https://api.github.com/users/grahamboree/followers","following_url":"https://api.github.com/users/grahamboree/following{/other_user}","gists_url":"https://api.github.com/users/grahamboree/gists{/gist_id}","starred_url":"https://api.github.com/users/grahamboree/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grahamboree/subscriptions","organizations_url":"https://api.github.com/users/grahamboree/orgs","repos_url":"https://api.github.com/users/grahamboree/repos","events_url":"https://api.github.com/users/grahamboree/events{/privacy}","received_events_url":"https://api.github.com/users/grahamboree/received_events","type":"User","site_admin":false},"body":"The main motivation for this was to allow the project to build in Visual Studio 2015, as SDL 1.2 wasn't being maintained to allow for that.  In addition to the upgrade I changed a bunch of variable names to be less cryptic, though there still could be a lot more cleanup done in main.\r\n\r\nChanges:\r\n* Renamed a bunch of variables in main.cpp to be more descriptive.\r\n* Removed unnecessary SDLMain.h and SDLMain.m OSX objective-c class as well as the plist, strings, xib and icns files, which are not needed.\r\n* included cstdio in imguiRenderGL since SDL2 doesn't do it for us like SDL1.2 did.\r\n* Updated premake5 script to support SDL2.  Also updated it to correctly set the debug working directory, as well as copy the SDL2.dll to the target directory in Visual Studio.\r\n* Updated readme with more descriptive & platform-specific demo project setup instructions\r\n* Updated appveyor build script to build vs2015 as well.\r\n\r\nFixes #135 ","created_at":"2016-01-04T18:28:16Z","updated_at":"2016-01-04T18:28:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/recastnavigation/recastnavigation/pulls/144/commits","review_comments_url":"https://api.github.com/repos/recastnavigation/recastnavigation/pulls/144/comments","review_comment_url":"https://api.github.com/repos/recastnavigation/recastnavigation/pulls/comments{/number}","comments_url":"https://api.github.com/repos/recastnavigation/recastnavigation/issues/144/comments","statuses_url":"https://api.github.com/repos/recastnavigation/recastnavigation/statuses/828a2005b61016040376fec1dce9f6bf34a5cc12","head":{"label":"grahamboree:SDL2","ref":"SDL2","sha":"828a2005b61016040376fec1dce9f6bf34a5cc12","user":{"login":"grahamboree","id":1139220,"avatar_url":"https://avatars.githubusercontent.com/u/1139220?v=3","gravatar_id":"","url":"https://api.github.com/users/grahamboree","html_url":"https://github.com/grahamboree","followers_url":"https://api.github.com/users/grahamboree/followers","following_url":"https://api.github.com/users/grahamboree/following{/other_user}","gists_url":"https://api.github.com/users/grahamboree/gists{/gist_id}","starred_url":"https://api.github.com/users/grahamboree/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grahamboree/subscriptions","organizations_url":"https://api.github.com/users/grahamboree/orgs","repos_url":"https://api.github.com/users/grahamboree/repos","events_url":"https://api.github.com/users/grahamboree/events{/privacy}","received_events_url":"https://api.github.com/users/grahamboree/received_events","type":"User","site_admin":false},"repo":{"id":23604498,"name":"recastnavigation","full_name":"grahamboree/recastnavigation","owner":{"login":"grahamboree","id":1139220,"avatar_url":"https://avatars.githubusercontent.com/u/1139220?v=3","gravatar_id":"","url":"https://api.github.com/users/grahamboree","html_url":"https://github.com/grahamboree","followers_url":"https://api.github.com/users/grahamboree/followers","following_url":"https://api.github.com/users/grahamboree/following{/other_user}","gists_url":"https://api.github.com/users/grahamboree/gists{/gist_id}","starred_url":"https://api.github.com/users/grahamboree/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grahamboree/subscriptions","organizations_url":"https://api.github.com/users/grahamboree/orgs","repos_url":"https://api.github.com/users/grahamboree/repos","events_url":"https://api.github.com/users/grahamboree/events{/privacy}","received_events_url":"https://api.github.com/users/grahamboree/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/grahamboree/recastnavigation","description":"Navigation-mesh Toolset for Games","fork":true,"url":"https://api.github.com/repos/grahamboree/recastnavigation","forks_url":"https://api.github.com/repos/grahamboree/recastnavigation/forks","keys_url":"https://api.github.com/repos/grahamboree/recastnavigation/keys{/key_id}","collaborators_url":"https://api.github.com/repos/grahamboree/recastnavigation/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/grahamboree/recastnavigation/teams","hooks_url":"https://api.github.com/repos/grahamboree/recastnavigation/hooks","issue_events_url":"https://api.github.com/repos/grahamboree/recastnavigation/issues/events{/number}","events_url":"https://api.github.com/repos/grahamboree/recastnavigation/events","assignees_url":"https://api.github.com/repos/grahamboree/recastnavigation/assignees{/user}","branches_url":"https://api.github.com/repos/grahamboree/recastnavigation/branches{/branch}","tags_url":"https://api.github.com/repos/grahamboree/recastnavigation/tags","blobs_url":"https://api.github.com/repos/grahamboree/recastnavigation/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/grahamboree/recastnavigation/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/grahamboree/recastnavigation/git/refs{/sha}","trees_url":"https://api.github.com/repos/grahamboree/recastnavigation/git/trees{/sha}","statuses_url":"https://api.github.com/repos/grahamboree/recastnavigation/statuses/{sha}","languages_url":"https://api.github.com/repos/grahamboree/recastnavigation/languages","stargazers_url":"https://api.github.com/repos/grahamboree/recastnavigation/stargazers","contributors_url":"https://api.github.com/repos/grahamboree/recastnavigation/contributors","subscribers_url":"https://api.github.com/repos/grahamboree/recastnavigation/subscribers","subscription_url":"https://api.github.com/repos/grahamboree/recastnavigation/subscription","commits_url":"https://api.github.com/repos/grahamboree/recastnavigation/commits{/sha}","git_commits_url":"https://api.github.com/repos/grahamboree/recastnavigation/git/commits{/sha}","comments_url":"https://api.github.com/repos/grahamboree/recastnavigation/comments{/number}","issue_comment_url":"https://api.github.com/repos/grahamboree/recastnavigation/issues/comments{/number}","contents_url":"https://api.github.com/repos/grahamboree/recastnavigation/contents/{+path}","compare_url":"https://api.github.com/repos/grahamboree/recastnavigation/compare/{base}...{head}","merges_url":"https://api.github.com/repos/grahamboree/recastnavigation/merges","archive_url":"https://api.github.com/repos/grahamboree/recastnavigation/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/grahamboree/recastnavigation/downloads","issues_url":"https://api.github.com/repos/grahamboree/recastnavigation/issues{/number}","pulls_url":"https://api.github.com/repos/grahamboree/recastnavigation/pulls{/number}","milestones_url":"https://api.github.com/repos/grahamboree/recastnavigation/milestones{/number}","notifications_url":"https://api.github.com/repos/grahamboree/recastnavigation/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/grahamboree/recastnavigation/labels{/name}","releases_url":"https://api.github.com/repos/grahamboree/recastnavigation/releases{/id}","created_at":"2014-09-03T03:01:23Z","updated_at":"2015-01-08T22:51:31Z","pushed_at":"2016-01-04T18:26:57Z","git_url":"git://github.com/grahamboree/recastnavigation.git","ssh_url":"git@github.com:grahamboree/recastnavigation.git","clone_url":"https://github.com/grahamboree/recastnavigation.git","svn_url":"https://github.com/grahamboree/recastnavigation","homepage":null,"size":19708,"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":"master"}},"base":{"label":"recastnavigation:master","ref":"master","sha":"43a20cce42da969f59387718d2113a918a2977ab","user":{"login":"recastnavigation","id":16167685,"avatar_url":"https://avatars.githubusercontent.com/u/16167685?v=3","gravatar_id":"","url":"https://api.github.com/users/recastnavigation","html_url":"https://github.com/recastnavigation","followers_url":"https://api.github.com/users/recastnavigation/followers","following_url":"https://api.github.com/users/recastnavigation/following{/other_user}","gists_url":"https://api.github.com/users/recastnavigation/gists{/gist_id}","starred_url":"https://api.github.com/users/recastnavigation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/recastnavigation/subscriptions","organizations_url":"https://api.github.com/users/recastnavigation/orgs","repos_url":"https://api.github.com/users/recastnavigation/repos","events_url":"https://api.github.com/users/recastnavigation/events{/privacy}","received_events_url":"https://api.github.com/users/recastnavigation/received_events","type":"Organization","site_admin":false},"repo":{"id":12849977,"name":"recastnavigation","full_name":"recastnavigation/recastnavigation","owner":{"login":"recastnavigation","id":16167685,"avatar_url":"https://avatars.githubusercontent.com/u/16167685?v=3","gravatar_id":"","url":"https://api.github.com/users/recastnavigation","html_url":"https://github.com/recastnavigation","followers_url":"https://api.github.com/users/recastnavigation/followers","following_url":"https://api.github.com/users/recastnavigation/following{/other_user}","gists_url":"https://api.github.com/users/recastnavigation/gists{/gist_id}","starred_url":"https://api.github.com/users/recastnavigation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/recastnavigation/subscriptions","organizations_url":"https://api.github.com/users/recastnavigation/orgs","repos_url":"https://api.github.com/users/recastnavigation/repos","events_url":"https://api.github.com/users/recastnavigation/events{/privacy}","received_events_url":"https://api.github.com/users/recastnavigation/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/recastnavigation/recastnavigation","description":"Navigation-mesh Toolset for Games","fork":false,"url":"https://api.github.com/repos/recastnavigation/recastnavigation","forks_url":"https://api.github.com/repos/recastnavigation/recastnavigation/forks","keys_url":"https://api.github.com/repos/recastnavigation/recastnavigation/keys{/key_id}","collaborators_url":"https://api.github.com/repos/recastnavigation/recastnavigation/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/recastnavigation/recastnavigation/teams","hooks_url":"https://api.github.com/repos/recastnavigation/recastnavigation/hooks","issue_events_url":"https://api.github.com/repos/recastnavigation/recastnavigation/issues/events{/number}","events_url":"https://api.github.com/repos/recastnavigation/recastnavigation/events","assignees_url":"https://api.github.com/repos/recastnavigation/recastnavigation/assignees{/user}","branches_url":"https://api.github.com/repos/recastnavigation/recastnavigation/branches{/branch}","tags_url":"https://api.github.com/repos/recastnavigation/recastnavigation/tags","blobs_url":"https://api.github.com/repos/recastnavigation/recastnavigation/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/recastnavigation/recastnavigation/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/recastnavigation/recastnavigation/git/refs{/sha}","trees_url":"https://api.github.com/repos/recastnavigation/recastnavigation/git/trees{/sha}","statuses_url":"https://api.github.com/repos/recastnavigation/recastnavigation/statuses/{sha}","languages_url":"https://api.github.com/repos/recastnavigation/recastnavigation/languages","stargazers_url":"https://api.github.com/repos/recastnavigation/recastnavigation/stargazers","contributors_url":"https://api.github.com/repos/recastnavigation/recastnavigation/contributors","subscribers_url":"https://api.github.com/repos/recastnavigation/recastnavigation/subscribers","subscription_url":"https://api.github.com/repos/recastnavigation/recastnavigation/subscription","commits_url":"https://api.github.com/repos/recastnavigation/recastnavigation/commits{/sha}","git_commits_url":"https://api.github.com/repos/recastnavigation/recastnavigation/git/commits{/sha}","comments_url":"https://api.github.com/repos/recastnavigation/recastnavigation/comments{/number}","issue_comment_url":"https://api.github.com/repos/recastnavigation/recastnavigation/issues/comments{/number}","contents_url":"https://api.github.com/repos/recastnavigation/recastnavigation/contents/{+path}","compare_url":"https://api.github.com/repos/recastnavigation/recastnavigation/compare/{base}...{head}","merges_url":"https://api.github.com/repos/recastnavigation/recastnavigation/merges","archive_url":"https://api.github.com/repos/recastnavigation/recastnavigation/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/recastnavigation/recastnavigation/downloads","issues_url":"https://api.github.com/repos/recastnavigation/recastnavigation/issues{/number}","pulls_url":"https://api.github.com/repos/recastnavigation/recastnavigation/pulls{/number}","milestones_url":"https://api.github.com/repos/recastnavigation/recastnavigation/milestones{/number}","notifications_url":"https://api.github.com/repos/recastnavigation/recastnavigation/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/recastnavigation/recastnavigation/labels{/name}","releases_url":"https://api.github.com/repos/recastnavigation/recastnavigation/releases{/id}","created_at":"2013-09-15T18:12:45Z","updated_at":"2016-01-04T14:12:07Z","pushed_at":"2016-01-02T15:30:37Z","git_url":"git://github.com/recastnavigation/recastnavigation.git","ssh_url":"git@github.com:recastnavigation/recastnavigation.git","clone_url":"https://github.com/recastnavigation/recastnavigation.git","svn_url":"https://github.com/recastnavigation/recastnavigation","homepage":null,"size":20497,"stargazers_count":852,"watchers_count":852,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":291,"mirror_url":null,"open_issues_count":39,"forks":291,"open_issues":39,"watchers":852,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/recastnavigation/recastnavigation/pulls/144"},"html":{"href":"https://github.com/recastnavigation/recastnavigation/pull/144"},"issue":{"href":"https://api.github.com/repos/recastnavigation/recastnavigation/issues/144"},"comments":{"href":"https://api.github.com/repos/recastnavigation/recastnavigation/issues/144/comments"},"review_comments":{"href":"https://api.github.com/repos/recastnavigation/recastnavigation/pulls/144/comments"},"review_comment":{"href":"https://api.github.com/repos/recastnavigation/recastnavigation/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/recastnavigation/recastnavigation/pulls/144/commits"},"statuses":{"href":"https://api.github.com/repos/recastnavigation/recastnavigation/statuses/828a2005b61016040376fec1dce9f6bf34a5cc12"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":283,"deletions":3675,"changed_files":19}}