{"action":"created","issue":{"url":"https://api.github.com/repos/Mindwerks/worldengine/issues/177","labels_url":"https://api.github.com/repos/Mindwerks/worldengine/issues/177/labels{/name}","comments_url":"https://api.github.com/repos/Mindwerks/worldengine/issues/177/comments","events_url":"https://api.github.com/repos/Mindwerks/worldengine/issues/177/events","html_url":"https://github.com/Mindwerks/worldengine/issues/177","id":114750147,"number":177,"title":"Ancient Map Upgrades","user":{"login":"esampson","id":8743461,"avatar_url":"https://avatars.githubusercontent.com/u/8743461?v=3","gravatar_id":"","url":"https://api.github.com/users/esampson","html_url":"https://github.com/esampson","followers_url":"https://api.github.com/users/esampson/followers","following_url":"https://api.github.com/users/esampson/following{/other_user}","gists_url":"https://api.github.com/users/esampson/gists{/gist_id}","starred_url":"https://api.github.com/users/esampson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/esampson/subscriptions","organizations_url":"https://api.github.com/users/esampson/orgs","repos_url":"https://api.github.com/users/esampson/repos","events_url":"https://api.github.com/users/esampson/events{/privacy}","received_events_url":"https://api.github.com/users/esampson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":50,"created_at":"2015-11-03T06:17:02Z","updated_at":"2015-12-05T11:04:56Z","closed_at":null,"body":"I'm starting some experiments with upgrading the ancient map routines. Just as a proof of concept I modified the mountains.\r\n![ancient_map_seed_2](https://cloud.githubusercontent.com/assets/8743461/10902226/7e1d8d78-81af-11e5-804e-3ad1c398376c.png)\r\n\r\nWhat I'm doing is basically just a replacement of the draw_mountain routine. Instead of the existing routine I am calling a new routine called '_stamp' that is fed a bitmap. The current setup is extremely rudimentary. I have 4 different PNG files that are loaded and I randomly feed one of them to the stamp routine.\r\n\r\nSo we could probably replace all of the individual _draw_(something) routines with the _stamp routine when an object is being draw, which would probably be good. I've also got an idea for handling areas that are textures such as ice and steppes so we could replace those remaining routines with this second routine.\r\n\r\nOne of the questions I have is whether we want to have the final system load bitmap files or whether we want to embed the data in the program itself using techniques such as PIL's image.fromstring() function. Loading individual PNG bitmaps would certainly be easier, program-wise, but it would also probably result in a lot of files being added as well.\r\n"},"comment":{"url":"https://api.github.com/repos/Mindwerks/worldengine/issues/comments/162172805","html_url":"https://github.com/Mindwerks/worldengine/issues/177#issuecomment-162172805","issue_url":"https://api.github.com/repos/Mindwerks/worldengine/issues/177","id":162172805,"user":{"login":"ftomassetti","id":439078,"avatar_url":"https://avatars.githubusercontent.com/u/439078?v=3","gravatar_id":"","url":"https://api.github.com/users/ftomassetti","html_url":"https://github.com/ftomassetti","followers_url":"https://api.github.com/users/ftomassetti/followers","following_url":"https://api.github.com/users/ftomassetti/following{/other_user}","gists_url":"https://api.github.com/users/ftomassetti/gists{/gist_id}","starred_url":"https://api.github.com/users/ftomassetti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ftomassetti/subscriptions","organizations_url":"https://api.github.com/users/ftomassetti/orgs","repos_url":"https://api.github.com/users/ftomassetti/repos","events_url":"https://api.github.com/users/ftomassetti/events{/privacy}","received_events_url":"https://api.github.com/users/ftomassetti/received_events","type":"User","site_admin":false},"created_at":"2015-12-05T11:04:56Z","updated_at":"2015-12-05T11:04:56Z","body":"I am really, really, really looking forward to use this :)"}}