{"action":"created","issue":{"url":"https://api.github.com/repos/rcgordon/Serious-Engine/issues/26","repository_url":"https://api.github.com/repos/rcgordon/Serious-Engine","labels_url":"https://api.github.com/repos/rcgordon/Serious-Engine/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/rcgordon/Serious-Engine/issues/26/comments","events_url":"https://api.github.com/repos/rcgordon/Serious-Engine/issues/26/events","html_url":"https://github.com/rcgordon/Serious-Engine/pull/26","id":149007109,"number":26,"title":"Some 64bit improvements, lots of 64bit TODOs/STUBBED()","user":{"login":"DanielGibson","id":1216493,"avatar_url":"https://avatars.githubusercontent.com/u/1216493?v=3","gravatar_id":"","url":"https://api.github.com/users/DanielGibson","html_url":"https://github.com/DanielGibson","followers_url":"https://api.github.com/users/DanielGibson/followers","following_url":"https://api.github.com/users/DanielGibson/following{/other_user}","gists_url":"https://api.github.com/users/DanielGibson/gists{/gist_id}","starred_url":"https://api.github.com/users/DanielGibson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanielGibson/subscriptions","organizations_url":"https://api.github.com/users/DanielGibson/orgs","repos_url":"https://api.github.com/users/DanielGibson/repos","events_url":"https://api.github.com/users/DanielGibson/events{/privacy}","received_events_url":"https://api.github.com/users/DanielGibson/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":18,"created_at":"2016-04-17T23:44:52Z","updated_at":"2016-04-19T13:39:16Z","closed_at":"2016-04-19T02:33:58Z","pull_request":{"url":"https://api.github.com/repos/rcgordon/Serious-Engine/pulls/26","html_url":"https://github.com/rcgordon/Serious-Engine/pull/26","diff_url":"https://github.com/rcgordon/Serious-Engine/pull/26.diff","patch_url":"https://github.com/rcgordon/Serious-Engine/pull/26.patch"},"body":"This should fix some more 64bit issues.\r\n\r\nI also added some more FIXMEs and STUBBED(\"64-but issue\") where the compiler gave me corresponding warnings.\r\n\r\nI was able to play the complete first level of the second encounter, however I think there's still a lot missing.\r\n\r\n\r\nDoes anyone know what `CShell::GetINDEX()` is about? Its return value often is casted to pointer and dereferenced directly afterwards (e.g. in Engine/Network/Network.cpp `CacheShadows()`; I didn't mark all occurences in the code).\r\nIs there some kind of trick (like in `ModelPolygonVertex::Read_t()` where the \"pointers\" are actually indexes that are later converted back to pointers) that I'm missing? I'm surprised that INDEX is used to store a pointer there, not ULONG like in several other places..\r\n"},"comment":{"url":"https://api.github.com/repos/rcgordon/Serious-Engine/issues/comments/211926162","html_url":"https://github.com/rcgordon/Serious-Engine/pull/26#issuecomment-211926162","issue_url":"https://api.github.com/repos/rcgordon/Serious-Engine/issues/26","id":211926162,"user":{"login":"DanielGibson","id":1216493,"avatar_url":"https://avatars.githubusercontent.com/u/1216493?v=3","gravatar_id":"","url":"https://api.github.com/users/DanielGibson","html_url":"https://github.com/DanielGibson","followers_url":"https://api.github.com/users/DanielGibson/followers","following_url":"https://api.github.com/users/DanielGibson/following{/other_user}","gists_url":"https://api.github.com/users/DanielGibson/gists{/gist_id}","starred_url":"https://api.github.com/users/DanielGibson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanielGibson/subscriptions","organizations_url":"https://api.github.com/users/DanielGibson/orgs","repos_url":"https://api.github.com/users/DanielGibson/repos","events_url":"https://api.github.com/users/DanielGibson/events{/privacy}","received_events_url":"https://api.github.com/users/DanielGibson/received_events","type":"User","site_admin":false},"created_at":"2016-04-19T13:39:16Z","updated_at":"2016-04-19T13:39:16Z","body":"in the CMakeLists.txt try adding `add_definitions(-D__STDC_LIMIT_MACROS=1)` somewhere, maybe below `add_definitions(-D_MT=1)`"}}