{"action":"created","comment":{"url":"https://api.github.com/repos/SDLash3D/xash3d/pulls/comments/51881145","id":51881145,"diff_hunk":"@@ -329,14 +329,27 @@ void V_CalcRefDef( void )\n \t\t\tvec3_t tmup;\n \t\t\tvec3_t tmforward;\n \t\t\tvec3_t tmp, tmp2, tmp3;\n+\t\t\tfloat dist;\n \t\t\tVectorCopy( cl.refdef.right, tmright );\n \t\t\tVectorCopy( cl.refdef.forward, tmforward );\n \t\t\tVectorCopy( cl.refdef.up, tmup );\n \t\t\tVectorCopy( cl.refdef.vieworg, tmvieworg );\n \n+\t\t\tdist= Cvar_VariableValue( \"vrdist\" );\n+\t\t\tif ( dist==0)\n+\t\t\t{\n+\t\t\t\tdist=0.4;\n+\t\t\t}\n+\t\t\telse if (dist>0.8)\n+\t\t\t{\n+\t\t\t\tcl.refdef.fov_x=60; \n+\t\t\t\tcl.refdef.fov_y=67.5;\n+\t\t\t}","path":"engine/client/cl_view.c","position":19,"original_position":19,"commit_id":"4294da192a0162931ac0ef82d552bb5a63e02f25","original_commit_id":"4294da192a0162931ac0ef82d552bb5a63e02f25","user":{"login":"a1batross","id":3213697,"avatar_url":"https://avatars.githubusercontent.com/u/3213697?v=3","gravatar_id":"","url":"https://api.github.com/users/a1batross","html_url":"https://github.com/a1batross","followers_url":"https://api.github.com/users/a1batross/followers","following_url":"https://api.github.com/users/a1batross/following{/other_user}","gists_url":"https://api.github.com/users/a1batross/gists{/gist_id}","starred_url":"https://api.github.com/users/a1batross/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/a1batross/subscriptions","organizations_url":"https://api.github.com/users/a1batross/orgs","repos_url":"https://api.github.com/users/a1batross/repos","events_url":"https://api.github.com/users/a1batross/events{/privacy}","received_events_url":"https://api.github.com/users/a1batross/received_events","type":"User","site_admin":false},"body":"Тут нужно больше пробелов перед и после операторов. :)","created_at":"2016-02-04T14:46:30Z","updated_at":"2016-02-04T14:46:30Z","html_url":"https://github.com/SDLash3D/xash3d/pull/113#discussion_r51881145","pull_request_url":"https://api.github.com/repos/SDLash3D/xash3d/pulls/113","_links":{"self":{"href":"https://api.github.com/repos/SDLash3D/xash3d/pulls/comments/51881145"},"html":{"href":"https://github.com/SDLash3D/xash3d/pull/113#discussion_r51881145"},"pull_request":{"href":"https://api.github.com/repos/SDLash3D/xash3d/pulls/113"}}},"pull_request":{"url":"https://api.github.com/repos/SDLash3D/xash3d/pulls/113","id":58283663,"html_url":"https://github.com/SDLash3D/xash3d/pull/113","diff_url":"https://github.com/SDLash3D/xash3d/pull/113.diff","patch_url":"https://github.com/SDLash3D/xash3d/pull/113.patch","issue_url":"https://api.github.com/repos/SDLash3D/xash3d/issues/113","number":113,"state":"open","locked":false,"title":"Headtracking rework and Joystick fix.","user":{"login":"Solexid","id":4980321,"avatar_url":"https://avatars.githubusercontent.com/u/4980321?v=3","gravatar_id":"","url":"https://api.github.com/users/Solexid","html_url":"https://github.com/Solexid","followers_url":"https://api.github.com/users/Solexid/followers","following_url":"https://api.github.com/users/Solexid/following{/other_user}","gists_url":"https://api.github.com/users/Solexid/gists{/gist_id}","starred_url":"https://api.github.com/users/Solexid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Solexid/subscriptions","organizations_url":"https://api.github.com/users/Solexid/orgs","repos_url":"https://api.github.com/users/Solexid/repos","events_url":"https://api.github.com/users/Solexid/events{/privacy}","received_events_url":"https://api.github.com/users/Solexid/received_events","type":"User","site_admin":false},"body":"Now SDL Get_accel not uses..Added new vrdist convar and add it to graphics settings in menu.\r\nFixed joystick in multiplayer.\r\nПофикшен джойстик и фреймтайм, добавил настройку дисторшена для кадров врмода и изменил путь получения данных из JNI. ","created_at":"2016-02-04T13:07:02Z","updated_at":"2016-02-04T14:46:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c18de286549cb07c942c312ce3ab57a82464acb8","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/SDLash3D/xash3d/pulls/113/commits","review_comments_url":"https://api.github.com/repos/SDLash3D/xash3d/pulls/113/comments","review_comment_url":"https://api.github.com/repos/SDLash3D/xash3d/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SDLash3D/xash3d/issues/113/comments","statuses_url":"https://api.github.com/repos/SDLash3D/xash3d/statuses/4294da192a0162931ac0ef82d552bb5a63e02f25","head":{"label":"Solexid:master","ref":"master","sha":"4294da192a0162931ac0ef82d552bb5a63e02f25","user":{"login":"Solexid","id":4980321,"avatar_url":"https://avatars.githubusercontent.com/u/4980321?v=3","gravatar_id":"","url":"https://api.github.com/users/Solexid","html_url":"https://github.com/Solexid","followers_url":"https://api.github.com/users/Solexid/followers","following_url":"https://api.github.com/users/Solexid/following{/other_user}","gists_url":"https://api.github.com/users/Solexid/gists{/gist_id}","starred_url":"https://api.github.com/users/Solexid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Solexid/subscriptions","organizations_url":"https://api.github.com/users/Solexid/orgs","repos_url":"https://api.github.com/users/Solexid/repos","events_url":"https://api.github.com/users/Solexid/events{/privacy}","received_events_url":"https://api.github.com/users/Solexid/received_events","type":"User","site_admin":false},"repo":{"id":50182470,"name":"xash3d","full_name":"Solexid/xash3d","owner":{"login":"Solexid","id":4980321,"avatar_url":"https://avatars.githubusercontent.com/u/4980321?v=3","gravatar_id":"","url":"https://api.github.com/users/Solexid","html_url":"https://github.com/Solexid","followers_url":"https://api.github.com/users/Solexid/followers","following_url":"https://api.github.com/users/Solexid/following{/other_user}","gists_url":"https://api.github.com/users/Solexid/gists{/gist_id}","starred_url":"https://api.github.com/users/Solexid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Solexid/subscriptions","organizations_url":"https://api.github.com/users/Solexid/orgs","repos_url":"https://api.github.com/users/Solexid/repos","events_url":"https://api.github.com/users/Solexid/events{/privacy}","received_events_url":"https://api.github.com/users/Solexid/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Solexid/xash3d","description":"Xash3D SDL Engine. Fork of Xash3D.","fork":true,"url":"https://api.github.com/repos/Solexid/xash3d","forks_url":"https://api.github.com/repos/Solexid/xash3d/forks","keys_url":"https://api.github.com/repos/Solexid/xash3d/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Solexid/xash3d/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Solexid/xash3d/teams","hooks_url":"https://api.github.com/repos/Solexid/xash3d/hooks","issue_events_url":"https://api.github.com/repos/Solexid/xash3d/issues/events{/number}","events_url":"https://api.github.com/repos/Solexid/xash3d/events","assignees_url":"https://api.github.com/repos/Solexid/xash3d/assignees{/user}","branches_url":"https://api.github.com/repos/Solexid/xash3d/branches{/branch}","tags_url":"https://api.github.com/repos/Solexid/xash3d/tags","blobs_url":"https://api.github.com/repos/Solexid/xash3d/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Solexid/xash3d/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Solexid/xash3d/git/refs{/sha}","trees_url":"https://api.github.com/repos/Solexid/xash3d/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Solexid/xash3d/statuses/{sha}","languages_url":"https://api.github.com/repos/Solexid/xash3d/languages","stargazers_url":"https://api.github.com/repos/Solexid/xash3d/stargazers","contributors_url":"https://api.github.com/repos/Solexid/xash3d/contributors","subscribers_url":"https://api.github.com/repos/Solexid/xash3d/subscribers","subscription_url":"https://api.github.com/repos/Solexid/xash3d/subscription","commits_url":"https://api.github.com/repos/Solexid/xash3d/commits{/sha}","git_commits_url":"https://api.github.com/repos/Solexid/xash3d/git/commits{/sha}","comments_url":"https://api.github.com/repos/Solexid/xash3d/comments{/number}","issue_comment_url":"https://api.github.com/repos/Solexid/xash3d/issues/comments{/number}","contents_url":"https://api.github.com/repos/Solexid/xash3d/contents/{+path}","compare_url":"https://api.github.com/repos/Solexid/xash3d/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Solexid/xash3d/merges","archive_url":"https://api.github.com/repos/Solexid/xash3d/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Solexid/xash3d/downloads","issues_url":"https://api.github.com/repos/Solexid/xash3d/issues{/number}","pulls_url":"https://api.github.com/repos/Solexid/xash3d/pulls{/number}","milestones_url":"https://api.github.com/repos/Solexid/xash3d/milestones{/number}","notifications_url":"https://api.github.com/repos/Solexid/xash3d/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Solexid/xash3d/labels{/name}","releases_url":"https://api.github.com/repos/Solexid/xash3d/releases{/id}","deployments_url":"https://api.github.com/repos/Solexid/xash3d/deployments","created_at":"2016-01-22T13:18:14Z","updated_at":"2016-01-22T18:37:07Z","pushed_at":"2016-02-04T13:02:45Z","git_url":"git://github.com/Solexid/xash3d.git","ssh_url":"git@github.com:Solexid/xash3d.git","clone_url":"https://github.com/Solexid/xash3d.git","svn_url":"https://github.com/Solexid/xash3d","homepage":"","size":7788,"stargazers_count":1,"watchers_count":1,"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":1,"default_branch":"master"}},"base":{"label":"SDLash3D:master","ref":"master","sha":"8159a7263a154408f88c16e4e072a9adbd2bee7c","user":{"login":"SDLash3D","id":10867064,"avatar_url":"https://avatars.githubusercontent.com/u/10867064?v=3","gravatar_id":"","url":"https://api.github.com/users/SDLash3D","html_url":"https://github.com/SDLash3D","followers_url":"https://api.github.com/users/SDLash3D/followers","following_url":"https://api.github.com/users/SDLash3D/following{/other_user}","gists_url":"https://api.github.com/users/SDLash3D/gists{/gist_id}","starred_url":"https://api.github.com/users/SDLash3D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SDLash3D/subscriptions","organizations_url":"https://api.github.com/users/SDLash3D/orgs","repos_url":"https://api.github.com/users/SDLash3D/repos","events_url":"https://api.github.com/users/SDLash3D/events{/privacy}","received_events_url":"https://api.github.com/users/SDLash3D/received_events","type":"Organization","site_admin":false},"repo":{"id":30359229,"name":"xash3d","full_name":"SDLash3D/xash3d","owner":{"login":"SDLash3D","id":10867064,"avatar_url":"https://avatars.githubusercontent.com/u/10867064?v=3","gravatar_id":"","url":"https://api.github.com/users/SDLash3D","html_url":"https://github.com/SDLash3D","followers_url":"https://api.github.com/users/SDLash3D/followers","following_url":"https://api.github.com/users/SDLash3D/following{/other_user}","gists_url":"https://api.github.com/users/SDLash3D/gists{/gist_id}","starred_url":"https://api.github.com/users/SDLash3D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SDLash3D/subscriptions","organizations_url":"https://api.github.com/users/SDLash3D/orgs","repos_url":"https://api.github.com/users/SDLash3D/repos","events_url":"https://api.github.com/users/SDLash3D/events{/privacy}","received_events_url":"https://api.github.com/users/SDLash3D/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SDLash3D/xash3d","description":"Xash3D SDL Engine. Fork of Xash3D.","fork":false,"url":"https://api.github.com/repos/SDLash3D/xash3d","forks_url":"https://api.github.com/repos/SDLash3D/xash3d/forks","keys_url":"https://api.github.com/repos/SDLash3D/xash3d/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SDLash3D/xash3d/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SDLash3D/xash3d/teams","hooks_url":"https://api.github.com/repos/SDLash3D/xash3d/hooks","issue_events_url":"https://api.github.com/repos/SDLash3D/xash3d/issues/events{/number}","events_url":"https://api.github.com/repos/SDLash3D/xash3d/events","assignees_url":"https://api.github.com/repos/SDLash3D/xash3d/assignees{/user}","branches_url":"https://api.github.com/repos/SDLash3D/xash3d/branches{/branch}","tags_url":"https://api.github.com/repos/SDLash3D/xash3d/tags","blobs_url":"https://api.github.com/repos/SDLash3D/xash3d/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SDLash3D/xash3d/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SDLash3D/xash3d/git/refs{/sha}","trees_url":"https://api.github.com/repos/SDLash3D/xash3d/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SDLash3D/xash3d/statuses/{sha}","languages_url":"https://api.github.com/repos/SDLash3D/xash3d/languages","stargazers_url":"https://api.github.com/repos/SDLash3D/xash3d/stargazers","contributors_url":"https://api.github.com/repos/SDLash3D/xash3d/contributors","subscribers_url":"https://api.github.com/repos/SDLash3D/xash3d/subscribers","subscription_url":"https://api.github.com/repos/SDLash3D/xash3d/subscription","commits_url":"https://api.github.com/repos/SDLash3D/xash3d/commits{/sha}","git_commits_url":"https://api.github.com/repos/SDLash3D/xash3d/git/commits{/sha}","comments_url":"https://api.github.com/repos/SDLash3D/xash3d/comments{/number}","issue_comment_url":"https://api.github.com/repos/SDLash3D/xash3d/issues/comments{/number}","contents_url":"https://api.github.com/repos/SDLash3D/xash3d/contents/{+path}","compare_url":"https://api.github.com/repos/SDLash3D/xash3d/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SDLash3D/xash3d/merges","archive_url":"https://api.github.com/repos/SDLash3D/xash3d/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SDLash3D/xash3d/downloads","issues_url":"https://api.github.com/repos/SDLash3D/xash3d/issues{/number}","pulls_url":"https://api.github.com/repos/SDLash3D/xash3d/pulls{/number}","milestones_url":"https://api.github.com/repos/SDLash3D/xash3d/milestones{/number}","notifications_url":"https://api.github.com/repos/SDLash3D/xash3d/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SDLash3D/xash3d/labels{/name}","releases_url":"https://api.github.com/repos/SDLash3D/xash3d/releases{/id}","deployments_url":"https://api.github.com/repos/SDLash3D/xash3d/deployments","created_at":"2015-02-05T14:24:30Z","updated_at":"2016-02-01T14:28:56Z","pushed_at":"2016-02-04T13:07:02Z","git_url":"git://github.com/SDLash3D/xash3d.git","ssh_url":"git@github.com:SDLash3D/xash3d.git","clone_url":"https://github.com/SDLash3D/xash3d.git","svn_url":"https://github.com/SDLash3D/xash3d","homepage":"","size":8062,"stargazers_count":85,"watchers_count":85,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":26,"mirror_url":null,"open_issues_count":17,"forks":26,"open_issues":17,"watchers":85,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SDLash3D/xash3d/pulls/113"},"html":{"href":"https://github.com/SDLash3D/xash3d/pull/113"},"issue":{"href":"https://api.github.com/repos/SDLash3D/xash3d/issues/113"},"comments":{"href":"https://api.github.com/repos/SDLash3D/xash3d/issues/113/comments"},"review_comments":{"href":"https://api.github.com/repos/SDLash3D/xash3d/pulls/113/comments"},"review_comment":{"href":"https://api.github.com/repos/SDLash3D/xash3d/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SDLash3D/xash3d/pulls/113/commits"},"statuses":{"href":"https://api.github.com/repos/SDLash3D/xash3d/statuses/4294da192a0162931ac0ef82d552bb5a63e02f25"}}}}