{"action":"created","issue":{"url":"https://api.github.com/repos/Wargus/stratagus/issues/162","labels_url":"https://api.github.com/repos/Wargus/stratagus/issues/162/labels{/name}","comments_url":"https://api.github.com/repos/Wargus/stratagus/issues/162/comments","events_url":"https://api.github.com/repos/Wargus/stratagus/issues/162/events","html_url":"https://github.com/Wargus/stratagus/pull/162","id":121903031,"number":162,"title":"Porting to SDL2","user":{"login":"galtgendo","id":1123827,"avatar_url":"https://avatars.githubusercontent.com/u/1123827?v=3","gravatar_id":"","url":"https://api.github.com/users/galtgendo","html_url":"https://github.com/galtgendo","followers_url":"https://api.github.com/users/galtgendo/followers","following_url":"https://api.github.com/users/galtgendo/following{/other_user}","gists_url":"https://api.github.com/users/galtgendo/gists{/gist_id}","starred_url":"https://api.github.com/users/galtgendo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/galtgendo/subscriptions","organizations_url":"https://api.github.com/users/galtgendo/orgs","repos_url":"https://api.github.com/users/galtgendo/repos","events_url":"https://api.github.com/users/galtgendo/events{/privacy}","received_events_url":"https://api.github.com/users/galtgendo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":30,"created_at":"2015-12-13T06:28:30Z","updated_at":"2015-12-20T16:00:41Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Wargus/stratagus/pulls/162","html_url":"https://github.com/Wargus/stratagus/pull/162","diff_url":"https://github.com/Wargus/stratagus/pull/162.diff","patch_url":"https://github.com/Wargus/stratagus/pull/162.patch"},"body":"This was already shortly discussed back on Launchpad, but it doesn't seem it has gotten anywhere.\r\n\r\n(sometimes Markdown is useful, but sometimes it plain sucks)\r\n\r\n I've got a semi-serious patch, that already produces decent results, but it has a few issues:\r\n- flipped sprites are invisible for no apparent reason \r\n- wasteland, winter and swamp tilesets work, but summer doesn't show the terrain (results in cursor artefacts all over the visible map)\r\n- cursor wipes out text on widgets\r\n- text input is yet to be fixed properly (right now, anything not ASCII will fail)\r\n- while fullscreen, the mouse is clipped to 640x480 window\r\n\r\n[stratagus_2.3.0-sdl2-x2.patch.txt](https://github.com/Wargus/stratagus/files/60363/stratagus_2.3.0-sdl2-x2.patch.txt)\r\n\r\n(on a semi-related note: refusing to attach a patch, unless it has .txt extension ? seriously !?)\r\n\r\nA block or two might have been taken from the Launchpad branch (IIRC (it's been awhile since I've started writing this patch) the mouse wheel change comes from there).\r\n\r\nI've simply disabled OpenGL code for the time being.\r\n\r\nAs the name says, the patch is against 2.3.0."},"comment":{"url":"https://api.github.com/repos/Wargus/stratagus/issues/comments/166131435","html_url":"https://github.com/Wargus/stratagus/pull/162#issuecomment-166131435","issue_url":"https://api.github.com/repos/Wargus/stratagus/issues/162","id":166131435,"user":{"login":"galtgendo","id":1123827,"avatar_url":"https://avatars.githubusercontent.com/u/1123827?v=3","gravatar_id":"","url":"https://api.github.com/users/galtgendo","html_url":"https://github.com/galtgendo","followers_url":"https://api.github.com/users/galtgendo/followers","following_url":"https://api.github.com/users/galtgendo/following{/other_user}","gists_url":"https://api.github.com/users/galtgendo/gists{/gist_id}","starred_url":"https://api.github.com/users/galtgendo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/galtgendo/subscriptions","organizations_url":"https://api.github.com/users/galtgendo/orgs","repos_url":"https://api.github.com/users/galtgendo/repos","events_url":"https://api.github.com/users/galtgendo/events{/privacy}","received_events_url":"https://api.github.com/users/galtgendo/received_events","type":"User","site_admin":false},"created_at":"2015-12-20T16:00:41Z","updated_at":"2015-12-20T16:00:41Z","body":":sigh:\r\nLets try making baby steps:\r\n\r\nOption 1: current wargus tileset script is correct for original data\r\nIf the user considers wargus tileset an improvement and keeps it past wartool, as the layout of data differs, script will become incorrect.\r\n\r\nOption 2: current wargus tileset script is correct for wargus data\r\nIf the user wants the original tileset, as the layout of data differs, after wartool overwrites data, the script becomes incorrect.\r\n"}}