{"action":"created","comment":{"url":"https://api.github.com/repos/minetest/minetest/pulls/comments/115188129","pull_request_review_id":36706967,"id":115188129,"diff_hunk":"@@ -4558,10 +4577,42 @@ void Game::showPauseMenu()\n \tos\t\t<< \"button_exit[4,\" << (ypos++) << \";3,0.5;btn_exit_os;\"\n \t\t<< strgettext(\"Exit to OS\")   << \"]\"\n \t\t<< \"textarea[7.5,0.25;3.9,6.25;;\" << control_text << \";]\"\n-\t\t<< \"textarea[0.4,0.25;3.5,6;;\" << PROJECT_NAME_C \"\\n\"\n-\t\t<< g_build_info << \"\\n\"\n-\t\t<< \"path_user = \" << wrap_rows(porting::path_user, 20)\n-\t\t<< \"\\n;]\";\n+\t\t<< \"textarea[0.4,0.25;3.9,6.25;;\" << PROJECT_NAME_C \" \" VERSION_STRING \"\\n\"\n+\t\t<< \"\\n\"\n+\t\t<<  strgettext(\"Game info:\") << \"\\n\";\n+\tstd::string address = client->getAddressName();\n+\tconst static std::string mode = strgettext(\"- Mode: \");\n+\tif (!simple_singleplayer_mode) {\n+\t\tAddress serverAddress = client->getServerAddress();\n+\t\tif(address != \"\") {\n+\t\t\tos << mode << strgettext(\"Remote server\") << \"\\n\"\n+\t\t\t\t\t<< strgettext(\"- Address: \") << address;\n+\t\t} else {\n+\t\t\tos << mode << strgettext(\"Hosting Server\");\n+\t\t}\n+\t\tos << \"\\n\" << strgettext(\"- Port: \") << serverAddress.getPort() << \"\\n\";\n+\t} else {\n+\t\tos << mode << strgettext(\"Singleplayer\") << \"\\n\";\n+\t}\n+\tif (simple_singleplayer_mode || address == \"\") {\n+\t\tconst static std::string on = strgettext(\"On\");","path":"src/game.cpp","position":91,"original_position":91,"commit_id":"513089cbdaf9330ac2e0c1f6577ad51adfd551c9","original_commit_id":"513089cbdaf9330ac2e0c1f6577ad51adfd551c9","user":{"login":"nerzhul","id":119752,"avatar_url":"https://avatars3.githubusercontent.com/u/119752?v=3","gravatar_id":"","url":"https://api.github.com/users/nerzhul","html_url":"https://github.com/nerzhul","followers_url":"https://api.github.com/users/nerzhul/followers","following_url":"https://api.github.com/users/nerzhul/following{/other_user}","gists_url":"https://api.github.com/users/nerzhul/gists{/gist_id}","starred_url":"https://api.github.com/users/nerzhul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nerzhul/subscriptions","organizations_url":"https://api.github.com/users/nerzhul/orgs","repos_url":"https://api.github.com/users/nerzhul/repos","events_url":"https://api.github.com/users/nerzhul/events{/privacy}","received_events_url":"https://api.github.com/users/nerzhul/received_events","type":"User","site_admin":false},"body":"static const instead of const static","created_at":"2017-05-08T07:31:20Z","updated_at":"2017-05-08T07:31:30Z","html_url":"https://github.com/minetest/minetest/pull/5719#discussion_r115188129","pull_request_url":"https://api.github.com/repos/minetest/minetest/pulls/5719","_links":{"self":{"href":"https://api.github.com/repos/minetest/minetest/pulls/comments/115188129"},"html":{"href":"https://github.com/minetest/minetest/pull/5719#discussion_r115188129"},"pull_request":{"href":"https://api.github.com/repos/minetest/minetest/pulls/5719"}}},"pull_request":{"url":"https://api.github.com/repos/minetest/minetest/pulls/5719","id":119342883,"html_url":"https://github.com/minetest/minetest/pull/5719","diff_url":"https://github.com/minetest/minetest/pull/5719.diff","patch_url":"https://github.com/minetest/minetest/pull/5719.patch","issue_url":"https://api.github.com/repos/minetest/minetest/issues/5719","number":5719,"state":"open","locked":false,"title":"Rework escape/pause menu","user":{"login":"red-001","id":12450071,"avatar_url":"https://avatars0.githubusercontent.com/u/12450071?v=3","gravatar_id":"","url":"https://api.github.com/users/red-001","html_url":"https://github.com/red-001","followers_url":"https://api.github.com/users/red-001/followers","following_url":"https://api.github.com/users/red-001/following{/other_user}","gists_url":"https://api.github.com/users/red-001/gists{/gist_id}","starred_url":"https://api.github.com/users/red-001/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/red-001/subscriptions","organizations_url":"https://api.github.com/users/red-001/orgs","repos_url":"https://api.github.com/users/red-001/repos","events_url":"https://api.github.com/users/red-001/events{/privacy}","received_events_url":"https://api.github.com/users/red-001/received_events","type":"User","site_admin":false},"body":"# Changes\r\n- Remove build information\r\n- Use current controls instead of default controls\r\n- Add information about the current server in place of the build information\r\n- Add text saying the game is paused to if in singleplayer mode.\r\nrework pause/escape menu\r\n\r\nsee also #3845\r\n# Screenshots\r\nHosting server\r\n![screenshot_20170507_172346](https://cloud.githubusercontent.com/assets/12450071/25782416/a8079f98-3342-11e7-8d56-da7f38fdf971.png)\r\nSingleplayer\r\n![screenshot_20170507_172420](https://cloud.githubusercontent.com/assets/12450071/25782418/b72630d4-3342-11e7-8194-c4fec80d2f61.png)\r\nConnected to server\r\n![screenshot_20170507_172502](https://cloud.githubusercontent.com/assets/12450071/25782420/c0ee56be-3342-11e7-8580-8888298de601.png)\r\n\r\n\r\n","created_at":"2017-05-07T15:32:49Z","updated_at":"2017-05-08T07:31:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5fa9ad973fd3dac59b7c95975d8692656719b6eb","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/minetest/minetest/pulls/5719/commits","review_comments_url":"https://api.github.com/repos/minetest/minetest/pulls/5719/comments","review_comment_url":"https://api.github.com/repos/minetest/minetest/pulls/comments{/number}","comments_url":"https://api.github.com/repos/minetest/minetest/issues/5719/comments","statuses_url":"https://api.github.com/repos/minetest/minetest/statuses/513089cbdaf9330ac2e0c1f6577ad51adfd551c9","head":{"label":"red-001:rework_escape_menu","ref":"rework_escape_menu","sha":"513089cbdaf9330ac2e0c1f6577ad51adfd551c9","user":{"login":"red-001","id":12450071,"avatar_url":"https://avatars0.githubusercontent.com/u/12450071?v=3","gravatar_id":"","url":"https://api.github.com/users/red-001","html_url":"https://github.com/red-001","followers_url":"https://api.github.com/users/red-001/followers","following_url":"https://api.github.com/users/red-001/following{/other_user}","gists_url":"https://api.github.com/users/red-001/gists{/gist_id}","starred_url":"https://api.github.com/users/red-001/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/red-001/subscriptions","organizations_url":"https://api.github.com/users/red-001/orgs","repos_url":"https://api.github.com/users/red-001/repos","events_url":"https://api.github.com/users/red-001/events{/privacy}","received_events_url":"https://api.github.com/users/red-001/received_events","type":"User","site_admin":false},"repo":{"id":39887838,"name":"minetest","full_name":"red-001/minetest","owner":{"login":"red-001","id":12450071,"avatar_url":"https://avatars0.githubusercontent.com/u/12450071?v=3","gravatar_id":"","url":"https://api.github.com/users/red-001","html_url":"https://github.com/red-001","followers_url":"https://api.github.com/users/red-001/followers","following_url":"https://api.github.com/users/red-001/following{/other_user}","gists_url":"https://api.github.com/users/red-001/gists{/gist_id}","starred_url":"https://api.github.com/users/red-001/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/red-001/subscriptions","organizations_url":"https://api.github.com/users/red-001/orgs","repos_url":"https://api.github.com/users/red-001/repos","events_url":"https://api.github.com/users/red-001/events{/privacy}","received_events_url":"https://api.github.com/users/red-001/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/red-001/minetest","description":"Minetest, an open source infinite-world block sandbox game with survival and crafting. [also https://github.com/minetest/minetest_game]","fork":true,"url":"https://api.github.com/repos/red-001/minetest","forks_url":"https://api.github.com/repos/red-001/minetest/forks","keys_url":"https://api.github.com/repos/red-001/minetest/keys{/key_id}","collaborators_url":"https://api.github.com/repos/red-001/minetest/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/red-001/minetest/teams","hooks_url":"https://api.github.com/repos/red-001/minetest/hooks","issue_events_url":"https://api.github.com/repos/red-001/minetest/issues/events{/number}","events_url":"https://api.github.com/repos/red-001/minetest/events","assignees_url":"https://api.github.com/repos/red-001/minetest/assignees{/user}","branches_url":"https://api.github.com/repos/red-001/minetest/branches{/branch}","tags_url":"https://api.github.com/repos/red-001/minetest/tags","blobs_url":"https://api.github.com/repos/red-001/minetest/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/red-001/minetest/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/red-001/minetest/git/refs{/sha}","trees_url":"https://api.github.com/repos/red-001/minetest/git/trees{/sha}","statuses_url":"https://api.github.com/repos/red-001/minetest/statuses/{sha}","languages_url":"https://api.github.com/repos/red-001/minetest/languages","stargazers_url":"https://api.github.com/repos/red-001/minetest/stargazers","contributors_url":"https://api.github.com/repos/red-001/minetest/contributors","subscribers_url":"https://api.github.com/repos/red-001/minetest/subscribers","subscription_url":"https://api.github.com/repos/red-001/minetest/subscription","commits_url":"https://api.github.com/repos/red-001/minetest/commits{/sha}","git_commits_url":"https://api.github.com/repos/red-001/minetest/git/commits{/sha}","comments_url":"https://api.github.com/repos/red-001/minetest/comments{/number}","issue_comment_url":"https://api.github.com/repos/red-001/minetest/issues/comments{/number}","contents_url":"https://api.github.com/repos/red-001/minetest/contents/{+path}","compare_url":"https://api.github.com/repos/red-001/minetest/compare/{base}...{head}","merges_url":"https://api.github.com/repos/red-001/minetest/merges","archive_url":"https://api.github.com/repos/red-001/minetest/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/red-001/minetest/downloads","issues_url":"https://api.github.com/repos/red-001/minetest/issues{/number}","pulls_url":"https://api.github.com/repos/red-001/minetest/pulls{/number}","milestones_url":"https://api.github.com/repos/red-001/minetest/milestones{/number}","notifications_url":"https://api.github.com/repos/red-001/minetest/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/red-001/minetest/labels{/name}","releases_url":"https://api.github.com/repos/red-001/minetest/releases{/id}","deployments_url":"https://api.github.com/repos/red-001/minetest/deployments","created_at":"2015-07-29T10:32:29Z","updated_at":"2016-03-05T16:02:48Z","pushed_at":"2017-05-07T21:57:00Z","git_url":"git://github.com/red-001/minetest.git","ssh_url":"git@github.com:red-001/minetest.git","clone_url":"https://github.com/red-001/minetest.git","svn_url":"https://github.com/red-001/minetest","homepage":"http://minetest.net/","size":47713,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"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":"minetest:master","ref":"master","sha":"c1b3ed4180dea16e2fa77663a7d2bf155595dd60","user":{"login":"minetest","id":2624745,"avatar_url":"https://avatars2.githubusercontent.com/u/2624745?v=3","gravatar_id":"","url":"https://api.github.com/users/minetest","html_url":"https://github.com/minetest","followers_url":"https://api.github.com/users/minetest/followers","following_url":"https://api.github.com/users/minetest/following{/other_user}","gists_url":"https://api.github.com/users/minetest/gists{/gist_id}","starred_url":"https://api.github.com/users/minetest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/minetest/subscriptions","organizations_url":"https://api.github.com/users/minetest/orgs","repos_url":"https://api.github.com/users/minetest/repos","events_url":"https://api.github.com/users/minetest/events{/privacy}","received_events_url":"https://api.github.com/users/minetest/received_events","type":"Organization","site_admin":false},"repo":{"id":2168780,"name":"minetest","full_name":"minetest/minetest","owner":{"login":"minetest","id":2624745,"avatar_url":"https://avatars2.githubusercontent.com/u/2624745?v=3","gravatar_id":"","url":"https://api.github.com/users/minetest","html_url":"https://github.com/minetest","followers_url":"https://api.github.com/users/minetest/followers","following_url":"https://api.github.com/users/minetest/following{/other_user}","gists_url":"https://api.github.com/users/minetest/gists{/gist_id}","starred_url":"https://api.github.com/users/minetest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/minetest/subscriptions","organizations_url":"https://api.github.com/users/minetest/orgs","repos_url":"https://api.github.com/users/minetest/repos","events_url":"https://api.github.com/users/minetest/events{/privacy}","received_events_url":"https://api.github.com/users/minetest/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/minetest/minetest","description":"Minetest, an open source infinite-world block sandbox game with survival and crafting. [also https://github.com/minetest/minetest_game]","fork":false,"url":"https://api.github.com/repos/minetest/minetest","forks_url":"https://api.github.com/repos/minetest/minetest/forks","keys_url":"https://api.github.com/repos/minetest/minetest/keys{/key_id}","collaborators_url":"https://api.github.com/repos/minetest/minetest/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/minetest/minetest/teams","hooks_url":"https://api.github.com/repos/minetest/minetest/hooks","issue_events_url":"https://api.github.com/repos/minetest/minetest/issues/events{/number}","events_url":"https://api.github.com/repos/minetest/minetest/events","assignees_url":"https://api.github.com/repos/minetest/minetest/assignees{/user}","branches_url":"https://api.github.com/repos/minetest/minetest/branches{/branch}","tags_url":"https://api.github.com/repos/minetest/minetest/tags","blobs_url":"https://api.github.com/repos/minetest/minetest/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/minetest/minetest/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/minetest/minetest/git/refs{/sha}","trees_url":"https://api.github.com/repos/minetest/minetest/git/trees{/sha}","statuses_url":"https://api.github.com/repos/minetest/minetest/statuses/{sha}","languages_url":"https://api.github.com/repos/minetest/minetest/languages","stargazers_url":"https://api.github.com/repos/minetest/minetest/stargazers","contributors_url":"https://api.github.com/repos/minetest/minetest/contributors","subscribers_url":"https://api.github.com/repos/minetest/minetest/subscribers","subscription_url":"https://api.github.com/repos/minetest/minetest/subscription","commits_url":"https://api.github.com/repos/minetest/minetest/commits{/sha}","git_commits_url":"https://api.github.com/repos/minetest/minetest/git/commits{/sha}","comments_url":"https://api.github.com/repos/minetest/minetest/comments{/number}","issue_comment_url":"https://api.github.com/repos/minetest/minetest/issues/comments{/number}","contents_url":"https://api.github.com/repos/minetest/minetest/contents/{+path}","compare_url":"https://api.github.com/repos/minetest/minetest/compare/{base}...{head}","merges_url":"https://api.github.com/repos/minetest/minetest/merges","archive_url":"https://api.github.com/repos/minetest/minetest/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/minetest/minetest/downloads","issues_url":"https://api.github.com/repos/minetest/minetest/issues{/number}","pulls_url":"https://api.github.com/repos/minetest/minetest/pulls{/number}","milestones_url":"https://api.github.com/repos/minetest/minetest/milestones{/number}","notifications_url":"https://api.github.com/repos/minetest/minetest/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/minetest/minetest/labels{/name}","releases_url":"https://api.github.com/repos/minetest/minetest/releases{/id}","deployments_url":"https://api.github.com/repos/minetest/minetest/deployments","created_at":"2011-08-07T13:48:36Z","updated_at":"2017-05-08T00:48:29Z","pushed_at":"2017-05-08T05:03:58Z","git_url":"git://github.com/minetest/minetest.git","ssh_url":"git@github.com:minetest/minetest.git","clone_url":"https://github.com/minetest/minetest.git","svn_url":"https://github.com/minetest/minetest","homepage":"http://minetest.net/","size":47357,"stargazers_count":2530,"watchers_count":2530,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":773,"mirror_url":null,"open_issues_count":1001,"forks":773,"open_issues":1001,"watchers":2530,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/minetest/minetest/pulls/5719"},"html":{"href":"https://github.com/minetest/minetest/pull/5719"},"issue":{"href":"https://api.github.com/repos/minetest/minetest/issues/5719"},"comments":{"href":"https://api.github.com/repos/minetest/minetest/issues/5719/comments"},"review_comments":{"href":"https://api.github.com/repos/minetest/minetest/pulls/5719/comments"},"review_comment":{"href":"https://api.github.com/repos/minetest/minetest/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/minetest/minetest/pulls/5719/commits"},"statuses":{"href":"https://api.github.com/repos/minetest/minetest/statuses/513089cbdaf9330ac2e0c1f6577ad51adfd551c9"}}}}
{"actor":{"display_login":"nerzhul"}}