{"action":"closed","issue":{"url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/issues/12728","labels_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/issues/12728/labels{/name}","comments_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/issues/12728/comments","events_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/issues/12728/events","html_url":"https://github.com/CleverRaven/Cataclysm-DDA/issues/12728","id":89876862,"number":12728,"title":"Tiles / SDL not building anymore.","user":{"login":"AlexTes","id":2011351,"avatar_url":"https://avatars.githubusercontent.com/u/2011351?v=3","gravatar_id":"","url":"https://api.github.com/users/AlexTes","html_url":"https://github.com/AlexTes","followers_url":"https://api.github.com/users/AlexTes/followers","following_url":"https://api.github.com/users/AlexTes/following{/other_user}","gists_url":"https://api.github.com/users/AlexTes/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexTes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexTes/subscriptions","organizations_url":"https://api.github.com/users/AlexTes/orgs","repos_url":"https://api.github.com/users/AlexTes/repos","events_url":"https://api.github.com/users/AlexTes/events{/privacy}","received_events_url":"https://api.github.com/users/AlexTes/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-06-21T07:22:55Z","updated_at":"2015-06-21T12:06:46Z","closed_at":"2015-06-21T12:06:46Z","body":"Went from bc3d389 -> d53f969\r\n\r\nFailed with:\r\n```\r\nsrc/sdltiles.cpp: In function ‘void curses_drawwindow(WINDOW*)’:\r\nsrc/sdltiles.cpp:663:9: error: ‘g’ was not declared in this scope\r\n     if (g && win == g->w_terrain && use_tiles) {\r\n         ^\r\nsrc/sdltiles.cpp:663:37: error: ‘use_tiles’ was not declared in this scope\r\n     if (g && win == g->w_terrain && use_tiles) {\r\n                                     ^\r\nsrc/sdltiles.cpp: In member function ‘bool Font::draw_window(WINDOW*, int, int)’:\r\nsrc/sdltiles.cpp:775:25: error: ‘g’ was not declared in this scope\r\n             if ( win == g->w_terrain || win == g->w_minimap || win == g->w_HP || win == g->w_status ||\r\n                         ^\r\nsrc/sdltiles.cpp: In function ‘WINDOW* curses_init()’:\r\nsrc/sdltiles.cpp:1448:9: error: ‘use_tiles’ was not declared in this scope\r\n         use_tiles = false;\r\n         ^\r\nsrc/sdltiles.cpp: In function ‘void rescale_tileset(int)’:\r\nsrc/sdltiles.cpp:1658:9: error: ‘g’ was not declared in this scope\r\n         g->init_ui();\r\n         ^\r\nsrc/sdltiles.cpp: In member function ‘bool input_context::get_coordinates(WINDOW*, int&, int&)’:\r\nsrc/sdltiles.cpp:1669:23: error: ‘g’ was not declared in this scope\r\n         capture_win = g->w_terrain;\r\n                       ^\r\nsrc/sdltiles.cpp:1678:9: error: ‘use_tiles’ was not declared in this scope\r\n     if (use_tiles && capture_win == g->w_terrain) {\r\n         ^\r\nsrc/sdltiles.cpp:1678:37: error: ‘g’ was not declared in this scope\r\n     if (use_tiles && capture_win == g->w_terrain) {\r\n                                     ^\r\nsrc/sdltiles.cpp:1710:13: error: ‘g’ was not declared in this scope\r\n         x = g->ter_view_x - ((capture_win->width / 2) - selected_column);\r\n             ^\r\nsrc/sdltiles.cpp:1718:13: error: ‘g’ was not declared in this scope\r\n         x = g->ter_view_x - ((capture_win->width / 2) - selected_column);\r\n             ^\r\nsrc/sdltiles.cpp: In function ‘int map_font_width()’:\r\nsrc/sdltiles.cpp:1908:9: error: ‘use_tiles’ was not declared in this scope\r\n     if (use_tiles && tilecontext != NULL) {\r\n         ^\r\nsrc/sdltiles.cpp: In function ‘int map_font_height()’:\r\nsrc/sdltiles.cpp:1917:9: error: ‘use_tiles’ was not declared in this scope\r\n     if (use_tiles && tilecontext != NULL) {\r\n         ^\r\nsrc/sdltiles.cpp: In function ‘bool is_draw_tiles_mode()’:\r\nsrc/sdltiles.cpp:1948:12: error: ‘use_tiles’ was not declared in this scope\r\n     return use_tiles;\r\n            ^\r\nMakefile:454: recipe for target 'obj/tiles/sdltiles.o' failed\r\nmake: *** [obj/tiles/sdltiles.o] Error 1\r\n```\r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/22629433-tiles-sdl-not-building-anymore?utm_campaign=plugin&utm_content=tracker%2F146201&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F146201&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"}}